`
omygege
  • 浏览: 1354378 次
文章分类
社区版块
存档分类
最新评论

wcf学习笔记3 wcf中基本概念

 
阅读更多

wcf学习笔记3 wcf中基本概念


1.wcf系统基本组成要件

2.关键概念


1.wcf系统的基本组成要件

wcf构建的目的就是进行系统之间的message的交换,主要包含下面几部分:

1.Message and EndPoint

简单的将message是在endpoint之间进行传递

2.Communication Protocols

消息message可以通过intranet或者是internet进行信息交换,这其中能够使用到的协议包含http,tcp,或者是拓展wcf系统自带的协议等。

3.Message Pattern

wcf中系统交换消息message的形式是多种多样的,包含request-reply, one-way, and duplex communication等方式

2.关键概念

2.1 message

A message is a self-contained unit of data that may consist of several parts, including a body and headers.

2.2 service

A service is a construct that exposes one or more endpoints, with each endpoint exposing one or more service operations.

2.3 endpoint

An endpoint is a construct at which messages are sent or received (or both).

2.4 binding

A binding defines how an endpoint communicates to the worldA binding can contain binding elements that specify details like the security mechanisms used to secure messages, or the message pattern used by an endpoint

2.5 behaviors

A behavior is a component that controls various run-time aspects of a service, an endpoint, a particular operation, or a client.

2.6 hotsing

A service must be hosted in some process. Ahostis an application that controls the lifetime of the service.


本系列博客均是在学习过程中的总结,其中难免存在不足之处,欢迎批评指正。


分享到:
评论

相关推荐

Global site tag (gtag.js) - Google Analytics