Mapping specific folder to HttpHandler in web.config

前端 未结 3 2132
攒了一身酷
攒了一身酷 2021-01-05 04:04

Is it possible to map all file extensions in a folder to a specific HttpHandler (assuming that their file extensions are mapped to aspnet_isapi.dll in IIS) ?

I\'ve g

3条回答
  •  刺人心
    刺人心 (楼主)
    2021-01-05 04:35

    Here is a diffrent way that doesn't require a "dummy" folder and and a new web.config.

    Add this to your main web.config

    
      
        
          
        
          
    
    

提交回复
热议问题