Industrial-Sized Deals TextBTS15 Shop Men's Hightops Learn more nav_sap_SWP_6M_fly_beacon Fidlar $5 Off Fire TV Stick Off to College Essentials Shop Popular Services TransparentGGWin TransparentGGWin TransparentGGWin  Amazon Echo Starting at $99 Kindle Voyage Nintendo Digital Games Gear Up for Football Deal of the Day
Essential Windows Communication Foundation (WCF) and over one million other books are available for Amazon Kindle. Learn more
Condition: Used: Very Good
Comment: Very good condition. Book and pages are crisp and clean. Free of highlighting and underlining. Front cover has some wrinkling from storage. Stored and shipped by Amazon.
Access codes and supplements are not guaranteed with used items.
  • List Price: $49.99
  • Save: $22.87 (46%)
FREE Shipping on orders over $35.
Only 13 left in stock (more on the way).
Ships from and sold by
Gift-wrap available.
Essential Windows Communi... has been added to your Cart
Have one to sell? Sell on Amazon
Flip to back Flip to front
Listen Playing... Paused   You're listening to a sample of the Audible audio edition.
Learn more
See all 2 images

Essential Windows Communication Foundation (WCF): For .NET Framework 3.5 Paperback – February 21, 2008

19 customer reviews
ISBN-13: 978-0321440068 ISBN-10: 9780321440068 Edition: 1st

Buy New
Price: $27.12
25 New from $15.99 46 Used from $0.40
Amazon Price New from Used from
"Please retry"
"Please retry"
$15.99 $0.40
Free Two-Day Shipping for College Students with Amazon Student Free%20Two-Day%20Shipping%20for%20College%20Students%20with%20Amazon%20Student

InterDesign Brand Store Awareness Rent Textbooks
$27.12 FREE Shipping on orders over $35. Only 13 left in stock (more on the way). Ships from and sold by Gift-wrap available.

Frequently Bought Together

Essential Windows Communication Foundation (WCF): For .NET Framework 3.5 + Learning WCF: A Hands-on Guide + Programming WCF Services: Mastering WCF and the Azure AppFabric Service Bus
Price for all three: $96.55

Buy the selected items together

Editorial Reviews

About the Author

Steve Resnick has worked at Microsoft since the mid-1990s, spanning architect, developer, and evangelist roles in the field. He specializes in Internet technologies, architecting and designing high-volume, high-value Web applications. Steve is the National Technology Director for the Microsoft Technology Centers in the United States, where he sets strategy and direction so that his team can solve the toughest customer challenges. He has worked with .NET since the beginning and is an expert in Web services, BizTalk, transaction processing, and related technologies. He holds a M.S. and B.S. in Computer Science from Boston University and University of Delaware, respectively.


Rich Crane is a Technical Architect at the Microsoft Technology Center in Waltham, Massachusetts. A software architect and engineer with more than 18 years of experience, Rich has spent the last six years helping customers architect and build solutions on the Microsoft platform. He has worked with numerous Microsoft products and technologies and is an expert in BizTalk, SQL Server, SharePoint, Compute Cluster Server, and of course Visual Studio and the .NET Framework. He has spoken at conferences and community events such as TechEd and Code Camp. He graduated Summa Cum Laude from Drexel University with a B.S. degree in Electrical and Computer Engineering.


Chris Bowen is Microsoft’s Developer Evangelist for the northeastern United States, specializing in development tools, platforms, and architectural best practices. Asoftware architect and engineer with 15 years of experience, Chris joined Microsoft after holding senior positions at companies such as, VistaPrint, Staples, and IDX Systems, and consulting on Web presence and e-commerce projects with others. He is coauthor of Professional Visual Studio 2005 Team System (2006, WROX) and holds an M.S. in Computer Science and a B.S. in Management Information Systems, both from Worcester Polytechnic Institute.


Excerpt. © Reprinted by permission. All rights reserved.

Essential WCF


Windows Communication Foundation (WCF) is the unified programming model for writing distributed applications on the Microsoft platform. It subsumes the prior technologies of ASMX, .NET Remoting, DCOM, and MSMQ and provides an extensible API to meet a wide variety of distributed computing requirements. Prior to WCF, you needed to master each of those technologies to select the right approach for a particular distributed application requirement. WCF simplifies this considerably by providing a unified approach.

XML Web Services is the most common technique for distributed computing in modern applications. They're used to expose technical and business functions on private or public networks. Sometimes they use the SOAP specification, sometimes they don't. They typically transmit information as text documents containing angle brackets, but not always. They generally use HTTP for the transport, but again, not always. WCF is a framework for working with XML Web Services and is compatible with most technology stacks.

Rich, Chris, and I have each developed code with .NET from the beginning (circa 1999). We work at Microsoft in the field, helping customers use WCF to solve real-world problems. Our customers range from large multinational corporations to ISVs to Web startups. Each has different challenges, needs, and priorities that we individually address. We show them what's possible, recommend what works well, and steer clear of what doesn't. We have experience building distributed applications and leverage that experience in teaching others about WCF.

Our goal for this book is to present WCF in a way that can immediately be put to use by software developers. We cover the material in enough detail that you know how and why to use different features. We go a bit further in most cases, describing some of the subtleties in the framework, but not so far as to document the API.

The Blogosphere is rich with WCF details. Much of it comes from the .NET product team and much of it comes from other developers learning it along the way. We made extensive use of Blogs as source material. This book brings order to that repository by organizing it in a way that can be easily consumed from your desk, sofa, or wherever you do your best reading.

Who Should Read This Book?

We wrote this book for software developers who want to build distributed applications on the .NET platform. As fellow developers, we know the importance of solid advice and clear examples on how to use new technology. We've trolled the Blogosphere, scoured internal Microsoft e-mail aliases, and wrote plenty of code to provide you with the best examples for doing the things you need to do.

Architects who need to understand WCF will also benefit from this book. The chapters covering basics, bindings, channels, behaviors, hosting, workflow, and security describe important aspects of designing and implementing services with WCF. Reading the two to three page introductions in each of these chapters may be the best way to get the 50,000-foot view of the technology.

Our goal in writing this book is to shorten your learning curve for WCF. We describe and demonstrate how to do the common tasks, addressing the basics as well as advanced topics. Throughout the book, we approach topics as a series of problems to be solved. Rather than documenting the API, we describe how to use WCF to accomplish your goals.

Prerequisites for this book are modest. If you're interested in WCF, you probably already have grounding in .NET. You're probably competent in C# or Visual Basic, or at least you were at one point. And, of course, you probably know your way around Visual Studio. So we're assuming that you're can write decent .NET code and are motivated to make the best use of your time in becoming proficient in WCF.

Installation Requirements

WCF is a key component of the Microsoft .NET Framework 3.x. WCF was first released with .NET 3.0 and has been enhanced in .NET 3.5. The delta between the two releases is modest: enhancements for non-SOAP Web services, integration between WCF and WF, and a healthy service pack. This book covers .NET 3.5. Unless there's a reason to use an older release, this is the clear recommendation.

.NET is packaged in two forms: the redistributable runtime libraries and the software development kit (SDK). The runtime libraries are meant for target machinesmdthose machines that are not for development. This includes testing, staging, and production environments. The SDK is meant for your development machines. The SDK contains code samples, documentation, and tools that are useful for development. Each of these .NET packages, the runtime and SDK versions, can be downloaded from Microsoft's MSDN site at The .NET 3.5 SDK also ships with Visual Studio 2008.

The Microsoft .NET Framework 3.5 can be installed on Windows XP SP2, Windows Vista, Windows Server 2003, and Windows Server 2008.


We don't expect you to read the book cover to cover. If you're new to WCF, you may want to read and try the samples in Chapter 1, "Basics," first. Following that, each subsequent chapter covers a major feature set of WCF. We include a few introductory pages in each chapter to describe the motivation and some design goals, and then we cover subtopics within the chapter.

Chapter 1, "Basics," is where we cover the basics of building and consuming WCF services. We discuss and demonstrate how to implement different types of interfaces and why you may choose each. By the end of this chapter, you'll be able to produce and consume services using the WCF.

Chapter 2, "Contracts," covers the three primary types of contacts in WCF: service contracts, data contracts and message contracts. Each of these enables you to define complex structures and interfaces in code. Data contracts map .NET types to XML, service contracts expose service interface endpoints in WSDL that can be consumed in a cross-platform manner, and message contracts enable developers to work directly on the XML in a message, rather than working with .NET types. For each of these contracts, WCF tools generate and export standards-based WSDL to the outside world.

Chapter 3, "Channels," covers channels and channel stacks. The channel model architecture is the foundation on which the WCF communication framework is built. The channel architecture allows for the sending and receiving of messages between clients and services. Channel stacks can be built to exactly match your needs.

Chapter 4, "Bindings," describes how to configure the communication stack to use exactly the protocols you need. For instance, if you're communicating within an enterprise and won't be crossing firewalls, and you need the fastest performance, a binding named netTcpBinding will give you best results. If you're looking to communicate with every last Web client out there, then HTTP and text encoded XML is necessary, so basicHttpBinding is the way to go. A binding is synonymous with a preconfigured channel stack.

Chapter 5, "Behaviors," covers service behaviors. In WCF, behaviors are the mechanism for affecting service operation outside of the actual message processing. Everything that is done after a message is received but before it is sent to the service operation code is the domain of behaviors. In WCF, this is where concurrency and instance management is handled, as well as transactional support. This chapter also demonstrates how to build custom behaviors for additional service control.

Chapter 6, "Serialization and Encoding," describes the process by which data is serialized from a .NET Type (class) to an XML Infoset and the way that XML Infoset is represented on the wire. We typically think of XML as a text document with angle brackets around field names and values, but the XML Infoset is a more basic data structure. This chapter discusses ways of converting that structure into a format that can be exchanged over a network.

Chapter 7, "Hosting," describes the various options in hosting a WCF service. The most common environment, IIS, is described, but it is by far not the only option. WCF services can be hosted in Managed .NET applications, Windows Activation Services, or any other .NET program. This chapter discusses the options and techniques for hosting.

Chapter 8, "Security," is a large chapter and covers the multitude of security options. Different authentication schemes are discussed and demonstrated. Transport and message level security are compared, with examples of each. Intranet and Internet scenarios are also described.

Chapter 9, "Diagnostics," describes how to use the built-in trace facilities in .NET to capture WCF events. Trace Listeners are described, along with examples that show how to configure the settings for different events. The Trace Viewer, a powerful tool that is shipped with WCF, is also described, which enables you to trace activities across service call boundaries.

Chapter 10, "Exception Handling," offers practical guidance on handling exceptions within WCF. Soap faults are described using fault contracts, and examples demonstrate how to throw and catch them to minimize errors.

Chapter 11, "Workflow Services," covers the integration points between WCF and Windows Workflow Foundation (WF) introduced in Visual Studio 2008 and .NET 3.5. We describe how to call WCF services from WF and how to expose WF workflows in WCF.

Chapter 12, "Peer Networking," shows how to build client-to-client applications that leverage a network mesh to enable clients to find each other. We cover mesh addressing and techniques for establishing point-to-point connections after the client addressing is resolved.

Chapter 13, "Programmable Web," covers how to use WCF for non-SOAP Web Services. Examples are shown with Asynchronous JavaScript and XML (AJAX) and JSON for simpler, JavaScript-friendly data formats. The hosting classes specific to non-SOAP protocols are described. Like WCF-WF integration, this is new with .NET 3.5.

Finally, the Appendix, "Advanced Topics," covers advanced topics that we didn't fit into other chapters. Rather than burying them somewhere they don't belong, we include them separately.

Because of the broad nature of the WCF subject, not all topics are covered in equal depth. This book's goal is to help developers be super productive when working with WCF. If we do our job, readers will use this book as they learn the technology. This book does not attempt to document WCFmdthat's what the good tech writers at Microsoft have done with the help files and MSDN. But a combination of that documentation and good guidance found in these pages should enable developers to quickly and productively build robust applications with WCF.


Best Books of the Month
Best Books of the Month
Want to know our Editors' picks for the best books of the month? Browse Best Books of the Month, featuring our favorite new books in more than a dozen categories.

Product Details

  • Paperback: 608 pages
  • Publisher: Addison-Wesley Professional; 1 edition (February 21, 2008)
  • Language: English
  • ISBN-10: 9780321440068
  • ISBN-13: 978-0321440068
  • ASIN: 0321440064
  • Product Dimensions: 7 x 1.1 x 9.2 inches
  • Shipping Weight: 1.8 pounds (View shipping rates and policies)
  • Average Customer Review: 4.4 out of 5 stars  See all reviews (19 customer reviews)
  • Amazon Best Sellers Rank: #845,316 in Books (See Top 100 in Books)

More About the Authors

Discover books, learn about writers, read author blogs, and more.

Customer Reviews

Most Helpful Customer Reviews

19 of 20 people found the following review helpful By William G. Ryan VINE VOICE on May 29, 2008
Format: Kindle Edition
I'm a big fan of the entire "Essential" series from Addison-Wesley and I expected a lot from this book. I could sum up my opinion on it by saying "It delivers".

My vantage point is a little different from most in that I was coauthor of a book on Winfx/Indigo and I teach WCF. The pool of books out there on WCF are all quite good when compared to other technologies. I think that's b/c in large part, enterprise technologies aren't usually used by beginners and there's been a general reluctance to embrace WCF from what I've seen. I suspect this is in large part b/c you have to relearn Remoting/WS/WSE/MSMQ/Enterprise Services. Once you dive into it though, you quickly realize that WCF is almost too good to be true.

This book does a few things very well. First off, it explains each of the concepts clearly. I find that the authors all write well and are very good at succinctly communicating whatever they are talking about without ever talking over your head. The level of detail is very good too. A few places they could have went deeper (for instance, I think MTOM should have gotten more than a brief descriptive few sentences) but on the whole, I think the covered topics in proportion with how much they are used in the marketplace. They use a good bit of both simple and more involved expamples so if this was your first WCF book, you'd be well served but if you've read several WCF books, you'd still be glad you bought the book. I've bought both the print version and the Kindle version (which I love) and don't believe I've come across any errors. As such, I'd have to say the editing is very good, although that's not surprising in the least from this series. Another nice feature of the book is that while it has three authors, the writing style if very similar.
Read more ›
1 Comment Was this review helpful to you? Yes No Sending feedback...
Thank you for your feedback. If this review is inappropriate, please let us know.
Sorry, we failed to record your vote. Please try again
23 of 25 people found the following review helpful By Mr. Shaun Hayward on January 16, 2010
Format: Paperback
If you're looking for a fairly exhaustive book that covers WCF in huge detail then this is your book. But if you're looking to get yourself up to speed quickly or you like practical examples at every turn to give context to your learning, look for another book.

I'm not sorry I bought it but it's just chapter after chapter of dry reading without the benefit of very many examples of how to actually use the details taught. Knowing this, I would have read another book first so I could keep from getting bored, then I would use this book to fill in the details.
Comment Was this review helpful to you? Yes No Sending feedback...
Thank you for your feedback. If this review is inappropriate, please let us know.
Sorry, we failed to record your vote. Please try again
14 of 16 people found the following review helpful By M. Hennessy on March 1, 2008
Format: Paperback
A remarkably well organized and easy to read WCF how-to with respect to VS2008. Starts out with a basic service comparing code and configuration implementations. Subsequent chapters evolve gracefully reducing complexity to incremental understanding. Resulting SOAP and WSDL is presented with careful attention to cause and effect. WCF Services are compared with ASMX Web Services providing basic knowledge for newbies and practical information needed to move forward with WCF. Real world issues, like versioning, are regularly presented with mitigating strategies. In a technology library of hundreds, this is one of the best in terms of content and construction.
Comment Was this review helpful to you? Yes No Sending feedback...
Thank you for your feedback. If this review is inappropriate, please let us know.
Sorry, we failed to record your vote. Please try again
5 of 5 people found the following review helpful By Pustakadahulu on April 3, 2010
Format: Paperback
First of all, we need to note that WCF is not an easy subject to understand. There is lot of ground to cover and the subject matter is very deep. I tried to read the Jowal Lowy book on WCF. I was very lost and I did not understand what he was talking about. This was after I attended his 5 day class. I was not getting any idea of the subject.

So, I decided that I need to get a book that is simple to understand and get a good grasp of the subject. And this was the book I was looking for. Authors use only one service IStockService through out and I really appreciated that. I could tweak this one service as I ventured into advanced topics. All of the topics are covered and most of them in depth.

Now, I am reading the Jowal book now and it is making all sense. This book helped me to lay a superb foundation of the subject.

If you really want to learn WCF, this is the book. Thats why I have this 5 stars because it met my requirement.
Comment Was this review helpful to you? Yes No Sending feedback...
Thank you for your feedback. If this review is inappropriate, please let us know.
Sorry, we failed to record your vote. Please try again
4 of 4 people found the following review helpful By J. Heath on August 26, 2009
Format: Paperback Verified Purchase
I got so much valuable information out of this book. It answered just about all of my questions about WCF. The writing is easy to read. The book is well organized. Topics are explained clearly, in plain english without all the buzzwords that slow down reading. General concepts are explained, and then the author gets down to more detailed information. I wish there had been a bit more information on hosting services, but there was enough information on hosting for me to get my service hosted on IIS without any real difficulty. If you're only going to buy one WCF book, buy this one.
Comment Was this review helpful to you? Yes No Sending feedback...
Thank you for your feedback. If this review is inappropriate, please let us know.
Sorry, we failed to record your vote. Please try again
3 of 3 people found the following review helpful By James Holmes on November 16, 2008
Format: Paperback
This book's very well written and does a great job of explaining a lot of the features around WCF. I like their approach to topics, starting out with basics and evolving from there. For example, right off the bat they do a solid job of showing a service hosted entirely in code, then do a comparable service hosted in IIS. All differences are clearly laid out with some good rationale for either implementation.

This same approach continues through the book, which is something I'm always appreciative about: give me options with clear explanations of why they'd apply, then let me choose which one fits for my environment. The authors even lay out a number of tables throughout the book showing options and alternatives - like the supported features of bindings table in chapter 4.

It's a solid book for newcomers to WCF or experienced folks looking to brush up on the deltas as WCF moves to .NET 3.5.
Comment Was this review helpful to you? Yes No Sending feedback...
Thank you for your feedback. If this review is inappropriate, please let us know.
Sorry, we failed to record your vote. Please try again

Most Recent Customer Reviews

Set up an Amazon Giveaway

Amazon Giveaway allows you to run promotional giveaways in order to create buzz, reward your audience, and attract new followers and customers. Learn more
Essential Windows Communication Foundation (WCF): For .NET Framework 3.5
This item: Essential Windows Communication Foundation (WCF): For .NET Framework 3.5
Price: $27.12
Ships from and sold by

Want to discover more products? Check out this page to see more: ebay books