HttpHandler to hook the *.svc requests

前端 未结 2 796
情歌与酒
情歌与酒 2021-01-17 23:59

I\'m trying to create a custom ASP.NET HttpHandler to work with any requests to a WCF web services (*.svc) to return a simple predefined SOAP message.

However, after

2条回答
  •  滥情空心
    2021-01-18 00:16

    In your web.config you need to add the following so that IIS will forward the response through to your handler:

    
        
            
        
    
    

    More information on MSDN.

    Adding this as a proper answer.

提交回复
热议问题