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 server components?
Explain serialization and deserialization?
Explain the Session state management options available with ASP.NET?
Explain Life cycle of ASP.NET page when a request is made.
What is session handling in a webfarm, how it can work with its limits?
What is a global postback url?
What is web api config?
What is the difference between web.config and machine.config in ASP.NET?
What are the HTML server controls in ASP.NET?
Can any body provide me the sample web application in asp.net
Explain Apache web servers ? How can you get ASP.NET running in Apache web servers - why should you do this?
What is x xss protection?
What is server infrastructure?
What do you mean by authorization?
Is asp.net different from asp? If yes, explain how?