Programming WCF Services (转Bruce Zhang's Blog 关注中......)

转载 2007年10月16日 09:30:00

Programming WCF Services

Programming WCF Services (Programming)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 SOA's. Not only will this book make you a WCF expert, it will deliver techniques and guidance to become a better software engineer. It's the Rosetta Stone of WCF.

Paperback: 634 pages Publisher: O'Reilly Media, Inc. (February 20, 2007) Language: English Author: Juval Löwy


Chapter 1, WCF Essentials

Starts by explaining what WCF is, and then describes essential WCF concepts and building blocks, such as addresses, contracts, bindings, endpoints, hosting, and clients. The chapter ends with a discussion of the WCF architecture, which is really the linchpin of all that is enabled in the subsequent chapters. This chapter assumes you understand the basic motivation and benefit of service-orientation. If that is not the case, you should first read Appendix A. Even if you are already familiar with the basic concepts of WCF, I recommend you give this chapter at least, cursory reading, not only to ensure you have the solid foundation but also because some of the helper classes and terms introduced here will be used and extended throughout the book.

Chapter 2, Service Contracts

Is dedicated to designing and working with service contracts. You will first learn some useful techniques for service contract overloading and inheritance, and some advanced techniques. The chapter next discusses how to design and factor contracts that cater to reuse, maintainability, and extensibility. The chapter ends by showing you how to interact programmatically at runtime with the metadata of the exposed contracts.

Chapter 3, Data Contracts

Deals with how the client and the service can exchange data without ever actually sharing the data type itself or using the same development technology. You will see how to deal with some interesting real-life issues such as data versioning, and how to pass collections of items.

Chapter 4, Instance Management

Is dedicated to answering which service instance handles which client's request. WCF supports several service instance management, activation, and lifetime management techniques with drastic implications on scalability and performance. This chapter provides the rationale for each of the instance management modes, offers guidelines on when and how to best use them, and also addresses some related topics, such as throttling.

Chapter 5, Operations

Deals with the types of operations clients can invoke on a service and the related design guidelines, such as how to improve and extend the basic offering to support callback setup and teardown, manage callback ports and channels, and provide for type-safe duplex proxies.

Chapter 6, Faults

Is all about how services can report errors and exceptions back to their clients, since constructs such as exceptions and exception handling are technology-specific and should not transcend the service boundary. The chapter discusses the best practices of error handling, enabling you to decouple the client error handling from the service. The chapter also demonstrates how you can extend and improve on the basic error-handling mechanism.

Chapter 7, Transactions

Begins by providing the motivation for transactions in general, and then discusses the many aspects of transactional services: the transaction management architecture, transaction propagation configuration, the declarative transaction support offered by WCF, and how clients can create transactions. The chapter ends by discussing relevant design guidelines such as transactional service state management and instancing modes.

Chapter 8, Concurrency Management

Describes the powerful yet simple declarative way WCF offers for managing concurrency and synchronization, both for the client and the service. The chapter then presents more advanced aspects such as callbacks, reentrancy, thread affinity, and synchronization context and best practices and guidelines for avoiding deadlocks.

Chapter 9, Queued Services
Shows how clients can queue up calls to services, thus enabling asynchronous, disconnected work. The chapter starts by showing how to set up and configure queued services, and then focuses on aspects such as transactions, instance management, and failures and their impact on both the business model of the service and its implementation.

Chapter 10, Security

Demystifies service-oriented security by breaking down this multifaceted task into its basic elements, such as message transfer, authentication, and authorization. The chapter continues to demonstrate how to provide security for key scenarios such as intranet and Internet applications. Finally, you will see my framework for declarative WCF security, designed to automate security setup and to considerably simplify managing security.

Programming WCF Services (4th).pdf 2015 第4版 无水印

  • 2015年11月14日 16:10
  • 14.09MB
  • 下载

Programming WCF Services翻译笔记(七)

  本书第四章介绍了关于实例管理的相关技术。“WCF支持三种实例激活的类型:单调服务(Per-Call Service)会为每次的客户端请求分配(销毁)一个新的服务实例。会话服务(Sessionful...
  • mzoy
  • mzoy
  • 2007-10-16 09:43:00
  • 585

Programming WCF Services翻译笔记(四)

  • mzoy
  • mzoy
  • 2007-10-16 09:38:00
  • 457

Programming WCF Services翻译笔记(一)

  • mzoy
  • mzoy
  • 2007-10-16 09:35:00
  • 736


  • 2015年11月13日 13:51
  • 14.99MB
  • 下载

面象服务编程 Programming WCF Services + 源代码

  • 2009年01月05日 19:50
  • 7.14MB
  • 下载


  • 2010年08月14日 07:57
  • 15.96MB
  • 下载

WCF RIA Service SP1安装及新特性介绍

一、WCF RIA Service SP1安装说明1、  卸载WCF的RIA服务工具包(WCF RIA Services Toolkit),如果安装了。2、  卸载WCF RIA Services V...
  • xinfu032
  • xinfu032
  • 2011-03-18 13:43:00
  • 3585

Pragramming WCF Services

  • 2009年02月04日 10:42
  • 3.66MB
  • 下载
您举报文章:Programming WCF Services (转Bruce Zhang's Blog 关注中......)