what are Httpmodule and HttpHandler?
Answer Posted / rituparno
An ASP.NET HTTP handler is the process (frequently referred
to as the "endpoint") that runs in response to a request
made to an ASP.NET Web application. The most common handler
is an ASP.NET page handler that processes .aspx files. When
users request an .aspx file, the request is processed by
the page through the page handler. You can create your own
HTTP handlers that render custom output to the browser.
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 ASP.NET request pipeline and have
access to life-cycle events throughout the request. HTTP
modules let you examine incoming and outgoing requests and
take action based on the request.
An HTTP handler can be either synchronous or asynchronous.
A synchronous handler does not return until it finishes
processing the HTTP request for which it is called. An
asynchronous handler runs a process independently of
sending a response to the user. Asynchronous handlers are
useful when you must start an application process that
might be lengthy and the user does not have to wait until
it finishes before receiving a response from the server.
Is This Answer Correct ? | 33 Yes | 3 No |
Post New Answer View All Answers
What is autopostback in dropdownlist in asp net?
What is the concepts of globalization and localization in .net?
Explain the difference between dataset and datareader.
What is special types forms
How to integrate angular 8 with asp.net mvc 5? : Asp.Net MVC
How can you enable impersonation in the web.config file?
What are the authentication types in asp.net?
What are the features that make asp.net more used framework? : asp.net mvc
Define view state.
What does the hotspot class in .net do?
How to prevent client side validation from the ASP.NET validation controls?
What is IPostBack? How to use it?
Explain the difference between authentication and authorization.
Why asp.net is used?
Mention the namespace that is used to include .net data provider for sql server in .net code?