|
Learning WCF
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.
Forewords
Preface
1. Hello Indigo
Service Oriented Architecture
WCF Services
Fundamental WCF Concepts
Creating a New Service from Scratch
Generating a Service and Client Proxy
Hosting a Service in IIS
Exposing Multiple Service Endpoints
Summary
2. Contracts
Messaging Protocols
Service Description
WCF Contracts and Serialization
Service Contracts
Data Contracts
Message Contracts
Approaches to Serialization
The Message Type
Summary
3. Bindings
How Bindings Work
Web Service Bindings
Connection-Oriented Bindings
One-Way and Duplex Communication
Large Message Transfers
Custom Bindings
Summary
4. Hosting
Hosting Features
ServiceHost
Self-Hosting
Hosting on the UI Thread
Hosting in a Windows Service
Hosting in IIS 6.0
IIS 7.0 and Windows Activation Service
Choosing the Right Hosting Environment
Summary
5. Instancing and Concurrency
OperationContext
Instancing
Concurrency
Instance Throttling
Load Balancing and Failover
Summary
6. Reliability
Reliable Sessions
Transactions
Queued Calls
Summary
7. Security
WCF Security Overview
Securing Intranet Services
Securing Internet Services
Working with Certificates
Building a Claims-Based Security Model
Exploring Federated Security
Summary
8. Exceptions and Faults
SOAP Faults
WCF Exception Handling
Exceptions and Debugging
Fault Contracts
IErrorHandler
Summary
A. Setup Instructions
B. ASP.NET Meets CardSpace
Index
|