All Tags > iis 7 > Http Modules (RSS)
  • Custom module not being invoked.

    I wrote a custom module that hooks into the Application_Error event of ASP.NET to write a user friendly error message instead of the YSOD. This works great on my development machine running on the built-in visual studio web server. When I move it over to IIS 7, my module is not even being invoked. I...
    Posted to Forum by awilinsk on 08-25-2009, 1:45 PM
  • Make IIS7 run custom authorization code before allowing download

    Hello, I'm working on a asp.net system that has a custom download page, this page checks if the user is authorized to download the requested file, and if yes, it opens the file and starts sending chunks to the client. It was running on IIS6 and the server was updated to Windows 2008/IIS7 and I don't...
    Posted to Forum by brunopiovan on 04-30-2009, 8:47 AM
  • IIS7 HTTP Module not firing

    I have developed a HTTP Module which I have installed on IIS7 at SERVER level from the UI. I want this module to work across all sites on the server. As far as I am aware when you install a module at server level an entry is made into applicationhost.config only (the individual web.configs are not altered...
    Posted to Forum by Jamin74 on 02-16-2009, 4:24 AM
  • IIS7 caching and DisableKernelCache question

    My module checks for a session token before serving the resource. Now what I see is for static pages , they are served regardless of the checks I m doing. I see that the module is not invoked if the page is cached. So I used DisableKernelCache( ) and it seems to work that way I want. But the cache is...
    Posted to Forum by rtongbram on 02-05-2009, 6:04 PM
  • Where to save the WCF services' configuration

    Hello, I'm chinese. Although I speak English badly, I want to ask a question. I'd like to write a HTTP handler class, for example MyHttpHandler that implements the IHttpHandler interface, the class references some WCF services. I copy the assembly that include the MyHttpHandler class into the...
    Posted to Forum by noblespirit on 06-28-2008, 12:04 AM
  • Security Exception for a managed module

    Hey, I have written a simple Http Module that would write certain IIS log entries into the event log. Very simple entries like Host address, Ip address and stuff like that. Added the module in IIS 7(rest all the settings are default) and when I run the website page it gives me a Security exception that...
    Posted to Forum by ma_khan on 05-15-2008, 11:53 AM
Page 1 of 1 (6 items)
Microsoft Communities