Answer Posted / sanjay
The main purpose of HttpHandler is to serve all asp.net web request. For e.g. Creating web Page object -> creating server control object -> loading server control object -> rendering HTML content.
We can create our own custom HttpHandler by just inheriting IHttpHandler and using method ProcessRequest(){} and is Reusable.
we can define our own page extention e.g. simple.text
and using custom HttpHandler we can call this on url.
http://localhost/simple.text
but we have to register this custom HttpHandler in web.config
| Is This Answer Correct ? | 3 Yes | 4 No |
Post New Answer View All Answers
How does session work?
what is AutoEventWireUp and what is the use of This property explain in details?
What is the difference between c# and .net?
What do you understand by aggregate dependency?
Where the assembly is stored in asp.net?
How long does an http session last?
What is the difference between mechine.config and web.config?
Why is asp.net so popular?
What is the purpose of master page?
Is asp.net still used?
How does asp page work?
What is asp.net web application?
What is the flow of processing of the request? : asp.net mvc
How do you create a master page?
Explain what are delegates?