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 [...]

Top 15 asp.net Interview questions with Answers

Top 15 asp.net Interview questions with Answers 1. Can we make sessions do not use cookies? We need to enable “cookieless” property in Web.config. 2. How can we force all the validation control to run? Call Page.Validate 3. How can we check if all the validation control are valid and proper? Using the Page.IsValid() property you can [...]

ASP.NET Questions With Answers

Best ASP.NET Questions With Answers for Interviews – Chapter 1: Basic .NET Framework Chapter 2: NET Interoperability Chapter 3: Threading Chapter 4: Remoting and Webservices Chapter 5: Caching Concepts Chapter 6: OOPS Chapter 7: ASP.NET Chapter 7: ASP.NET 1. What is the sequence in which ASP.NET events are processed ? Following is the sequence in which [...]

OOPS Questions With Answers

Chapter 6: OOPS What is Object Oriented Programming? It is a problem solving technique to develop software systems. It is a technique to think real world in terms of objects. Object maps the software model to real world concept. These objects have responsibilities and provide services to application or other objects. What is a Class [...]

Caching Concepts

Chapter 5: Caching Concepts  Q1. What is the difference between Cache object and Application object? The main difference between the Cache and Application objects is that the Cache object provides cache-specific features, such as dependencies and expiration policies.  Q2. How to get access to Cache object ? The Cache object is defined in the System.Web.Caching namespace. You [...]

Remoting and Webservices

Chapter 4: Remoting and Webservices What is an application domain? Previously “PROCESS” where used as security boundaries. One process has its own virtual memory and does not over lap the other process virtual memory; due to this one process can not crash the other process. So any problem or error in one process does not [...]

Threading

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 Studio.net. Wrapper class is generated and placed in the “BIN” directory. Using Type library import tool. Tlbimp.exe yourname.dll. Using [...]