WCF Service 的创建,测试,发布与使用示例

WCF Service 的创建,测试,发布与使用示例一, WCF Service 的创建: WCF Service Application 注:为了在 IIS 或 WAS 中托管,则必须使用 WCF Service Application 类型,参看右侧的说明。 如准备使用 Windows Service 托管,则可使用 WCF Service Library 类型1,创建 WCF Service Application 2,对应准备相关代码F2 to..
摘要由CSDN通过智能技术生成

WCF Service 的创建,测试,发布与使用示例

一, WCF Service 的创建: WCF Service Application

注:

  • 为了在 IIS 或 WAS 中托管,则必须使用 WCF Service Application 类型,参看右侧的说明。
  • 如准备使用 Windows Service 托管,则可使用 WCF Service Library 类型

1,创建 WCF Service Application

2,对应准备相关代码

F2 to Rename

3,开发时可能的出错及解决

  • 基于 Markup , 可查看相应的代码,以确认相应的 Service & Codebehind 中的值是否正确

 

4,测试确认OK

F5 执行, WCF Test Client

二,WCF Service 的发布,至 IIS

1,将创建好的 WCF Application 文件 Copy 至 IIS 对应目录下

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值