Dot Net Interview questions for 3+ years of experience - Part-6

Previous questions1)What is the default mapping logic used by ASP.NET MVC ?Ans)The default mapping logic used by ASP.NET MVC is as follows :-/[Controller]/[ActionName]/[Parameters]For example,controller = "Home", action = "Index", id = UrlParameter----------------------------------------------------------------------2)What is difference between Web site and Web application ?Ans)Both function and perform similarly, but still differ in following ways.Web application:a) We can't include c# and vb page in single web application.b) We can set up dependencies [...]

Asp.Net Multiple Choice Interview Questions -1

1)Which is the default method that will be called on a controller if one is not explicitly specified in Asp.Net MVC ?Ans)Select from following answers:HomeIndexWelcomeA method named Index is the default method that will be called on a controller if one is not explicitly specified.Example :-http://localhost:7413/HelloWorldIn [...]

Multiple Choice Questions-1

1)In traditional web service, can Hash table (IDictionary interface) can be serialized or de-serialized ?Ans)Select from following answers:YesNoDon't KnowNo.Traditional web service uses XmlSerializer class to serialize or de-serialize objects into/from xml.Classes that implement the IDictionary interface, [...]

Sql Server Interview questions part-1

1)Difference between Primary Key and unique key ?Ans)Primary Key Restrict duplicate values and null values each table can have only one primary key,default clustered index is the primary key.unique key restrict duplicate values and allow only one null value. default non clustered index is an unique key------------------------------------2)What is the clause that specifies a condition for a group or an aggregate?Ans)Select from following answers:A. DistinctB. Where clauseC. ExistsD. Having ClauseHaving ClauseThis is how we can create a condition [...]

Dot Net Interview questions for 3+ years of experience - Part-5

Previous QuestionsNext questionsQ1)What is DLL Hell?Ans)DLL Hell: DLL Hell refers to the set of problems while sharing multiple applications under a single common component like Dynamic Link Library(DLL) or a Component Object Model(COM) class.Simply, it is the problem which occurs while registering the DLL components with a common name.DOT Net has removed this problem by introducing the concept of versioning.Versioning: Versioning is a process where, every shared application creates its own version number.For Example, Let us assume that the version [...]

If you define additional methods in the WCF service that are not in the service contract, will it be visible to client applications ?

Select from following answers:YesNoCan't sayOnly methods which are defined in the service contract will be visible to the client applications. Show Correct Ans [...]

Which file specifies the name and location of the class that implements the WCF service ?

Select from following answers: IService.cs fileweb.config fileService.svcfileThe Service.svc file specifies the name and location of the class that implements the WCF service. Visual Studio generates that file when you first create the WCF service. View Correct Answer [...]

JQuery Interview Questions Part -1

1)What is the use of Delegate() Method in jQuery?Ans)The delegate() method can be used in two ways.1) If you have a parent element, and you want to attach an event to each one of its child elements, this delegate() method is used.Ex:Un-ordered ListInstead of attaching an event to each element, you can attach a single event to element.Example:$("ul").delegate("li", "click", function(){$(this).hide();});2) When an element is not available on the current page, this method is used..live() method is also used for the same purpose but, delegate() method [...]

Other Questions

1)What are different People Management Styles?Ans)The different styles are:Directing Coaching Supporting Delegating Directive: The leader provides specific instructions and closely supervises task accomplishment. Structure, Control, SuperviseCoaching: Direct and closely supervise; also explain decisions, solicit suggestions, and support progressSupporting: Facilitate and support efforts towards task accomplishment. Also share responsibility for decision making with subordinates.Praise, Listen, FacilitateDelegating: Turn over responsibility for [...]

.NET Framework Interview questions

Q1)What are the debugging windows available?Ans)The windows which are available while debugging are known as debugging windows.These are: Breakpoints, Output, Watch, Autos, Local, Immediate, Call Stacks, Threads, Modules, Processes, Memory, Disassembly and Registers.-------------------------------------------Q2)How do we step through code?Ans)Stepping through the code is a way of debugging the code in which one line is executed at a time.There are three commands for stepping through code:Step Into: This debugging mode is usually time-consuming. [...]

Webservice ,Remoting,XSLT Interview Questions

Q1)Define XMLReader Class and XMLValidatingReader class?Ans)The XMLReader Class (Assembly: System.Xml.dll) represents a reader that provides fast, non-cached, forward-only access to XML data.The XMLValidatingReader class (Assembly: System.Xml.dll) represents a reader that provides:a) Document type definition (DTD),b) XML-Data Reduced (XDR) schema, andc) XML Schema definition language (XSD) validation---------------------------------------------Q2)Are Web services only written in .NET ?Answer:No.....A web service is based on SOAP (Simple Object [...]

WCF Interview Questions Part_3

Previous Questions7) What is a service contract, operation contract and Data Contract?Ans) ServiceContract : Describes which operation client can perform on the servicesIndicates that an interface or a class defines a service contract in a application operation contract:Indicates that a method defines [...]

Testing Questions

Q1)What is Error, Bug and Defect?Ans)Error --> Which comes at the time of development.Bug --> Which comes at the time of testing. (Pre-Release)Defect --> Which comes in Production. (Post-Release)-----------------------------Q2)What is STLC? Explain about the steps of STLC?Ans)STLC stands for Software Test Life Cycle .1.Test Planning Prepare the test plan document, and test cases.2.Test Development Preparing requirements documents, UseCase documents, Traceability documents.3.Test Execution Executing all Test cases and filling actual results [...]

Dot Net Interview questions for 3+ years of experience - Part-4

Previous questionsNext questions1) In Singleton Design Pattern, synchronization is essential ?Ans) In Singleton Design Pattern , synchronization is essential only for the first time when the instance is to be created. When the instance is created then it becomes an overhead for each request.public class Singleton{private static Singleton uniqueinstance;private Singleton(){}public static Singleton getinstance(){ if(uniqueinstance == null) { uniqueinstance = new Singleton(); } return uniqueinstance;}}In the above code, when for the first time getinstance [...]

ADO.Net Questions

Q1)What is DataViewManager?Ans)DataViewManager is used to manage view settings of the tables in a DataSet. A DataViewManager is best suited for views that consist of a combination of multiple tables. The properties like ApplyDefaultSort, Sort, RowFilter, and RowStateFilter are referenced using DataViewSetting.---------------------------------Q2)What is the role of data provider?Ans)The .NET data provider layer resides between the application and the database. Its task is to take care of all their interactions.The .NET Data provider can be demonstrated [...]

OOPS Concept Interview Questions

Q1)When inheriting from a base class, whether the derived class inherits the destructor and constructor from the base class?Ans)No, On inheriting from a base class the derived class inherits the only the members - including the code except the destructor and constructor of the base class.-------------------------------------------------------------------Q2)What is Multi-Threading?Ans)Threading:A thread is nothing more than a process.The process sets up sequential steps, each step executing a line of code.MultiThreading:A multithreaded application [...]

Dot Net Interview questions for 3+ years of experience - Part-5

Previous questionsNext QuestionsQ1)Difference between Session object and Profile object in ASP.NET?Ans)Profile-------1.Profile object is persistent.2.Profile object uses the provider model to store information.3. Profile object is strongly typed.4. Mostly used for anonymous users.Session --------1.Session object is non-persistant.2.Session object uses the In Proc, Out Of Process or SQL Server Mode to store information.3. Session object is not strongly typed.4. Used for authenticated users.--------------------------------------------Q2)What are [...]

IIS level Questinos , Application server

Q1) What is scavenging ?Ans)When server running your ASP.NET application runs low on memory resources, itemsare removed from cache depending on cache item priority. Cache item priority is set when you add item to cache. By setting the cache item priority controls the items scavenging are removed first.-------------------------------------------Q2)How can we take back-ups in IIS Server?Ans)Step 1 : In the IIS (inetmgr), right click on the "Computer" icon under "Internet Information Services" . Click "All Tasks" and select "Backup/Restore Configuration".Step [...]

Sql Server Experience Questions

Q1)How to respond to a Full Transaction Log Error in SQL Server ?Ans)Normally the Transaction Log full Err occurred with 9002 Error code.1. Backing up and Truncating the log.2. Freeing the transaction physical disk space so that the log can automatically grow.3. Moving the log file to a different disk drive with sufficient space.4. Increasing the size of a log file(Initial and Growth).5. Completing or killing a long-running transaction.---------------------------------------------------Q2)What is "Double Hop" in SQL Server ?Ans)One computer connects [...]

Interview Questions for freshers part -3

Previous QuestionsQ1)What are User Controls and Custom controls?Ans)Custom controls are control build entirely in code. The pro is that you can put them in libraries, add an icon to the toolbox and other fine control.User controls are more easy to do, and in general is a way to encapsulate things to simplify other pages or when you need to use the same markup in several pages.--------------------------------------------------------------Q2)web.config file main two advantages are :-(1) web.config file cannot be viewed directly in a browser(2) If [...]

Interview Questions for freshers part -2

Previous QuestionsNext QuestionsQ1)difference between array and stackAns)There are two main differences between an array and a stack. Firstly, an array can be multi-dimensional, while a stack is strictly one-dimensional. Secondly, an array allows direct access to any of its elements, whereas with a stack, only the 'top' element is directly accessible; to access other elements of a stack, you must go through them in order, until you get to the one you want------------------------------------------Q2)Suppose you have a DataTable having 100,000 rows [...]

Exception handling Questions

Q1)How to use Exception Handling?Ans)What is Exception?An Exception is an unexpected error or problem.What is Exception Handling?It is a method to handle the error and solution to recover from it which makes the program to work smoothly.What is try Block?The try block consists of the code that might generate an error.This try block must be associated with one or more catch blocks or by finally block.The try block may not have a catch block associated with it every time but in this case,it must have a finally block associated with it instead of [...]

For Final Year Students of Computers

Q1) Tell in brief, the difference between Development and Production Environment ?Ans)Development Environment – It is the place where we develop our application/product. Here all the coders or programmers develops the application/product by writing code.Production Environment – When the application/product is ready for release to the end-users. When that application/product executes or run in the target machine li [...]

Interview Questions for freshers

Next Questions1)What is CDN and how jQuery is related to it?Ans)CDN - It stands for Content Distribution Network or Content Delivery Network.Generally, a group of systems at various places connected to transfer data files between them to increase its bandwidth while accessing data. The typical architecture is designed in such a way that a client access a file copy from its nearest client rather than accessing it from a centralized server.So we can load this jQuery file from that CDN so that the efficiency of all the clients working under that network [...]

Interview Question part 3

Q 1)Can I deploy the application without deploying the source code on the server?Ans)yes, After Project Completion we will Publish the Code after published we will give the code deploy the application on the server. ************************************************************************* Q 2)Describe the role of inetinfo.exe, aspnet_isapi.dll andaspnet_wp.exe in the page loading process.Ans) inetinfo.exe is theMicrosoft IIS server running, handling ASP.NET requests among other things.When an ASP.NET request is received (usually [...]

Dot Net Interview questions for 3+ years of experience - Part-3

Previous QuestionsNext Questions1)What is Marshaling?Ans)The process of establishing a Remote Proxy Server object which resides at the client side and act as if it was the server.Which in turn handles the communication between the real server object and client object. This process of monitoring is said to be Marshaling.--------------------------------------------------2)What is Smart Navigation ?Ans)When ever there is a request from a web browser which is IE 5.0 or greater Smart Navigation enhances the user feel of the page.These are the different [...]