what is the exact purpose of http handlers and interfaces?
Answer Posted / ravikrishna
ASP.NET maps HTTP requests to HttpHandlers. Each HttpHandler enables processing of individual HTTP URLs or groups of URL extensions within an application. HttpHandlers have the same functionality as ISAPI extensions with a much simpler programming model
Ex
1.Default HttpHandler for all ASP.NET pages ->ASP.NET Page Handler (*.aspx)
2.Default HttpHandler for all ASP.NET service pages->ASP.NET Service Handler (*.asmx)
An HttpHandler can be either synchronous or asynchronous. A synchronous handler does not return until it finishes processing the HTTP request for which it is called. An asynchronous handler usually launches a process that can be lengthy, and returns before that process finishes
After writing and compiling the code to implement an HttpHandler, you must register the handler using your application's Web.config file.
| Is This Answer Correct ? | 2 Yes | 3 No |
Post New Answer View All Answers
Why do we use datasource in asp.net?
Error : The operation couldn’t be performed because ole db provider sqlncli10 for linked server was unable to begin a distributed transaction.00000110 oledb provider for linked server returned message the partner transaction manager has disabled its support for remote/network transactions. I can able to execute the stored procedure in sql server but when i run the web page getting error like above. I did all the configuration. what is the solution?
Explain diff. Between friend and protected friend?
What is server side routing?
Explain about secure socket layer?
How do you secure your connection string information?
What are the different kinds of assemblies?
What is a query string in a url?
Fetch one page value to another page without using state-managment ?
What’s the difference between response .redirect and server.transfer?
Why will you usually create an aspnet user account in the database for an asp.net web application?
What is session mode in asp.net?
What are the ways to show data grid inside a data grid for a master details type of tables? If we write any code for DataGrid methods, what is the access specifier used for that methods in the code behind file and why?
What is asp.net version?
What are the server controls in asp.net?