Top 13 ASP.NET Interview Questions with Answers

Q1. What is the difference between authentication and authorization? Authentication is verifying the identity of a user and authorization is process where we check does this identity have access rights to the system. Authorization is the process of allowing an authenticated user access to resources. Authentication always proceed to Authorization; even if your application lets anonymous […]

Top 10 Advance ASP.NET Interview Questions with Answers

Top 10 Advance ASP.NET Interview Questions with Answers 1. ASP used STA threading model, what is the threading model used for ASP.NET ? ASP.NET uses MTA threading model. 2. What is the use of <%@ page aspcompat=true %> attribute? This attribute works like a compatibility option. As mentioned before ASP worked in STA model and ASP.NET works […]


Chapter 3: Threading What is multi-tasking? It is a feature of modern operating systems with which we can run multiple programs at same time   What is multi-threading? Multi-threading forms subset of multi-tasking. Instead of having to switch between programs this feature switches between different parts of the same program. Example you are writing in […]

.NET Interoperability

Chapter 2: NET Interoperability How can we use COM Components in .NET? .NET components communicate with COM using RCW (Runtime Callable Wrapper). Following are the ways with which you can generate RCW : Adding reference in Visual Wrapper class is generated and placed in the “BIN” directory. Using Type library import tool. Tlbimp.exe yourname.dll. Using […]

Basic .NET Framework

Chapter 1: Basic .NET Framework 1. What is an IL? A. MSIL stands for Microsoft Intermediate Language in short MSIL or IL(Intermediate Language). When you compile a program the CLR will compile the code into MSIL code. Which will then be included in the assembly[exe/dll]. When you run the program in client place. The clr […]