Skip to Content
Essential Windows Communication Foundation: For .NET Framework 3.5
book

Essential Windows Communication Foundation: For .NET Framework 3.5

by Steve Resnick, Richard Crane, Chris Bowen
February 2008
Intermediate to advanced
608 pages
12h 59m
English
Addison-Wesley Professional

Overview

“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

    Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
    and much more.

    Read now

    Unlock full access

    More than 5,000 organizations count on O’Reilly

    AirBnbBlueOriginElectronic ArtsHomeDepotNasdaqRakutenTata Consultancy Services

    QuotationMarkO’Reilly covers everything we've got, with content to help us build a world-class technology community, upgrade the capabilities and competencies of our teams, and improve overall team performance as well as their engagement.
    Julian F.
    Head of Cybersecurity
    QuotationMarkI wanted to learn C and C++, but it didn't click for me until I picked up an O'Reilly book. When I went on the O’Reilly platform, I was astonished to find all the books there, plus live events and sandboxes so you could play around with the technology.
    Addison B.
    Field Engineer
    QuotationMarkI’ve been on the O’Reilly platform for more than eight years. I use a couple of learning platforms, but I'm on O'Reilly more than anybody else. When you're there, you start learning. I'm never disappointed.
    Amir M.
    Data Platform Tech Lead
    QuotationMarkI'm always learning. So when I got on to O'Reilly, I was like a kid in a candy store. There are playlists. There are answers. There's on-demand training. It's worth its weight in gold, in terms of what it allows me to do.
    Mark W.
    Embedded Software Engineer

    You might also like

    Windows Communication Foundation Unleashed

    Windows Communication Foundation Unleashed

    Craig McMurtry, Marc Mercuri, Nigel Watling, Matt Winkler
    Professional C# 5.0 and .NET 4.5.1

    Professional C# 5.0 and .NET 4.5.1

    Christian Nagel, Jay Glynn, Morgan Skinner

    Publisher Resources

    ISBN: 9780321440068Purchase book