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 does the .webpart file do?

0 Answers  


Asp pages that worked pefectly on windows 2000 server and iis 5.0 do not work on windows 2003 server with iis 6.0. Asp.net pages work fine. Why?

0 Answers  


I have to send data throug querystring from one page to another. But it should not be displayed in URL. How it is possible?

6 Answers   EMR, Wipro,


How can we communicate with each server in N-tier Architecture? and what are the methods?

0 Answers   Wipro,


True or False: To test a Web service you must create a windows application or Web application to consume this service?

1 Answers  






How long does an http session last?

0 Answers  


How should I destroy my objects in asp.net?

0 Answers  


How can u sort strings in array where strings are passed to method as arguments.

3 Answers   CTS, Syncfusion,


How do you use css in asp.net?

8 Answers   iBridge,


What does asp stand for in asp.net?

0 Answers  


I have a component with 3 parameter and deployed to client side now i changed my dll method which takes 4 parameter.How can i deploy this without affecting the clent?s code ?

1 Answers   Microsoft, Satyam, Wipro,


Explain culture and uiculture values.

0 Answers  


Categories