Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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

Explain why it is useful to use mvc instead of webforms? : asp.net mvc

985


How to implement globalization and localization in the use interface in .net.

938


What is State Management in .Net and how many ways are there to maintain a state in .Net? What is view state?

994


Explain the concept of MVC Scaffolding?

960


Explain how do you validate the controls in an asp .net page?

862


Which authentication uses a combination of windows and iis authentication?

1022


What are Master Pages in ASP.NET? or What is a Master Page?

1049


Why is an object pool required?

973


Differentiate between client-side and server-side validations in web pages.

968


What is the difference between Classic ASP and ASP.Net?

1035


What is round trip in asp.net?

883


Which tool you have done?

1859


What is a server cookie?

949


Which method is used to enforce garbage collection in .net?

828


What does ascx stand for?

889