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.

WCF配置文件全攻略

当今的软件系统开发,如果没有配置文件几乎是不可想象的事。没有配置文件,软件如何按照用户的要求对功能进行定制?没有配置文件,在对软件进行配置安装的时候如何根据具体的硬软件环境进行修改?最重要的是没有配置...
  • wangboxian
  • wangboxian
  • 2014年05月19日 15:20
  • 2135

WCF 入门教程一(动手新建第一个WCF程序并部署)

WCF的相关概念信息就不在此赘述了,网上一搜一大把。 现在让我们动手搭建我们的第一个wcf程序吧,具体流程如下: 1. 新建立空白解决方案,并在解决方案中新建项目,项目类型为:WCF服务应用程序。 ...
  • xunzaosiyecao
  • xunzaosiyecao
  • 2015年03月07日 20:15
  • 3755

软件测试 Top 120 Blog (博客)

# Site Author Memo 1 DevelopSense Michael Bolton Context-driven school 2 James Bach's B...
  • KerryZhu
  • KerryZhu
  • 2013年09月23日 17:37
  • 21683

python学习(11)——模块

模块 使用模块 作用域 安装第三方模块 模块搜索路径 总结模块在计算机程序的开发过程中,随着程序代码越写越多,在一个文件里代码就会越来越长,越来越不容易维护。为了编写可维护的代码,我们把很多函数分组,...
  • Misaka_S
  • Misaka_S
  • 2017年07月09日 21:04
  • 256

改进zhang方法图像细化(单像素)

本文主要实现实现了和讲解图像细化算法,引用论文 “牟少敏,杜海洋,苏平,查绪恒,陈光艺.一种改进的快速并行细化算法[J].微电子学与计算机,2013,(第1期)” ,免费下载地址点击打开链接(直接在h...
  • u011941438
  • u011941438
  • 2017年01月20日 09:17
  • 381

Bruce Eckel:编程生涯

(转载)Bruce Eckel:编程生涯 作者 Bruce Eckel 是编程界的大牛,著有大名鼎鼎的《Thinking in C++》和《Thinking in Java》。 本文是他对程序...
  • sanchuyayun
  • sanchuyayun
  • 2014年12月15日 17:50
  • 721

.Net中WebService和WCF的使用示例

先简单创建一个DBHelper类 using System; using System.Collections.Generic; using System.Linq; using System...
  • Denghejing
  • Denghejing
  • 2016年08月18日 12:03
  • 2116

tensorflow编程一些需要知道的 - 2

当我们正在开发一个较复杂的大工程时,提高编程效率和运行效率会成为需求,我们可以通过作用域,以及共享变量来实现这点...
  • mao_feng
  • mao_feng
  • 2017年01月29日 20:26
  • 382

(译文)The Linux Programming Interface:第1章(历史和标准)

1 HISTORY AND STANDARDS (译者:鱼时代  校对:fgn)       Linux 是UNIX操作系统家族中的一员,在计算机出现以来,UNXI已经有很长的历史了。在这一章...
  • a82793510
  • a82793510
  • 2015年06月10日 16:58
  • 462

junit测试方法

junit测试方法 一、导入junit  JAR包,操作方法如下: ①、在项目名称右键--选择【Build Path】--【Add Libraries】 ②、在【Add Libraries】窗口...
  • m0_38039437
  • m0_38039437
  • 2017年04月08日 17:22
  • 118
内容举报
返回顶部
收藏助手
不良信息举报
您举报文章:Programming WCF Services (转Bruce Zhang's Blog 关注中......)
举报原因:
原因补充:

(最多只允许输入30个字)