windows通信基础(服务器配置文件)
Continue
1
xml version="1.0" encoding="utf-8" ?>
2
< configuration >
3
< system.serviceModel >
4 
5
< services >
6
7
< service name ="Zhgf.Services.UserInfo" behaviorConfiguration ="MyServiceTypeBehaviors" >
8
9
10
< endpoint contract ="Zhgf.IServices.IUserInfo" binding ="wsHttpBinding" address ="" />
11
12
< host >
13
< baseAddresses >
14
< add baseAddress ="http://localhost:8080/WCFDemo/Services" />
15
baseAddresses >
16
host >
17
service >
18
services >
19 
20
< behaviors >
21
< serviceBehaviors >
22
< behavior name ="MyServiceTypeBehaviors" >
23
24
< serviceMetadata httpGetEnabled ="true" />
25
behavior >
26
serviceBehaviors >
27
behaviors >
28 
29
system.serviceModel >
30
configuration >
31
转载于:https://www.cnblogs.com/cntangwen/archive/2009/08/23/1552298.html
本文来自互联网用户投稿,文章观点仅代表作者本人,不代表本站立场,不承担相关法律责任。如若转载,请注明出处。 如若内容造成侵权/违法违规/事实不符,请点击【内容举报】进行投诉反馈!
