Apress Access

Pro WCF 4

Practical Microsoft SOA Implementation

2nd Edition

By Nishith Pathak

  • eBook Price: $34.99
Buy eBook Buy Print Book
Pro WCF 4 is a complete guide to Windows Communication Foundation from the service-oriented architecture perspective, and shows you why WCF is important to web service development and architecture.

Full Description

  • Add to Wishlist
  • ISBN13: 978-1-4302-3368-8
  • 472 Pages
  • User Level: Intermediate to Advanced
  • Publication Date: March 22, 2011
  • Available eBook Formats: EPUB, MOBI, PDF

Related Titles

  • Windows 10 for the Internet of Things
  • DevOps on the Microsoft Stack
  • Practical Microsoft Visual Studio 2015
  • Develop Microsoft HoloLens Apps Now
Full Description

Pro WCF 4.0: Practical Microsoft SOA Implementation is a complete guide to Windows Communication Foundation from the service-oriented architecture (SOA) perspective, showing you why WCF is important to service-oriented architecture and development. This book provides deep insight into the functionality of WCF, which shipped with .NET 4.0-like service discovery, routing service, simplified configuration, and other advanced features. Included in this title are informative examples that will aid the reader in understanding and implementing these important additions. This book also covers the unified programming model, reliable messaging, security, and the peer-to-peer programming model. You'll also learn how to move your current .NET remoting and web service applications to WCF, and how to integrate those applications with WCF 4. This book offers genuine insight into solving real enterprise problems using WCF and .NET 4.0.

What you’ll learn

  • Features of WCF new to .NET 4.0
  • A comprehensive WCF programming model
  • How queue management and reliable messaging work in WCF
  • Implementing transaction support in WCF
  • Making WCF services interoperable with other SOA offerings
  • Best practices in using WCF effectively
  • Developing WCF applications with Visual Studio 2010

Who this book is for

The release of .NET 4.0 brought a wide range of new functionality to WCF. Developers and architects with experience using WCF 3.5 or earlier who want to apply this new functionality to their application will benefit greatly from the discussions and code samples in this book. This book is also a great resource for application developers and architects new to service-oriented architecture or the core concepts of WCF.

Table of Contents

Table of Contents

  1. Introducing WCF and SOA Basics
  2. What's New in WCF 4
  3. Exploring the WCF Programming Model
  4. Installing and Creating WCF Services
  5. Hosting and Consuming WCF Services
  6. Managing WCF Services
  7. Implementing WCF Security
  8. Implementing Reliable Messaging and Queue-Based Communications
  9. Using Transactions in WCF
  10. Integrating with COM+
  11. Working with Data
  12. Developing Peer-to-Peer Applications with WCF
  13. Implementing SOA Interoperability
  14. Appendix: QuickReturns Ltd
Source Code/Downloads

Downloads are available to accompany this book.

Your operating system can likely extract zipped downloads automatically, but you may require software such as WinZip for PC, or StuffIt on a Mac.


If you think that you've found an error in this book, please let us know by emailing to editorial@apress.com . You will find any confirmed erratum below, so you can check if your concern has already been addressed.

On page multiple:
In chapter 2 of this book (eBook) there are numerous code listing snippets. Most are missing the code. Such as Listing 2-4, 2-5, 2-6, 2-7, 2-8 and many more. How do I get an update with the listings I already paid for?

On page 33:
On section Code in .NET 3.x

basicHttpBinding binding = new

should be change to

BasicHttpBinding binding = new

On page 33:
In section, code for .NET 4.0

ServiceHost host = new

should be changed to

ServiceHost host = new

We need to add a close ")" at the end of the line.

On page 33:
Missing right parenthesis in Table 2-2 Code in .NET 4:

.... = new ServiceHost(typeof(TradeService));

On page 33:

in both code samples (.NET 3.5 and 4.0) the ServiceHost instantiation should be called with the address as second parameter, since the example shows the instantiation based on imperative calls.

ServiceHost host = new

should be changed to

ServiceHost host = new
ServiceHost(serviceType, address);

ServiceHost host = new

should be changed to

ServiceHost host = new
ServiceHost(typeof(TradeService), address);

for clarity reasons,

Type serviceType = typeof(TradeService);
ServiceHost host = new
ServiceHost(serviceType, address);

would be even better.

On page 47:
<routing>does not contain a subelement <routingTables>, is it <filterTables>?

On page 405 :
paragraph 3 the sentence

DIME on the other hand is more efficient and faster than DIME.

Should the second DIME be Base 64 encoding?


    1. Pro HTML5 with Visual Studio 2015


      View Book

    2. Pro C# 5.0 and the .NET 4.5 Framework


      View Book

    3. Predictive Analytics with Microsoft Azure Machine Learning 2nd Edition


      View Book

    4. Pro ASP.NET MVC 5


      View Book