WCF中的ABC三要素

Adress :服务地址

Binding :通讯方式(服务通讯 http,tcp ,udp)

Contract :服务内容(服务边界)

配置文件

所有的wcf配置都在system.servicemodel 节点下

services:对endpoint进行配置

bindings:对所有binding进行参数配置(打开时间,关闭时间,传输时间等)

behaviors:对影响wcf运行时的一些方法进行配置(服务线程数,服务实例,事务等)

扫描二维码关注公众号,回复: 8508576 查看本文章

猜你喜欢

转载自www.cnblogs.com/fmys/p/12178825.html
今日推荐