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 a session in programming?

658


What is asp.net caching?

677


Which is an advantage of application service providers?

563


What is caching? What are different ways of caching in asp.net?

767


Explain Session state management options in ASP.NET.

722






What symbol would you use to denote, the start of a code block in aspx views?

641


What is the meaning of TestApi?

724


Can you explain composite pattern?

686


What is the syntax for datagrid and specifying columns?

2173


What is the difference between runtime version and version?

615


Why is global asax is used for?

603


How do you change the session time-out value?

666


How to use ipostback?

670


From which base class all web forms are inherited?

599


What do you mean by authentication?

620