Moving on to the domain related interview questions, SayTooLoud presents to you, .NET related basic interview questions. These are the commonly asked ones. If you get these right, there is a high probability that you would crack the technical round of the interview.
1. What do you mean by .NET?
.NET is an essential piece of numerous applications running on Windows and offers common functionality to those applications for execution. This download is for individuals who require .NET to run an application on their PC. For coders and developers, the .NET Framework offers a detailed and consistent programming model for developing applications that have visually rich customer experiences and consistent and secure communication.
2. What do you understand by the term object pooling?
Object pooling is the concept of pool storage (group) of objects in memory which can be reused later as required. At whatever point, a new object is needed to create, an object from the pool can be allocated for such a request; in this way, limiting the object creation. A pool can likewise allude to a group of connections and threads. Pooling, in this manner, helps in reducing the utilization of system resources, enhances system scalability, and the overall performance.
3. Explain the difference between int and int32?
int and int32 has no difference. System.Int32 happens to be a .NET Class and the alias name for System.Int32 is int.
4. What do you mean by AutoPostBack?
On the off chance that you need a control to postback automatically at the time an event is raised, you have to set the AutoPostBack property of the control as True.
5. State the basic difference between ASP and ASP.NET?
The basic point of distinction between ASP and ASP.NET is that ASP is interpreted; while, ASP.NET is compiled. This concludes as ASP makes use of VBScript; consequently, when an ASP page is run, it is interpreted. Then again, ASP.NET utilizes .NET languages, e.g. C# and VB.NET, which are compiled to Microsoft Intermediate Language (MSIL).
6. State the name of the parent class of the Web server control?
The parent class for all Web server controls is System.Web.Ul.Control.
7. Which are the ASP.NET objects that encapsulate the state of the client and the browser?
The Session object encapsulates the state of the client and the browser.
Revise the above questions and answers during your interview preparation sessions. Here’s wishing you all the best for your interview.