What is an iHTTPModule, and explain its implementation with
its limitations?



What is an iHTTPModule, and explain its implementation with its limitations?..

Answer / firozgkp

have created a HttpModule to do some preprocessing for a
web
application. This preprocessing is to be done before each
page of the
application is loaded. I have created a separate project
compiled it and
added a reference to it in the web application. The code is
working fine.
Now i need to deploy this ihhtpModule in the GAC. I have
added the
following lines of code in the web.config file of the web
application
<httpModules>
<add name="Authenticate" type="myModules.AuthModule,
Authenticate" />
</httpModules>
where Authenticate is my dll name, myModules is the
namespace and AuthModule
is the class name. This works fine when i use a local copy
of the httpModule
but throws an error when i deploy the same in the GAC.
I ahve added these lines in the web.config file to refer to
the GAC.
<assemblies>
<add assembly="Authenticate, version=1.0.0.0,
Culture=neutral,
PublicKeyToken=d1a87f2cb11b878f" />
</assemblies>
Anybody with any idea as to how i can resolve this issue
please help.

Thanks

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More ASP.NET Interview Questions

Explain the difference between an exe and a dll?

0 Answers  


How to Convert a String into Float without using any built- in library of .NET String = "1235.45" needs to converted to a float

2 Answers   CA, Microsoft,


What is HTTP MODULE & HTTP HANDLERS in ASP.NET? How a developer can utilize in the application? Please provide example.

1 Answers   IBM,


what do you mean software devlopment ?

9 Answers   HCL,


What is the difference between a candidate key and primary key?

0 Answers  






What are ASP.NET Web Forms? How is this technology different than what is available though ASP?

1 Answers   BirlaSoft,


What is Http handler?

5 Answers   Accenture,


What is custom tag in Web.Config?

0 Answers   Accenture,


What is the difference between client-side and server-side validations in webpages?

0 Answers  


asp.net page is a object or not?

5 Answers  


When is the ViewState available during the page processing cycle ?

6 Answers   Siebel,


What is a web based system?

0 Answers  


Categories