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 is uncle aunty file

1 Answers  


difference between gridview,data list and repeater control

7 Answers   ABC, Olive Tech,


What is the difference between GridView and Repeater controls in ASP.NET?

0 Answers  


How to transpose rows into columns and columns into rows in a multi-dimensional array ?

1 Answers   Microsoft,


Explain page output caching?

0 Answers  






Usage of web.config?

2 Answers   Microsoft,


What is asp.net web pages?

0 Answers  


Explain Page life cycle

8 Answers   DELL,


what is state management in ASP.NET

2 Answers   MCN Solutions,


How do u optimize a query in asp.net?

0 Answers   MCN Solutions,


What is the difference between a Debug and Release build? Is there a significant speed difference? Why or why not?

4 Answers  


What are validator? Name the validation controls in asp.net? How do you disable them? Will the asp.net validators run in server side or client side? How do you do client-side validation in .net? How to disable validator control by client side javascript?

0 Answers  


Categories