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?)

  • 相关阅读:
    wxpython快速入门
    python核心编程 第四章 和第五章
    python核心编程 第三章
    python核心编程 第二章 快速入门
    Nginx 使用札记
    PHP 函数总结
    node.js安装部署
    linux
    在Linux上安装Git
    php超级全局变量
  • 原文地址:https://www.cnblogs.com/xuezhi/p/2850627.html
Copyright © 2011-2022 走看看