How to setup up web.config for WCF IErrorhandler

后端 未结 2 1599
萌比男神i
萌比男神i 2021-02-08 00:36

Can\'t integrate IErrorHandler into my project with the correct web.config

I have a successfully working WCF that is being consumed by webclients in .net 4 but when tryi

2条回答
  •  一整个雨季
    2021-02-08 01:22

    
      
        
          
            
            
            
            
            
          
        
      
      
      
        
          
        
      
    
    

    And then apply your behavior to the service you want it to be applied to.

    Edit :

    sorry for the miss, but you actually need to remove any line-break and any additional white space in the type name in the extension definition (old WCF bug which force you to use the fully qualified name string in extension type declaration).

提交回复
热议问题