mexTcpBinding in WCF - IMetadataExchange errors

前端 未结 1 615
Happy的楠姐
Happy的楠姐 2021-01-12 03:10

I\'m wanting to get a WCF-over-TCP service working. I was having some problems with modifying my own project, so I thought I\'d start with the \"base\" WCF template included

1条回答
  •  情话喂你
    2021-01-12 03:52

    Well, if you want to have metadata - TCP or HTTP - you still need to include the serviceMetadata behavior!

    
        
            
                
                
            
        
    
    

    Sure, you can't have a "HttpGetEnabled" on it - but the behavior itself must be present in order to enable exchange of metadata (and thus the IMetadataExchange contract).

    0 讨论(0)
提交回复
热议问题