Ray's playground

 

随笔分类 -  WCF

Hosting(Essential Windows Communication Foundation)
摘要:Hosting Choices 阅读全文

posted @ 2010-04-02 09:50 Ray Z 阅读(241) 评论(0) 推荐(0)

Serialization and Encoding(Essential Windows Communication Foundation)
摘要:Deciding whether to use the DataContractSerializer, NetDataContractSerializer, XmlSerializeror theDataContractJsonSerializer is often aneasy decision. TheDataContractSerializer should be the defaul... 阅读全文

posted @ 2010-04-01 16:47 Ray Z 阅读(287) 评论(0) 推荐(0)

Behaviors(Essential Windows Communication Foundation)
摘要: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... 阅读全文

posted @ 2010-04-01 14:10 Ray Z 阅读(208) 评论(0) 推荐(0)

Bindings(Essential Windows Communication Foundation)
摘要:Here are some guiding principles for working channels and bindingswithin WCF:  • The netTcpBinding binding is used for cross-machine communicationbetween .NET applications.  • The ne... 阅读全文

posted @ 2010-03-31 13:27 Ray Z 阅读(357) 评论(0) 推荐(0)

Channels(Essential Windows Communication Foundation)
摘要: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... 阅读全文

posted @ 2010-03-30 15:10 Ray Z 阅读(246) 评论(0) 推荐(0)

Contracts(Essential Windows Communication Foundation)
摘要: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... 阅读全文

posted @ 2010-03-30 13:18 Ray Z 阅读(249) 评论(0) 推荐(0)

Basics(Essential Windows Communication Foundation)
摘要: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... 阅读全文

posted @ 2010-03-29 16:51 Ray Z 阅读(243) 评论(0) 推荐(0)

导航