0%

Book Description

“Whether this is the first time or the fifty-first time you’re using WCF, you’ll learn something new by reading this book.”

 --Nicholas Allen, Program Manager, Web Services, Microsoft

Windows Communication Foundation (WCF) is the easiest way to produce and consume Web services on the Microsoft platform. With .NET 3.5, WCF has been extensively revamped--and Visual Studio 2008 gives developers powerful new tools for utilizing it. Essential Windows Communication Foundation shows developers exactly how to make the most of WCF with .NET 3.5 and Visual Studio 2008.

Drawing on extensive experience working with early adopters, three Microsoft insiders systematically address the topics developers ask about WCF. The authors approach each subject with practical advice and present best practices, tips, and tricks for solving problems. Throughout, you’ll find detailed explanations, solutions for the “pain points” of WCF development, and an extensive collection of reusable code examples. Coverage includes

  • Using WCF contracts to define complex structures and interfaces

  • Understanding WCF’s channel stacks and channel model architecture

  • Configuring the WCF communication stack to use only the protocols you need

  • Using standard and custom service behaviors to manage concurrency, instances, transactions, and more

  • Serializing data from .NET types to XML Infosets and representing Infosets “on the wire”

  • Hosting WCF services via IIS, managed .NET applications, and Windows Activation Services

  • WCF security, in depth: authentication; transport and message-level security; and Internet and intranet scenarios

  • Improving reliability: exception handling, diagnostics, and more

  • Workflow services: new integration points between WCF 3.5 and Windows Workflow Foundation

  • Building client-to-client, peer network-based applications

  • Utilizing WCF for non-SOAP Web services: AJAX and JSON examples and .NET 3.5 hosting classes

  • Microsoft’s Steve Resnick, Richard Crane, and Chris Bowen are technology experts at the Microsoft Technology Center in Boston. They specialize in helping customers improve their technical agility by applying WCF and related technologies. Resnick has specialized in Internet technologies and distributed computing at Microsoft since 1995. He is a frequent speaker at Microsoft events and is now technology director for the U.S. Microsoft Technology Centers. Crane has more than 15 years of experience in senior software development roles. He specializes in large-scale Web sites, distributed computing, transactional systems, and performance analysis. Bowen has been an architect and developer for more than 15 years at companies such as Monster.com and Staples and is co-author of Professional Visual Studio 2005 Team System.

    Foreword xxv

    Preface xxvii

    Chapter 1: Basics 1

    Chapter 2: Contracts 33

    Chapter 3: Channels 91

    Chapter 4: Bindings 111

    Chapter 5: Behaviors 181

    Chapter 6: Serialization and Encoding 241

    Chapter 7: Hosting 287

    Chapter 8: Security 315

    Chapter 9: Diagnostics 375

    Chapter 10: Exception Handling 403

    Chapter 11: Workflow Services 423

    Chapter 12: Peer Networking 459

    Chapter 13: Programmable Web 503

    Appendix: Advanced Topics 537

    Index 553

    Table of Contents

    1. Title Page
    2. Copyright Page
    3. Dedication
    4. Praise for Essential Windows Communication Foundation
    5. Microsoft .NET Development Series
    6. Contents
    7. Figures
    8. Tables
    9. Foreword
    10. Preface
    11. Acknowledgments
    12. About the Authors
    13. 1. Basics
    14. 2. Contracts
    15. 3. Channels
    16. 4. Bindings
    17. 5. Behaviors
    18. 6. Serialization and Encoding
    19. 7. Hosting
    20. 8. Security
    21. 9. Diagnostics
    22. 10. Exception Handling
    23. 11. Workflow Services
    24. 12. Peer Networking
    25. 13. Programmable Web
    26. Appendix. Advanced Topics
    27. Index
    18.220.55.43