《Introducing_WCF_in_NET_Framework_4》.pdf
文本预览下载声明
Introducing Windows Communication
Foundation
David Chappell, Chappell Associates
January 2010
© Copyright Microsoft Corporation 2010.All rights reserved.
Contents
DESCRIBING WINDOWS COMMUNICATION FOUNDATION 3
ILLUSTRATING THE PROBLEM:A SCENARIO 3
ADDRESSING THE PROBLEM:WHAT WCF PROVIDES 5
Unification of Microsoft’s Distributed Computing Technologies 6
Interoperability with Applications Built on Other Technologies 8
Interoperability with Other Web Services Platforms 8
Interoperability with Microsoft‟s Pre-WCF Technologies 11
Explicit Support for Service-Oriented Development 11
USING WINDOWS COMMUNICATION FOUNDATION 12
CREATING A WCF SERVICE 12
Implementing a Service Class 12
Defining Service Contracts 13
Defining Data Contracts 16
Selecting a Host 17
Hosting a Service Using IIS or WAS 17
Hosting a Service in an Arbitrary Process 17
Defining Endpoints 18
Specifying Endpoints 20
Using Endpoints: An Example22
CREATING A WCF CLIENT 23
OTHER ASPECTS OF WCF 24
Messaging Options 24
Controlling Local Behavior 25
Security 26
Transactions 27
Transactions in the .NET Framework: System.Transactions27
Transactions in WCF 28
RESTful Communication 29
Communication using POX, RSS, and ATOM 31
Queuing 32
Creating a Workflow Service 32
Extensibility 33
TOOL SUPPORT:WCF AND VISUAL STUDIO 33
COEXISTENCE AND UPGRADE 34
CONCLUSION37
ABOUT THE AUTHOR 37
2
Describing Windows Communication Foundation
The move to service-oriented communication has changed software development. Whether
done with SOAP or in some other
显示全部