服务ABC三要素:
A:Address 服务所在地址,包含传输方式(http或net.pie(内网));
B:Binding 怎么去实现,可包含协议、编码方式、消息安全策略、堆栈等,与Address必须匹配;
C:Contract 做什么(服务契约)
配置服务概要:
<system.ServiceModel>
<services>
<servrce name="空间.类名" behavior="TestBehavior">
<host>
<baseAddress
服务ABC三要素:
A:Address 服务所在地址,包含传输方式(http或net.pie(内网));
B:Binding 怎么去实现,可包含协议、编码方式、消息安全策略、堆栈等,与Address必须匹配;
C:Contract 做什么(服务契约)
配置服务概要:
<system.ServiceModel>
<services>
<servrce name="空间.类名" behavior="TestBehavior">
<host>
<baseAddress