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

What language does asp.net use?

0 Answers  


If you want a certain ASP.NET function executed on MouseOver for a certain button. Where do you add an event handler?

1 Answers  


Why we go for mvc instead of asp.net? : Asp.Net MVC

0 Answers  


What is the equivalent of date() and time() in asp.net?

0 Answers  


What is query string?

0 Answers  


how we can solve machine key error in asp.net?

3 Answers  


What is the difference between Codebehind="MyCode.aspx.cs" andSrc="MyCode.aspx.cs"?

1 Answers   Innvectra,


Define reflection in .net?

0 Answers  


What is the Global ASA(X) File?

2 Answers  


Differentiate between a page theme and a global theme?

0 Answers  


Which methods validate all the controls on a page?

0 Answers  


Explain server control extensibility with reference to asp.net 2.0 ?

0 Answers  


Categories