Interview Questions

Where would you use an iHTTPModule, and what are the limitations of anyapproach you might take in implementing one?

ASP.NET and .NET WEB Questions and Answers


(Continued from previous question...)

Where would you use an iHTTPModule, and what are the limitations of anyapproach you might take in implementing one?

One of ASP.NET’s most useful features is the extensibility of the HTTP pipeline, the path that data takes between client and server. You can use them to extend your ASP.NET applications by adding pre- and post-processing to each HTTP request coming into your application. For example, if you wanted custom authentication facilities for your application, the best technique would be to intercept the request when it comes in and process the request in a custom HTTP module.

(Continued on next question...)

Other Interview Questions