Book description
Dive deep into the operation of Windows Communication Foundation with this practical, hands-on book—and learn the intricacies of Windows Communication Foundation and service-oriented concepts and implementations. Fundamentally, services are not objects. Given the prevalence of the object-oriented paradigm over the past 20 years, experienced developers need to explore a new way of thinking about architecting solutions. Concise and practical, this guide explains the fundamentals of applications built with a service-oriented architecture and how the international standards for Web services are implemented in Windows Communication Foundation. Each chapter includes at least two practical code samples in Visual C#.
Table of contents
- Inside Microsoft Windows® Communication Foundation
- Dedication
- A Note Regarding Supplemental Files
- Acknowledgments
- Introduction
-
I. Introduction to WCF
- 1. The Moon Is Blue
- 2. Service Orientation
- 3. Message Exchange Patterns, Topologies, and Choreographies
-
4. WCF 101
-
WCF Quick Start
- Defining the Service Contract
- Defining the Address and the Binding
- Creating an Endpoint and Starting to Listen
- Mapping Received Messages to a HelloWCF Member
- Compiling, Running, and Verifying the Receiver
- Sending a Message to the Receiver
- Compiling, Running, and Verifying the Sender
- Looking at the Message
- A Slight Change with a Major Impact
- Exposing Metadata
- Consuming Metadata
- WCF Gross Anatomy from the Outside
- WCF Gross Anatomy from the Inside
- Summary
-
WCF Quick Start
-
II. WCF in the Channel Layer
-
5. Messages
- Introduction to the Message Type
- The WCF XML Stack
- Back to the Message
- Creating a Message
- Buffered vs. Streamed Messages
- Serializing a Message
- Deserializing a Message
- Message State
- Working with Headers
- Copying Messages
- Message Cleanup
- Summary
-
6. Channels
- Channels in Perspective
-
The Channel State Machine
- The ICommunicationObject Interface
- The CommunicationObject Type
- CommunicationObject-Derived Types
-
The Open and BeginOpen Methods
- CommunicationObject: Check Whether State Transition to Open Is Permissible
- CommunicationObject: If So, Transition State to Opening
- MyCommunicationObject: OnOpening Virtual Method Invoked
- CommunicationObject: Opening Event Raised, Delegates Invoked
- MyCommunicationObject: OnOpen Virtual Method Invoked
- MyCommunicationObject: OnOpened Virtual Method Invoked
- CommunicationObject: State Transitions to Opened
- CommunicationObject: Opened Event Raised, Delegates Invoked
- The Close and Abort Methods
- The Fault Method
- About CommunicationObject Stacks
- Introduction to Channel Shape
- Channel Interfaces and Base Types
- Channel Flavors
- Creating a Custom Channel
- Summary
- 7. Channel Managers
-
5. Messages
-
III. WCF in the ServiceModel Layer
- 8. Bindings
-
9. Contracts
- Contracts Defined
- WCF Contract Gross Anatomy
- From Contract Definition to Contract Object
- Summary
- 10. Dispatchers and Clients
- Index
- About the Author
- Copyright
Product information
- Title: Inside Windows® Communication Foundation
- Author(s):
- Release date: May 2007
- Publisher(s): Microsoft Press
- ISBN: 9780735623064
You might also like
book
Windows® Communication Foundation 4 Step by Step
Your hands-on, step-by-step guide to building connected, service-oriented applications. Teach yourself the essentials of Windows Communication …
book
Microsoft® Windows® Communication Foundation Step by Step
Teach yourself the essentials of Windows Communication Foundation—one step at a time. With this practical tutorial, …
book
Windows Communication Foundation Unleashed
A new edition of this title is available, ISBN-10: 0672330245 ISBN-13: 9780672330247 Windows Communication Foundation (WCF) …
book
Special Edition Using SOAP
This book will introduce the reader to SOAP and serve as a comprehensive reference to both …