A guide to architecting, designing, and building distributed applications with Windows Communication Foundation Windows Communication Foundation is the .NET technology that is used to build service-oriented applications, exchange messages in various communication scenarios, and run workflows. This guide enables developers to create state-of-the-art applications using this technology. Written by a team of Microsoft MVPs and WCF experts, this book explains how the pieces of WCF 4.0 build on each other to provide a comprehensive framework to support distributed enterprise applications. Experienced developers will learn both theory and practical application using the familiar Wrox approach. .NET developers will learn to design services, create a hosting environment with Dublin, build cloud-based integrations, and much more. Coverage Includes: Design Principles and Patterns Service Contracts and Data Contracts Bindings Clients Instancing Workflow Services Understanding WCF Security WCF Security in Action Federated Authentication in WCF Windows Azure Platform AppFabric Creating a SOA Case Creating the Communication and Integration Case Creating the Business Process Hosting
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.
“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
Built on the Microsoft .NET Framework and around the Web Services architecture, Windows Communication Foundation (formerly known as Indigo ) is a technology for building and running connected systems providing reliable and secure transactional messaging.This book, targeted for developers currently developing applications using the .NET Framework and related technologies, will discuss the new Windows Communication Foundation technologies available from Microsoft, the next generation of configuring and deploying network-distributed services. Some of the topics covered include:· Addresses· Binding· Contracts· Clients· Services· Security· Deployment· Management· Hosting
This easy-to-use introduction to the Microsoft Windows Communication Foundation removes the complexity of using the API by providing detailed answers, explanations, and code samples to the most common questions asked by software developers.
In this book, you’ll be introduced to the features and capabilities of ASP.NET 3.5, as well as the foundation that ASP.NET provides. Updated for the latest release of Visual Studio, this new edition adds five hundred pages of great new content compared to the original 2.0 version of the book. Including both printed and downloadable VB and C# code examples, this edition focuses even more on experienced programmers and advanced web development. New coverage includes new chapters on IIS 7 development, LINQ, ASP.NET, Silverlight, and many others.
Intermediate and advanced coverage of Visual Basic 2010 and .NET 4 for professional developers If you've already covered the basics and want to dive deep into VB and .NET topics that professional programmers use most, this is your book. You'll find a quick review of introductory topics-always helpful-before the author team of experts moves you quickly into such topics as data access with ADO.NET, Language Integrated Query (LINQ), security, ASP.NET web programming with Visual Basic, Windows workflow, threading, and more. You'll explore all the new features of Visual Basic 2010 as well as all the essential functions that you need, including .NET features such as LINQ to SQL, LINQ to XML, WCF, and more. Plus, you'll examine exception handling and debugging, Visual Studio features, and ASP.NET web programming. Expert author team helps you master the tools and techniques you need most for professional programming Reviews why Visual Basic 2010 will be synonymous with writing code in Visual Studio 2010 Focuses on .NET features such as LINQ, LINQ to SQL, LINQ to XML, WPF, workflow, and more Discusses exception handling and debugging, data access with ADO.NET, Visual Studio features for Visual Basic developers, Windows programming with Windows Forms, ASP.NET web programming with VB, communication interfaces, Windows workflow, and threading This Wrox guide presents you with updated coverage on topics you need to know now.
Part of Microsoft’s radical new WinFX API is the foundation code-named Indigo, now commonly known as Windows Communication Foundation (WCF). WCF technology allows web developers to create services that communicate and interoperate with each other and other programs and applications. This text is real-world oriented, offering a practical WCF programming model, and chapters on creating a WCF web service; hosting and consuming WCF services; deploying and managing WCF services; reliable messaging and queue management, and WCF Security. As there are currently few books available on WCF, this book will be useful to WCF developers, who tend to be early adopters.
Silverlight 5 has the potential to revolutionize the way we build business applications. With its flexibility, web deployment, cross-platform capabilities, rich .NET language support on the client, rich user interface control set, small runtime, and more, it comes close to the perfect platform on which to build business applications. It’s a very powerful technology, and despite its youth, it’s moving forward at a rapid pace and is gaining widespread popularity. This book guides you through the process of designing and developing enterprise-strength business applications in Silverlight 5 and C#. You'll learn how to take advantage of the power of Silverlight to develop rich and robust business applications—from getting started to deployment, and everything in between. In particular, this book will serve developers who want to learn how to design business applications. It will introduce the patterns you'll use, the issues you’ll face, and how to resolve them. Author Chris Anderson, who has been building line-of-business applications for years, demonstrates his expertise through a candid presentation of how to tackle real-life issues, rather than just avoiding them. Developers will benefit from his hard-won expertise through business application design patterns that he shares throughout the book. With this book in hand, you will: Create a fully-functional business application in Silverlight Discover how to satisfy the general requirements that most business applications need Develop a business application framework
Written by Microsoft software legend Juval Lowy, Programming WCF Services is the authoritative introduction to Microsoft's new, and some say revolutionary, unified platform for developing service-oriented applications (SOA) on Windows. Relentlessly practical, the book delivers insight, not documentation, to teach developers what they need to know to build the next generation of SOAs. After explaining the advantages of service-orientation for application design and teaching the basics of how to develop SOAs using WCF, the book shows how you can take advantage of built-in features such as service hosting, instance management, asynchronous calls, synchronization, reliability, transaction management, disconnected queued calls and security to build best in class applications. Programming WCF Services focuses on the rationale behind particular design decisions, often shedding light on poorly-documented and little-understood aspects of SOA development. Developers and architects will learn not only the "how" of WCF programming, but also relevant design guidelines, best practices, and pitfalls. Original techniques and utilities provided by the author throughout the book go well beyond anything that can be found in conventional sources. Based on experience and insight gained while taking part in the strategic design of WCF and working with the team that implemented it, Programming WCF Services provides experienced working professionals with the definitive work on WCF. Not only will this book make you a WCF expert, it will make you a better software engineer. It's the Rosetta Stone of WCF.