Recently, the WCF Service layer has been added to the CRM project to facilitate external customer data query and call center data exchange. The main content is as follows:
1. When the client references or updates the WCF, it needs the configuration in the host to enable the Mex metadata. It needs to be closed after the actual release.
2. For. nettcpbinding, the efficiency is relatively fast, but it is not interactive.
3. It applies to transmission security when communication between WCF and non-WCF. The nettcpbinding instance is as follows:
<Bindings>
<Nettcpbinding>
<Binding name = "nettcpbindingconfigration">
<Security mode = "transport">
<Transport clientcredentialtype = "Windows" protectionlevel = "encryptandsign"/>
</Security>
</Binding>
</Nettcpbinding>
</Bindings>
4. Use nettcpbinding to verify the user name and password on the client
Client. clientcredentials. Windows. clientcredential. Username = "XXXX ";
Client. clientcredentials. Windows. clientcredential. Password = "XXXX ";
The host can use to create a Windows service or
Here we will share with you the binding security settings:
Http://www.cnblogs.com/frank_xl/tag/WCF%e5%88%86%e5%b8%83%e5%bc%8f%e5% AE %89%e5%85%a8%e5%bc%80%e5%8f%91%e5% AE %9e%e8%b7%b5/