Dot Net Interview Questions – Set 21

Explain what LINQ is. LINQ is an acronym for Language Integrated Query, and was introduced with Visual Studio 2008. LINQ is a set of features that extends query capabilities to the .NET language syntax by adding sets of new standard query operators that allow data manipulation, regardless of the data source. Supported data sources are: … Read more

Dot Net Interview Questions – Set 20

What is the state management in ASP.NET? State management is a technique that is used to manage a state of an object on different request. It is very important to manage state in any web application. There are two types of state management systems in ASP.NET. Client side state management Server side state management What … Read more

Dot Net Interview Questions – Set 19

Explain role-based security. Role-based security is used to implement security measures based on the role assigned to the users in the organization. Then we can authorize users based on their roles in the organization. For example, windows have role-based access like user, administrators, and guests. What are EXE and DLL? EXE is an executable file … Read more

Dot Net Interview Questions – Set 18

Explain the difference between boxing and unboxing. Provide an example. Boxing is the process of converting a value type to the type object, and unboxing is extracting the value type from the object. While the boxing is implicit, unboxing is explicit. Example (written in C#): int i = 13; object myObject = i; // boxing … Read more

Dot Net Interview Questions – Set 17

How is it possible for .NET to support many languages? The .NET language code is compiled to Microsoft Intermediate Language (MSIL). The generated code is called managed code. This managed code is run in .NET environment. So after compilation the language is not a barrier and the code can call or use function of another … Read more

Dot Net Interview Questions – Set 16

What is the difference between a component and a control? A Component does not draw itself on the form and can be placed below the form area. A control draws itself on the form and can be placed inside the form area. Also, all controls are components, but not all components are controls. What is … Read more

Dot Net Interview Questions – Set 15

What is the difference between Server.Transfer and Response.Redirect? These are used to redirect a user from one web page to the other one. The Response.Redirect method requests a new URL and specifies the new URL. The Server.Transfer method terminates the execution of the current page and starts the execution of a new page. What are … Read more

Dot Net Interview Questions – Set 14

What is .NET? .NET is a framework for software development. It is just like other software development framework like (J2EE). It provides runtime capabilities and a rich set of pre-built functionality in the form of class library and API’s. This .NET framework is an environment to build, deploy and run web services and other applications. … Read more

Dot Net Interview Questions – Set 13

What is MVC? MVC is an architectural model for building the .Net applications. It stands for Model View Controller. It is easy to use and offers full control over the HTML. What is HTTPhandler? HttpHandler is a low level request and response API which is made to service incoming Http request. Every incoming Http request … Read more

Dot Net Interview Questions – Set 12

When break is used inside two nested for loops, control comes out of which loop, the inner or the outer for loop? (I.e. does it break from all the present loops?) It breaks from the inner loop only. What is Marshaling? Marshaling is the process of transforming types in the managed and unmanaged code. Which … Read more