![](https://csdnimg.cn/release/download_crawler_static/3782190/bg1.jpg)
![](https://csdnimg.cn/release/download_crawler_static/3782190/bg2.jpg)
Windows
®
Communication
Foundation 4 Step by Step
John Sharp
![](https://csdnimg.cn/release/download_crawler_static/3782190/bg3.jpg)
Published with the authorization of Microsoft Corporation by:
O’Reilly Media, Inc.
1005 Gravenstein Highway North
Sebastopol, California 95472
Copyright © 2010 CM Group Ltd.
Complying with all applicable copyright laws is the responsibility of the user. All rights reserved. Without limiting the
rights under copyright, no part of this document may be reproduced, stored in or introduced into a retrieval system, or
transmitted in any form or by any means (electronic, mechanical, photocopying, recording, or otherwise), or for any
purpose, without express written permission of O’Reilly Media, Inc.
Printed and bound in the United States of America.
1 2 3 4 5 6 7 8 9 M 5 4 3 2 1 0
Microsoft Press titles may be purchased for educational, business or sales promotional use. Online editions are also
available for most titles (http://my.safaribooksonline.com). For more information, contact our corporate/institutional
sales department: (800) 998-9938 or corporate@oreilly.com. Visit our website at microsoftpress.oreilly.com. Send
comments to mspinput@microsoft.com.
Microsoft, Microsoft Press, ActiveX, Excel, FrontPage, Internet Explorer, PowerPoint, SharePoint, Webdings, Windows,
and Windows 7 are either registered trademarks or trademarks of Microsoft Corporation in the United States and/or
other countries. Other product and company names mentioned herein may be the trademarks of their respective owners.
Unless otherwise noted, the example companies, organizations, products, domain names, e-mail addresses, logos,
people, places, and events depicted herein are ctitious, and no association with any real company, organization, prod-
uct, domain name, e-mail address, logo, person, place, or event is intended or should be inferred.
This book expresses the author’s views and opinions. The information contained in this book is provided without any
express, statutory, or implied warranties. Neither the author, O’Reilly Media, Inc., Microsoft Corporation, nor their
respective resellers or distributors, will be held liable for any damages caused or alleged to be caused either directly
or indirectly by such information.
Acquisitions and Development Editor: Russell Jones
Production Editor: Kristen Borg
Production Services: Octal Publishing, Inc.
Technical Reviewer: Ashish Ghoda and Kenn Scribner
Indexing: Potomac Indexing, LLC
Cover: Karen Montgomery
Illustrator: Robert Romano
978-0-735-64556-1
Do w nl oa d f ro m W ow ! e Bo ok <w ww . wo we bo o k. co m >
![](https://csdnimg.cn/release/download_crawler_static/3782190/bg4.jpg)
iii
Contents at a Glance
Chapter 1
Introducing Windows Communication Foundation . . . . . . . . . . . . . . . . 1
Chapter 2
Hosting a WCF Service . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 45
Chapter 3
Making Applications and Services Robust . . . . . . . . . . . . . . . . . . . . . . . 93
Chapter 4
Protecting an Enterprise WCF Service . . . . . . . . . . . . . . . . . . . . . . . . . . 121
Chapter 5
Protecting a WCF Service over the Internet. . . . . . . . . . . . . . . . . . . . . 165
Chapter 6
Maintaining Service Contracts and Data Contracts . . . . . . . . . . . . . . 203
Chapter 7
Maintaining State and Sequencing Operations. . . . . . . . . . . . . . . . . . 243
Chapter 8
Implementing Services by Using Workflows . . . . . . . . . . . . . . . . . . . . 295
Chapter 9
Supporting Transactions. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 351
Chapter 10
Implementing Reliable Sessions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 379
Chapter 11
Programmatically Controlling the Configuration and
Communications . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 399
Chapter 12
Implementing One-Way and Asynchronous Operations. . . . . . . . . . 433
![](https://csdnimg.cn/release/download_crawler_static/3782190/bg5.jpg)
iv Contents at a Glance
Chapter 13
Implementing a WCF Service for Good Performance . . . . . . . . . . . . 465
Chapter 14
Discovering Services and Routing Messages . . . . . . . . . . . . . . . . . . . . 491
Chapter 15
Building REST Services . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 547
Chapter 16
Using a Callback Contract to Publish and Subscribe to Events . . . . 599
Chapter 17
Managing Identity with Windows CardSpace . . . . . . . . . . . . . . . . . . . 625
Chapter 18
Integrating with ASP.NET Clients and Enterprise Service
Components . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 647
评论13
最新资源