zoukankan      html  css  js  c++  java
  • The remote server returned an error: NotFound.

    The remote server returned an error: NotFound.

    WCF笔记

    WCF最重要的就是能够快捷地创建一个服务(Service).一个WCF Service由三部分组成:

    1.Service Class:一个标记了[ServiceContract]Attribute的类,在其中可能包含了多个方法,除了标记一些WCF特有的Attribute外,这个类和一般类没什么区别。

    2.Host(宿主):可以是应用程序,也可以是ASP.NET程序,或是Window Service等,它是WCF Service运行环境。

    3.Endpoints:可以是一个也可以是一组,它是WCF实现通信的核心要素。

    Endpoint的构成

    Endpoint由三部分组成:Address,Binding,Contract,简称ABC.

    1.Address:Endpoint的网络地址,它标记了消息发送的目的地。(where is the endpoint?)

    2.Binding:描述的是如何发送消息,例如消息发送的传输协议(如TCP,HTTP),安全(如SSL,SOAP消息安全)(how to communicate with endpoint?)

    3.Contract描述的是消息所包含的内容,以及消息的组织和操作方式,例如是one-way,duplex和request/reply(what functionalities do the endpoint provide?)

  • 相关阅读:
    动手动脑(类与对象作业再次提交)
    论团队(类与对象邮箱作业再次提交)
    流于形式的沟通
    加密
    string类中一些方法的使用
    StringEquals的用法
    命令行接收数字求和
    计算机思维
    SpringBoot之Callable处理异步请求
    MySQL8.0 zip版本 安装
  • 原文地址:https://www.cnblogs.com/xuezhi/p/2850627.html
Copyright © 2011-2022 走看看