摘要:Deciding whether to use the DataContractSerializer, NetDataContractSerializer, XmlSerializeror theDataContractJsonSerializer is often aneasy decision. TheDataContractSerializer should be the defaul...
阅读全文
摘要:WCF implements short-lived, ACID-style transactions in behaviors.Transactions can exist within a service or can flow across service boundaries.Transactions are implemented at the operation behavior le...
阅读全文
摘要:Here are some guiding principles for working channels and bindingswithin WCF: • The netTcpBinding binding is used for cross-machine communicationbetween .NET applications. • The ne...
阅读全文
摘要:WCF supports three distinct message-exchange patterns: one-way,duplex, and request-reply. To facilitate each of these patterns, WCF providesten different interfaces called channel shapes. The five sha...
阅读全文
摘要:WCF heavily leverages SOAP for contract definitions. Specifically, ituses WDSL for describing service endpoints and XSD for describing data.The service operations defined in WSDL are used to route inc...
阅读全文
摘要:For the client to communicate meaningful information to the service, itneeds to know the ABCs: the address, the binding, and the contract. Services can be hosted in any operating system process, from...
阅读全文