Call us: +91-9962812914  |  +91-9962812876 |

Dot Net Interview Question and Answers

Dot Net framework is the most powerful development platform for building a variety of solutions on Windows. For example using the .NET framework you can create applications for Windows Desktop, Web applications,Windows Phone applications, Windows Store applications,Windows Server,Windows Azure.

1.What is an IL?

Intermediate Language is also known as MSIL(Microsoft Intermediate Language) or CIL(Common Intermediate Language). All .Net source code is compiled to IL. IL is then converted to machine code at the point where the software is installed, or at run-time by a Just-In-Time(JIT) compiler.

2.What is code security access(CAS)?

Code Security Access(CAS) is part of the .Net security model that prevents unauthorized access of resources and operations and restricts the code to perform particular tasks.

3.What are tuples?

Tuples is a fixed-size collection that can have elements of either same or different data types. Similar to arrays, a user must have to specify the size of a tuple at a time of declaration. Tuples are allowed to hold up from 1 to 8 elements and if there are more than 8 elements,than the 8th element can be defined as another tuple.Tuples can be specified as parameter or return type of a method.

4.Explain the differences between value type and reference type.

Value type contain variable while reference type doesn’t contain value directly in its memory.
In reference type,memory is allocated in managed heap and in value type memory allocated in stack.
Reference type ex-class value type-struct,enumeration.

5.What are the advantages of using session?

A session stores user states and data to over all the application.
It is very easy to implement and we can store any kind of object.
It can store every user data separately.
Session is secure and transparent from user because session object is stored on the server.

6.What is MVC?

MVC is a framework used to create web applications. The web application base builds on Model-View-Controller pattern which separates the application logic from UI,and the input and events from the user will be controlled by the controller.

7.What is boxing and unboxing?

Boxing is assigning a value type to reference type variable.
Unboxing is the reverse of boxing i.e. Assigning reference type variable to value type variable.

8.Differentiate globalization and internalization?

The globalization is a technique to identify the specific part of a Web application that is different for different languages and make separate that portion from the core of the Web application.

The localization is a procedure of configuring a web application to be a supported for a specific language or locale.

9.What are cookies?

A cookie is a small amount of data created by server on the client.When a web server creates a cookie, an additional HTTP header is sent to the browser when a page is served to the browser.

10.What is metadata?

Metadata means data about the data i.e.,machine readable information about a resource. Such information might include details on content,format,size or other characteristics of a data source. In .Net,metadata includes type definitions, version information,external assembly references and other standardized information.

Leave a comment

Your email address will not be published. Required fields are marked *