Synopses & Reviews
Programming WCF Services is the authoritative, bestselling introduction to Microsoft's unified platform for developing service-oriented applications (SOA) on Windows. Hailed as the most definitive treatment of WCF available, this relentlessly practical book provides insight, not documentation, to help you learn the topics and skills you need for building WCF-based applications that are maintainable, extensible, and reusable.
Author Juval Lowy, Microsoft software legend and participant in WCF's original strategic design review, revised this new edition for the latest productivity-enhancing features of C# 3.0 and the .NET 3.5 SP1 Framework. The book also contains Lowy's ServiceModelEx, a framework of useful utilities, tools, and helper classes that let you simplify and automate many tasks, and extend WCF as well. With this book, you will:
- Learn about WCF architecture and essential building blocks, including key concepts such as reliability and transport session
- Use built-in features such as service hosting, instance management, concurrency management, transactions, disconnected queued calls, and security
- Take advantage of relevant design options, tips, and best practices in Lowy's ServiceModelEx framework to increase your productivity and the quality of your WCF services
- Learn the rationale behind particular design decisions, and discover poorly documented and little-understood aspects of SOA development
By teaching you the "why" along with the "how" of WCF programming,
Programming WCF Services not only will help you master WCF, it will enable you to become a better software engineer.
Synopsis
Teach yourself the essentials of Windows Communication Foundation 4 -- one step at a time. With Step by Step, you get hands-on guidance for creating the Web services you need to implement robust business applications for Windows. This book provides practical hands-on examples to help you grasp concepts and apply techniques to the real world.
- Learn how to build and host a Web service
- Design service contracts and data contracts
- Control configuration and communications programmatically
- Implement message encryption, authentication, and authorization
- Manage identity with Windows CardSpace
- Use Windows Workflow Foundation to implement complex, scalable business services
- Optimize performance with service throttling, encoding, and streaming
- Use ASP.NET and COM+ to create services that interoperate
Your companion content includes:
- Practice exercises
- Code samples
- Fully searchable online edition of the book -- with unlimited access on the Web
Synopsis
'
Your hands-on, step-by-step guide to building connected, service-oriented applications.
Teach yourself the essentials of Windows Communication Foundation (WCF) 4 -- one step at a time. With this practical, learn-by-doing tutorial, you get the clear guidance and hands-on examples you need to begin creating Web services for robust Windows-based business applications.
Discover how to:
- Build and host SOAP and REST services
- Maintain service contracts and data contracts
- Control configuration and communications programmatically
- Implement message encryption, authentication, and authorization
- Manage identity with Windows CardSpace
- Begin working with Windows Workflow Foundation to create scalable and durable business services
- Implement service discovery and message routing
- Optimize performance with service throttling, encoding, and streaming
- Integrate WCF services with ASP.NET clients and enterprise services components
Your Step by Step digital content includes:
- Practice exercises
- Downloadable code samples
- Fully searchable online edition of the book -- with unlimited access on the Web
'
About the Author
Juval Lowy is a software architect and the principal of IDesign, a company specializing in .NET architecture consulting and advanced .NET training. Juval is Microsoft's Regional Director for the Silicon Valley, working with Microsoft on helping the industry adopt .NET. Juval participates in the Microsoft internal design reviews for future versions of .NET and related technologies. Juval published numerous articles, regarding almost every aspect of .NET development, and is a frequent presenter at development conferences. Microsoft recognized Juval as a Software Legend as one of the world's top .NET experts and industry leaders. Contact him at www.idesign.net
Table of Contents
Dedication; Forewords; Preface; How This Book Is Organized; Some Assumptions About the Reader; What You Need to Use This Book; Conventions Used in This Book; Using Code Examples; How to Contact Us; Safari® Books Online; Acknowledgments; Chapter 1: WCF Essentials; 1.1 What Is WCF?; 1.2 Services; 1.3 Addresses; 1.4 Contracts; 1.5 Hosting; 1.6 Bindings; 1.7 Endpoints; 1.8 Metadata Exchange; 1.9 Client-Side Programming; 1.10 Programmatic Versus Administrative Configuration; 1.11 WCF Architecture; 1.12 Working with Channels; 1.13 Transport-Level Sessions; 1.14 Reliability; Chapter 2: Service Contracts; 2.1 Operation Overloading; 2.2 Contract Inheritance; 2.3 Service Contract Factoring and Design; 2.4 Contract Queries; Chapter 3: Data Contracts; 3.1 Serialization; 3.2 Data Contract Attributes; 3.3 Data Contract Hierarchy; 3.4 Data Contract Equivalence; 3.5 Versioning; 3.6 Enumerations; 3.7 Delegates and Data Contracts; 3.8 Data Sets and Tables; 3.9 Generics; 3.10 Collections; Chapter 4: Instance Management; 4.1 Behaviors; 4.2 Per-Call Services; 4.3 Per-Session Services; 4.4 Singleton Service; 4.5 Demarcating Operations; 4.6 Instance Deactivation; 4.7 Durable Services; 4.8 Throttling; Chapter 5: Operations; 5.1 Request-Reply Operations; 5.2 One-Way Operations; 5.3 Callback Operations; 5.4 Events; 5.5 Streaming; Chapter 6: Faults; 6.1 Error Isolation and Decoupling; 6.2 Fault Propagation; 6.3 Error-Handling Extensions; Chapter 7: Transactions; 7.1 The Recovery Challenge; 7.2 Transactions; 7.3 Transaction Propagation; 7.4 Transaction Protocols and Managers; 7.5 The Transaction Class; 7.6 Transactional Service Programming; 7.7 Explicit Transaction Programming; 7.8 Service State Management; 7.9 Instance Management and Transactions; 7.10 Callbacks; Chapter 8: Concurrency Management; 8.1 Instance Management and Concurrency; 8.2 Service Concurrency Modes; 8.3 Instances and Concurrent Access; 8.4 Resources and Services; 8.5 Resource Synchronization Context; 8.6 Service Synchronization Context; 8.7 Custom Service Synchronization Contexts; 8.8 Callbacks and Client Safety; 8.9 Callbacks and Synchronization Contexts; 8.10 Asynchronous Calls; Chapter 9: Queued Services; 9.1 Disconnected Services and Clients; 9.2 Queued Calls; 9.3 Transactions; 9.4 Instance Management; 9.5 Concurrency Management; 9.6 Delivery Failures; 9.7 Playback Failures; 9.8 Queued Versus Connected Calls; 9.9 The Response Service; 9.10 The HTTP Bridge; Chapter 10: Security; 10.1 Authentication; 10.2 Authorization; 10.3 Transfer Security; 10.4 Identity Management; 10.5 Overall Policy; 10.6 Scenario-Driven Approach; 10.7 Intranet Application Scenario; 10.8 Internet Application Scenario; 10.9 Business-to-Business Application Scenario; 10.10 Anonymous Application Scenario; 10.11 No Security Scenario; 10.12 Scenarios Summary; 10.13 Declarative Security Framework; 10.14 Security Auditing; Introduction to Service-Orientation; A Brief History of Software Engineering; Service-Orientation; Tenets and Principles; What's Next?; Headers and Contexts; Message Headers; Context Bindings; Publish-Subscribe Service; The Publish-Subscribe Design Pattern; The Publish-Subscribe Framework; Code-Access Security; Code-Access Support in .NET 3.5; Partially Trusted Clients; Partially Trusted Services; Partially Trusted Hosts; Generic Interceptor; Intercepting Service Operations; Intercepting Client Calls; The Trace Interceptors; Identity Stack Propagation; WCF Coding Standard; General Design Guidelines; Essentials; Service Contracts; Data Contracts; Instance Management; Operations and Calls; Faults; Transactions; Concurrency Management; Queued Services; Security; ServiceModelEx Catalog; Colophon;