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 kind of data can be stored in viewstate?
Explain what is event bubbling?
Define xmlreader class.
Which is faster union or union all?
What parameters can you pass in the url of the api?
What is route in web api?
What are the best practices to follow to secure connection strings in an ASP.NET web application?
How can you identify that the page is post back?
What is difference between Server.Transfer and Response.Redirect in ASP.NET?
Explain the difference between sql invalidation and sql notification.
What is the mvc framework?
how to implement some securty aspect in our application i.e 1.cookie poisioning. 2.data encryption. 3.forcefull browsing 4.sql/code injection 5.securing web app by using web services ........my question is how to implement these thing in our application is this done by hard coding or by help of some tool
How long should a session id be?
Differentiate between client-side and server-side validations in web pages.
Is it possible to apply themes to an asp.net application? If yes, then how?