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#.
Publisher resources
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
Error Correction Coding, 2nd Edition
Providing in-depth treatment of error correction Error Correction Coding: Mathematical Methods and Algorithms, 2nd Edition provides …
video
Java SE 17 Developer (1Z0-829)
21+ Hours of Video Instruction An intensive and guided video course to learn and practice while …
book
GSEC GIAC Security Essentials Certification All-in-One Exam Guide, Second Edition, 2nd Edition
Publisher's Note: Products purchased from Third Party sellers are not guaranteed by the publisher for quality, …
book
Essential Algorithms: A Practical Approach to Computer Algorithms
A friendly and accessible introduction to the most useful algorithms Computer algorithms are the basic recipes …