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 world。A 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. A host is an application that controls the lifetime of the service.
本系列博客均是在学习过程中的总结,其中难免存在不足之处,欢迎批评指正。
【推荐】国内首个AI IDE,深度理解中文开发场景,立即下载体验Trae
【推荐】编程新体验,更懂你的AI,立即体验豆包MarsCode编程助手
【推荐】抖音旗下AI助手豆包,你的智能百科全书,全免费不限次数
【推荐】轻量又高性能的 SSH 工具 IShell:AI 加持,快人一步
· 如何编写易于单元测试的代码
· 10年+ .NET Coder 心语,封装的思维:从隐藏、稳定开始理解其本质意义
· .NET Core 中如何实现缓存的预热?
· 从 HTTP 原因短语缺失研究 HTTP/2 和 HTTP/3 的设计差异
· AI与.NET技术实操系列:向量存储与相似性搜索在 .NET 中的实现
· 周边上新:园子的第一款马克杯温暖上架
· Open-Sora 2.0 重磅开源!
· 分享 3 个 .NET 开源的文件压缩处理库,助力快速实现文件压缩解压功能!
· Ollama——大语言模型本地部署的极速利器
· DeepSeek如何颠覆传统软件测试?测试工程师会被淘汰吗?