Book description
This easy-to-use introduction to Microsoft Windows Communication Foundation (WCF) is ideal for developers who want to learn to build services on a company network or as part of an enterprise system. Built into Windows Vista and Longhorn, and available for Windows XP and Windows 2003, WCF provides a platform for service-oriented architecture (SOA) that enables secure and reliable communication among systems within an organization or across the Internet. With WCF, software developers can focus on their business applications and not the plumbing required to connect them. Furthermore, with WCF developers can learn a single programming API to achieve results previously provided by ASMX, Enterprise Services and .NET Remoting. Learning WCF removes the complexity of using this platform by providing detailed answers, explanations and code samples for the most common questions asked by software developers.
Windows Communication Foundation (or WCF, formerly code name "Indigo") provides a set of programming APIs that make it easy to build and consume secure, reliable, and transacted services. This platform removes the need for developers to learn different technologies such as ASMX, Enterprise Services and .NET Remoting, to distribute system functionality on a corporate network or over the Internet. The first truly service-oriented platform, WCF provides innovations that decouple service design and development from deployment and distribution - creating a more flexible and agile environment. WCF also encapsulates all of the latest web service standards for addressing, security, reliability and more.
Publisher resources
Table of contents
- Learning WCF
- Dedication
- A Note Regarding Supplemental Files
- Forewords
- Preface
-
1. Hello Indigo
- 1.1. Service Oriented Architecture
- 1.2. WCF Services
- 1.3. Fundamental WCF Concepts
- 1.4. Creating a New Service from Scratch
-
1.5. Generating a Service and Client Proxy
- 1.5.1. Lab: Using Tools to Generate Clients and Services
- 1.5.2. Service Templates
- Service Testing Tools
- 1.5.3. ServiceModel Metadata Utility
- 1.5.4. Service Configuration Editor
- 1.5.5. ServiceModel Configuration
- 1.5.6. ServiceHost Initialization
- 1.5.7. Enabling Metadata Exchange
- 1.5.8. Working with Behaviors
- 1.5.9. Proxy Initialization
- 1.6. Hosting a Service in IIS
- 1.7. Exposing Multiple Service Endpoints
- 1.8. Summary
-
2. Contracts
- 2.1. Messaging Protocols
- 2.2. Service Description
- 2.3. WCF Contracts and Serialization
- 2.4. Service Contracts
- 2.5. Data Contracts
- 2.6. Message Contracts
- 2.7. Approaches to Serialization
- 2.8. The Message Type
- 2.9. Summary
-
3. Bindings
- 3.1. How Bindings Work
- 3.2. Web Service Bindings
- 3.3. Connection-Oriented Bindings
- 3.4. One-Way and Duplex Communication
- 3.5. Large Message Transfers
- 3.6. Custom Bindings
- 3.7. Summary
-
4. Hosting
- 4.1. Hosting Features
- 4.2. ServiceHost
- 4.3. Self-Hosting
- 4.4. Hosting on the UI Thread
- 4.5. Hosting in a Windows Service
- 4.6. Hosting in IIS 6.0
- 4.7. IIS 7.0 and Windows Activation Service
- 4.8. Choosing the Right Hosting Environment
- 4.9. Summary
-
5. Instancing and Concurrency
- 5.1. OperationContext
- 5.2. Instancing
- 5.3. Concurrency
- 5.4. Instance Throttling
- 5.5. Load Balancing and Failover
- 5.6. Summary
-
6. Reliability
- 6.1. Reliable Sessions
-
6.2. Transactions
-
6.2.1. Transaction Management
- 6.2.1.1. Two-phase commit protocol
- 6.2.1.2. Durable versus volatile resource managers
- 6.2.1.3. TransactionScope
- 6.2.1.4. Lightweight Transaction Manager
- 6.2.1.5. Kernel Transaction Manager
- 6.2.1.6. Distributed Transaction Coordinator
- 6.2.1.7. WS-AtomicTransaction and WS-Coordination protocols
- 6.2.1.8. Enabling WS-AT
- 6.2.2. Transactions and System Tiers
- 6.2.3. Configuring WCF Transactions
- 6.2.4. Lab: Configuring WCF Transactions
-
6.2.1. Transaction Management
- 6.3. Queued Calls
- 6.4. Summary
-
7. Security
- 7.1. WCF Security Overview
- 7.2. Securing Intranet Services
-
7.3. Securing Internet Services
- 7.3.1. Lab: Authenticating and Authorizing UserName Credentials
- 7.3.2. BasicHttpBinding Security Features
- 7.3.3. WSHttpBinding Security Features
- 7.3.4. Negotiation
- 7.3.5. Secure Sessions
- 7.3.6. ASP.NET Authentication and Authorization
- 7.3.7. Custom Role-Based Security
- 7.3.8. UserName Client Credentials
- 7.4. Working with Certificates
- 7.5. Building a Claims-Based Security Model
- 7.6. Exploring Federated Security
- 7.7. Summary
-
8. Exceptions and Faults
- 8.1. SOAP Faults
- 8.2. WCF Exception Handling
- 8.3. Exceptions and Debugging
- 8.4. Fault Contracts
- 8.5. IErrorHandler
- 8.6. Summary
- A. Setup Instructions
- B. ASP.NET Meets CardSpace
- Index
- About the Author
- Colophon
- Copyright
Product information
- Title: Learning WCF
- Author(s):
- Release date: May 2007
- Publisher(s): O'Reilly Media, Inc.
- ISBN: 9780596554835
You might also like
book
AOP in .NET
AOP in .NET introduces aspect-oriented programming to .NET developers and provides practical guidance on how to …
book
Professional WCF 4: Windows Communication Foundation with .NET 4
A guide to architecting, designing, and building distributed applications with Windows Communication Foundation Windows Communication Foundation …
book
Pro WCF: Practical Microsoft SOA Implementation
Part of Microsoft's radical WinFX API is the Indigo foundation, more formally known as the Windows …
book
Pro WCF 4: Practical Microsoft SOA Implementation, Second Edition
Pro WCF 4.0: Practical Microsoft SOA Implementation is a complete guide to Windows Communication Foundation from …