What is HTTPModule and HTTPcontext?
What is the use of each?
Answer / Ajit Kumar Singh
HTTPModule: It's an ASP.NET module that allows developers to hook into the HTTP pipeline to perform tasks like authentication, logging, or caching before or after the request is processed.nnHTTPContext: It represents the current HTTP request and response, including headers, cookies, and application-specific data.nnUse of HTTPModule:n1. Customize the HTTP pipeline by implementing custom modules to perform tasks based on specific conditions.n2. Simplify common programming tasks such as authentication or caching.nnUse of HTTPContext:n1. Access request and response data like headers, cookies, query strings.n2. Manipulate the current application state in the HTTP pipeline.
| Is This Answer Correct ? | 0 Yes | 0 No |
How do I upload a file from my ASP.NET page?
How do I debug an ASP.NET application that wasn't written with Visual Studio.NET and that doesn't use code-behind?
What is machine.config and web.config ?
How does the regular expression validator work? What are two situations when you might want to use one?
what r the Templeats in ASP.net?
Do you know about caching with the datasource controls?
what is difference between .net 3.0 and 3.5
Webconfig file is cofiguration of server or browser?
What is Difference between Callbacks and Postback in ASP.NET?
Is asp.net and .net same?
Tell me how asp.net mvc differs from asp.net web forms? : asp.net mvc
What are the various session state management options provided by asp.net?
Visual Basic (800)
C Sharp (3816)
ASP.NET (3180)
VB.NET (461)
COM+ (79)
ADO.NET (717)
IIS (369)
MTS (11)
Crystal Reports (81)
BizTalk (89)
Dot Net (2435)
Exchange Server (362)
SharePoint (720)
WCF (340)
MS Office Microsoft (6963)
LINQ Language-Integrated Query (317)
WPF (371)
TypeScript (144)
Microsoft Related AllOther (311)