HttpModule not running with Visual Studio

前端 未结 3 927
一整个雨季
一整个雨季 2020-12-30 00:36

I am using an HttpModule to do some URL shortening on my site. I am using Visual Studio 2008 and IIS 7, and .Net 3.5.

When the module is specified in the sys

3条回答
  •  悲&欢浪女
    2020-12-30 00:51

    If you are running on IIS 7, put the module in:

    
       
          
             
          
       
    
    

    If you are running on Cassini (Visual Studio's integrated miniature web-server), put the module in:

    
       
          
              
       
    
    

    IIS will crash if you give it the Cassini location.
    Cassini will crash if you give it the IIS location.

    Whenever i deploy, i have to be sure not to deploy web.config. i also include the notes in web.config:

    
       
       
          
          
          
       
    
    
    
       
          
          
       
    
    

    IIS's left hand doesn't know what Cassini's right hand is doing - and they both screwed it up.

提交回复
热议问题