摘要: http://stackoverflow.com/questions/18720810/wcf-service-base-address-vs-endpoint-addressbaseAddress is just that, the base address for your endpoints ... 阅读全文
posted @ 2015-07-16 19:19 ChuckLu 阅读(1711) 评论(0) 推荐(0) 编辑
摘要: 服务和行为是并列的对应到配置文件中 wcf的配置在system.serviceModel中可以有多个服务一个服务会有一个主机以及多个终结点主机包含多个基址 baseAddress终结点,由三部分组成 地址,绑定,契约 Address,Binding,Contract行为可以包含多种,目前只用服务行... 阅读全文
posted @ 2015-07-16 17:13 ChuckLu 阅读(390) 评论(0) 推荐(0) 编辑
摘要: https://msdn.microsoft.com/en-us/library/hk90416s(v=vs.110).aspx VS中自带的只能提示,一个类继承自某一个接口。 由VS为类生成接口所要求的方法 using System; using System.Collections.Generi 阅读全文
posted @ 2015-07-16 14:51 ChuckLu 阅读(307) 评论(0) 推荐(0) 编辑
摘要: So far in this chapter,I have shown you different ways to create services,how to expose a service endpoint and metadata exchange endpoint,how to gener 阅读全文
posted @ 2015-07-16 14:02 ChuckLu 阅读(669) 评论(0) 推荐(0) 编辑
摘要: 解决方案,把新建的网站的app.config修改下配置把false改为true之后再启动客户端的话,会提示这个Security Warning: Attaching to a process owned by an untrusted user can be dangerous. If the fo... 阅读全文
posted @ 2015-07-16 10:42 ChuckLu 阅读(1151) 评论(0) 推荐(0) 编辑
摘要: https://msdn.microsoft.com/en-us/library/aa347733.aspx The ServiceModel Metadata Utility tool is used to generate service model code from metadata doc 阅读全文
posted @ 2015-07-16 09:31 ChuckLu 阅读(551) 评论(0) 推荐(0) 编辑