WCF中Service Configuration Editor的使用方法
来源:互联网 发布:c4.5决策树算法python 编辑:程序博客网 时间:2024/05/22 06:53
WCF中Service Configuration Editor的使用方法
1、在App.config文件上右击,选择Edit WCF Configuration...。
或者打开Program Files/Microsoft Visual Studio 8/Common7/IDE/svcconfigeditor.exe后选择File - New Config。
2、创建新的服务设置。
3、手工输入,或使用 "Browser..." 选择服务所在程序集。
4.确认契约是否正确。
5. 选择通讯方式。
6. 选择操作方式。
7. 将服务端点地址清空,不要理会提示。我们在后面使用 host 配置,这样便于日后调整路径。
8. 完成服务设置。
9. 查看服务设置。
10. 添加服务行为设置。
11. 添加 serviceMetadata,以便发布元数据。
12. 将 HttpGetEnabled 置为 True。
13. 修改服务行为设置。
14. 在 Host 上添加一个 Base Address,这样其它相关地址可以全部使用局部路径,便于日后维护更改。
15. 添加一个新的服务端点,用于配置 WS-MetadataExchange。(可选)
16. 注意 MetadataExchange 的相关参数设置。
17. 保存配置文件。
18. 运行服务器,在浏览器中输入 Host Base Address,我们就可以看到服务页面了。
- WCF中Service Configuration Editor的使用方法
- WCF中Service Configuration Editor的使用方法
- WCF中Service Configuration Editor的使用方法
- WCF中Service Configuration Editor的使用方法
- WCF Service Configuration Editor
- WCF中service configuration editor使用图解
- WCF中Service Configuration Editor使用图解
- [转]WCF中Service Configuration Editor使用图解
- Call WCF Rest Service without svc file and wcf configuration
- Android中Service的使用方法
- wcf 看不到Edit WCF Configuration的操作方法
- wcf configuration
- WCF Service中HttpContext.Current为null的解决办法
- WCF Service中HttpContext.Current为null的解决办法
- Windows Service中关于WCF或者MessageQueue的调试
- WCF Service Application和WCF Service Library的区别
- Silverlight中服务通信方式的选择(WCF、Data Service、Ria Service)
- FCK editor的配置与使用方法
- 开源搜索引擎资源列表
- SAP简介
- iostream 与 iostream.h 的区别
- Windows操作系统实习之读者-写者问题
- 微型lua
- WCF中Service Configuration Editor的使用方法
- 用 AppFramework 替换 Discuz!NT 的数据库访问层
- 使用zlib压缩IStream流
- 项目组开发原则
- asp.net页面间数据传递(总结篇)
- 使用zlib压缩IStream流2
- auto_array
- 图解Exchange2007 安装
- 用了整整一个晚上,就因为byte & int