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
What is ispostback method in asp.net?
How do I know asp.net mvc version? : Asp.Net MVC
How many types of validators are there in asp net?
What does occur first in ASP.Net, Authentication or Authorization?
What setting must be added in the configuration file to deny a particular user from accessing the secured resources?
What are the validation controls available in ASP.NET?
What is the use of HttpHandlers? When to use this?
Give 2 examples for scenarios when routing is not applied?
When you use Ajax controls in the ASP.NET application?
Define static constructor?
Differentiate between early binding and late binding.
Where sessions are stored in asp.net?
What is a viewstate?
Describe a bubbled event and how it is used ?
How to disable disable browser's Back button in asp.net (JavaScript)?