內容提要
《WCF Service編程》是一本關於Windows Communication Foundation(WCF)的權威入門指南,WCF是微軟用於開發面向服務的Windows應用程式的統一(也有人說是革命性的)平台。本書作者Juval Lowy是微軟公司軟體部門的傳奇人物,他參與了WCF的戰略設計並與該開發團隊共同工作,這本頗具實踐指導意義的書表達了他的深刻見解,而不只是一份技術文檔。
《WCF Service編程》專門闡述了某些設計決策背後的基本原理,對於那些文檔稀缺、少人理解的SOA開發要點也著墨頗多。開發者和架構師們從本書中將不僅學到如何進行WCF編程,還能了解相關的設計指導原則、最佳實踐和潛在陷阱。作者在本書中提及的技巧和應用程式均超越那些在傳統資源中所找到的內容。
這些內容由50餘個原創工具、幫助類和70多張設計圖組成,有益於彌補你對WCF本身理解的疏漏,也有助於簡化和自動化某些任務,可幫助你提升生產力和WCF服務程式的質量。
編輯推薦
“Juval Lwy是當今最傑出的分散式系統專家之一。在本書中,Juval以他享有盛譽的寫作技巧,深入淺出而又準確細緻地介紹了WCF的體系架構。”
——Clemens Vasters,程式經理 互聯框架團隊,Microsoft Corporation
目錄
Foreword
Preface
1. WCF Essentials
What Is WCF?
Services
Addresses
Contracts
Hosting
Bindings
Endpoints
Metadata Exchange
Client-Side Programming
Programmatic Versus Administrative Configuration
WCF Architecture
Working with Channels
Reliability
2. Service Contracts
Operation Overloading
Contract Inheritance
Service Contracts Factoring and Design
Contract Queries
3. Data Contracts
Serialization
Data Contract Attributes
Data Contract Hierarchy
Data Contract Equivalence
Versioning
Enumerations
Delegates and Data Contracts
Data Sets and Tables
Generics
Collections
4. Instance Management
Behaviors
Per-Call Services
Per-Session Services
Singleton Service
Demarcating Operations
Instance Deactivation
Throttling
5. Operations
Request-Reply Operations
One-Way Operations
Callback Operations
Events
Streaming
6. Faults
Errors and Exceptions
Fault Contracts
Error-Handling Extensions
7. Transactions
The Recovery Challenge
Transactions
Transaction Propagation
Transaction Protocols and Managers
The Transaction Class
Transactional Service Programming
Explicit Transaction Programming
Service State Management
Instance Management and Transactions
Callbacks
8. Concurrency Management
9. Queued Services
10. Security
A. Introduction to Service-Orientation
B. Publish-Subscribe Service
C. WCF Coding Standard
Index
……