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

Answer Posted / 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       View All Answers


Please Help Members By Posting Answers For Below Questions

What is redirectpermanent in asp.net?

810


What are strong names?

786


Explain page output caching?

746


Explain the difference between singleton and single call?

749


Explain the use of resource manager class in .net.

716


What is the use of web.config file?

747


What is a url string?

804


In which event of page cycle is the viewstate available?

791


Which of the following .NET framework supports Web API?

851


What are the namespace classes used in asp.net mvc? : asp.net mvc

776


What is the difference between session and application?

714


What is the question mark in a url?

709


how to transfer the file from client to server using asp.net

813


What is page request in asp.net?

723


In a webservice, need to display 10 rows from a table. Which is the best choice among datareader or dataset?

878