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
Web API uses which library for JSON serialization?
Define session in asp.net.
Describe the difference between inline and code behind - which is best in a?
What is meant by web application?
Define satellite assemblies.
What is httpresponse?
How will you maintain versioning in asp.net 2.0?
How is my content secured from unauthorized access?
Define viewstate in .net?
If there are multiple update panels on the page say upd1 and upd2. There is a button placed in upd1. How can you stop upd2 to update when button placed in upd1 is clicked?
How do you create a master page?
What is an il?
What is the typical session identifier?
Explain model, view and controller represent in an mvc application? : asp.net mvc
What’s the difference between asp.net web forms and asp.net mvc?