Pro WCF 4

Practical Microsoft SOA Implementation

2nd Edition

By Nishith Pathak

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

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

Related Titles

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.

Errata

Please Login to submit errata.

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
basicHttpBinding();

should be change to

BasicHttpBinding binding = new
BasicHttpBinding();


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

ServiceHost host = new
ServiceHost(typeof(TradeService);

should be changed to

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

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.

3.5:
ServiceHost host = new
ServiceHost(serviceType);

should be changed to

ServiceHost host = new
ServiceHost(serviceType, address);


4.0:
ServiceHost host = new
ServiceHost(typeof(TradeService);

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?