Frequently Asking Interview Question and Answers
.Net is a famous framework and is generally used for developing the applications on windows. Here we have provided you with 52 .Net interview questions and answers. You can recall whatever you have learned in .NET through these questions. These questions will also help you to boost your confidence level.
Get Dot Net Training from Experts. Call us @ +91 86087 00340 for a free demo session!
.Net Interview Question and Answers
- What is .net?
- What is CTS?
- What is state management in Asp.net?
- What is caching?
- Explain CAS?
- What is globalization?
- What are the different validators in Asp .net?
- What is cross page posting?
- What is Boxing and Unboxing?
- Differentiate Strong typing and weak typing?
- What are the different types of Cookies?
- What is executescalar and executeNonquery?
- What is the advantage of using collections over arrays?
- What are the different ways a method can be overloaded?
- What do you meant by a namespace?
- Can you specify the access modifiers inside the for methods inside the interface?
- Define enumeration.
- How oops differ from procedures?
- What is MVC?
It is a microsoft framework to build various applications in windows.
It has a list of inbuilt functionalities in the form of class ,library and Apis which are used to build ,deploy and run web services and different applications.
It supports different languages such as C#,Vb.net,Python,cobol,perl etc…
Common Type System.It has set of rules which state how a datatype should be declared ,defined and used in the program.
It means maintaining the state of the objects. The object here refers to a web control/page. Two Types-client and server side
It is the process of storing the data in the temporary memory location to speed up the process. There are 3 types-page,Data and Frame Caching
Code Access Security-that prevents unauthorized access to information. Its present in CLR-common language runtime.
An exising project can be converted into support multiple languages to work with different cultures.
Localization means changing the already globalized app to cater to a specific language
- Required field
- Regular expression
When click on the submit button, the data is sent to the different page is called cross page posting.
Boxing-assigning a value to the object type, Where in the reverse process of sending the reference to datatype -Unboxing.
In strong typing-the datatypes of the variable are checked at compile time. Weak typing-the datatypes are checked at runtime.
Session cookies:-resides on the client machine for the session user does not log out. Persistant cookies-data is saved in user machine for around 10 days.
Execute scalar returns a value. Ececute non query will not return a value but it will affect number of rows.
The advantage of using collection over arrays are we can dynamically increase the size of the collection while in array its not possible.
Collections can store the different datatypes while in arrays its not.
3 ways -by changing the number of parameters,changing the order of parameters,using different datatypes of the parameters.
Namespace is consodered as a container that contains functionally related group of classes and other types.
All the methods inside the interface are always public by default, We cannot specify any other access modifier to them.
Enumeration is defined as value type that consists of set of named values.They otherwise called as constants.its passed with keyword enum keyword.
Procedures-depends on modular approach. Access modifiers are not used in procedural programming.
Model View Controller, Model-to develop base class. View-is to produce the controller views. Controller-is to connect model and views.
Active Server Pages-it is used to build web applications, web servers, web services
You would be aware that .NET is a wide topic. This blog focuses on some of the concepts of .Net. It will give you adequate information and a reasonable knowledge of the frequently asked questions in the interviews. Happy job search!