Warning: file_get_contents(/data/phpspider/zhask/data//catemap/7/wcf/4.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
C# WCF中基础设施和应用程序终结点之间的区别是什么(以非专业术语)?_C#_Wcf - Fatal编程技术网

C# WCF中基础设施和应用程序终结点之间的区别是什么(以非专业术语)?

C# WCF中基础设施和应用程序终结点之间的区别是什么(以非专业术语)?,c#,wcf,C#,Wcf,我很难找到一个外行对WCF中应用程序端点和基础设施端点之间的区别的定义 将区别定义如下: 应用程序端点 An endpoint exposed by the application and that corresponds to a service contract implemented by the application. An endpoint that is exposed by the infrastructure to facilitate functionality that

我很难找到一个外行对WCF中应用程序端点和基础设施端点之间的区别的定义

将区别定义如下:

应用程序端点

An endpoint exposed by the application and that corresponds to a service contract implemented by the application.
An endpoint that is exposed by the infrastructure to facilitate functionality that is needed or provided by the service that does not relate to a service contract. For example, a service might have an infrastructure endpoint that provides metadata information.
基础架构端点

An endpoint exposed by the application and that corresponds to a service contract implemented by the application.
An endpoint that is exposed by the infrastructure to facilitate functionality that is needed or provided by the service that does not relate to a service contract. For example, a service might have an infrastructure endpoint that provides metadata information.
后者的一个例子是通知客户端端点如何处理特定类型的绑定的端点吗?有人能提供一个不那么抽象的场景吗?

一个基础架构端点说明了有关服务的事情。例如,实现的东西

当编写Windows通信基础(WCF)服务时,它 用于发布有关服务的元数据。例如,元数据 可以是Web服务描述语言(WSDL)文档 描述服务使用的所有方法和数据类型。 返回有关WCF服务的元数据允许服务的使用者 为服务轻松创建客户端


其中,作为应用程序端点执行某些操作,例如您在WCF中使用
操作契约
注释的内容

谢谢!这就理顺了!