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
Differentiate the session object and application object?
What is the difference between asp.net mvc and asp.net webforms? : asp.net mvc
What are cookies in your browser?
How u refer webservices?
What is a server farm in iis?
By default, Web API sends HTTP response with which of the following status code for all uncaught exception?
Can you explain how ASP.NET application life cycle and page life cycle events fire?
What kind of data can be stored in viewstate?
Explain one critical mapping?
What is page fragment caching?
What is Difference between Production Serves and Development Servers? And Suppose, m adding/deleting C# file in a project based on the Specific Requirement. These Files are Automatically updated in Production Servers? So Which tool is needed to do This One?
What is the namespace to create thread in .net?
What is the difference between union and join?
What are client activated objects?
How do you secure your connection string information?