How to configure an Http Handler in IIS 7?

Here's the info I was looking for: If you want to register your custom HTTP handler at the IIS 7 Web server level, you must compile your HTTP handler into a strongly-named assembly and deploy it to the Global Assembly Cache (GAC) because IIS 7 only picks up assemblies deployed to the GAC. It does not pick up assemblies deployed anywhere else such as the bin directory of a particular Web site or Web application We're aiming to add this handler at web server level. After deploying the handler in GAC, open the web.

Config available at the web server level (right click and browse -> open the web. Config show here) and put something like this in the handler section (the fully qualified name of the class): handlers.

Here's the info I was looking for: If you want to register your custom HTTP handler at the IIS 7 Web server level, you must compile your HTTP handler into a strongly-named assembly and deploy it to the Global Assembly Cache (GAC) because IIS 7 only picks up assemblies deployed to the GAC. It does not pick up assemblies deployed anywhere else such as the bin directory of a particular Web site or Web application. We're aiming to add this handler at web server level.

After deploying the handler in GAC, open the web. Config available at the web server level (right click and browse -> open the web. Config show here) and put something like this in the handler section (the fully qualified name of the class): Note: The information snippets (1st para and code sample) are taken from the book: Professional IIS 7 and ASP.Net Integrated Programming by Dr. Shahram Khosravi Seems like a very nice book :).

This MSDN article How to: Configure an HTTP Handler Extension in IIS explains what you'll have to do. See the paragraph for the Integrated mode. The file-name extension for .

Zeip must be registered in both the httpHandlers element and the handlers element. You'll have to click Add Managed Handler in the Actions pane. Using IIS Manager in IIS 7.0 to add a custom handler extension is equivalent to registering the handler extension in the Web.

Config file.

This applies to IIS 6.0, to IIS 7.0 running in Classic mode, and to managed handlers in IIS 7.0 that are running in Integrated mode. To have IIS pass other file-name extensions to ASP.NET, you must register the extensions in IIS. For more information about how handlers participate in the application life cycle, see ASP.NET Application Life Cycle Overview for IIS 5.0 and 6.0 or ASP.NET Application Life Cycle Overview for IIS 7.0.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions