What is HTTPhandler?

HttpHandler is a low level request and response API which is made to service incoming Http request. Every incoming Http request recieved by ASP.NET is ultimately processed by a instance of a class that implements HttpHandler. In the context of .NET development, an HTTP handler, or IHttpHandler in .NET jargon, is an interface in the … Read more

Is it possible to change the index of primary key on table?

No. In the context of .NET interview questions, if you’re asked whether it’s possible to change the index of a primary key on a table, the correct answer would depend on the database management system (DBMS) being used. In most relational database management systems like Microsoft SQL Server, MySQL, or PostgreSQL, altering the index of … Read more

Explain the boxing and unboxing concept in .Net?

Boxing: Boxing is a process of converting value type into reference type. Unboxing: Unboxing is a process of converting reference type to value type. In .NET, boxing and unboxing are concepts related to the conversion between value types and reference types. Boxing: Boxing is the process of converting a value type to an object type … Read more

Can you set the session out time manually?

Yes. Session out time can be set manually in web.config. In a .NET interview, if you’re asked whether you can set the session timeout manually, the correct answer is yes, you can set the session timeout manually in ASP.NET. In ASP.NET, session timeout can be configured in the web.config file using the <sessionState> element. The … Read more

What are the disadvantages of using session?

The disadvantages of using session are: Performance overhead occurs in case of large number of users, because session data is stored in server memory. Overhead involved in serializing and De-Serializing session Data. Because In case of StateServer and SQLServer session mode we need to serialize the object before store. In a .NET interview, when asked … Read more