ASP.NET Interview questions


Total available count: 47
Subject - Microsoft Technologies
Subsubject - ASP.NET

Explain about HTTP Modules and HTTP Handlers in ASP.NET?

HTTP Handlers: An ASP.NET HTTP handler is the process that runs in response to a request that is made to an ASP.NET Web application. The most common handler is an ASP.NET page handler that processes .aspx files. Below are the different HTTP Handlers available in ASP.NET.

  1. ASP.NET page handler (*.aspx): The default HTTP handler for all ASP.NET pages.
  2. Web service handler (*.asmx): The default HTTP handler for Web service pages created as .asmx files in ASP.NET.
  3. Generic Web handler (*.ashx): The default HTTP handler for all Web handlers that do not have a UI and that include the @ WebHandler directive.
  4. Trace handler (trace.axd): A handler that displays current page trace information. For details, see How to: View ASP.NET Trace Information with the Trace Viewer.

 

HTTP Modules: An HTTP module is an assembly that is called on every request that is made to your application. HTTP modules are called as part of the request pipeline and have access to life-cycle events throughout the request.




Next 5 interview question(s)

1
What are ConnectionStrings in ASP.NET?
2
What is the use of global.aspx events in asp.net?
3
Types of authorization?
4
Types of authentication in ASP.NET?
5
What is authentication and authorization?