markus / ConvertService / ServiceBase / Markus.Service.WcfService / app.config @ c4c41461
이력 | 보기 | 이력해설 | 다운로드 (2.59 KB)
1 |
<?xml version="1.0" encoding="utf-8"?> |
---|---|
2 |
<configuration> |
3 |
<appSettings> |
4 |
<add key="aspnet:UseTaskFriendlySynchronizationContext" value="true" /> |
5 |
<add key="ClientSettingsProvider.ServiceUri" value="" /> |
6 |
</appSettings> |
7 |
<system.web> |
8 |
<compilation debug="true" /> |
9 |
<membership defaultProvider="ClientAuthenticationMembershipProvider"> |
10 |
<providers> |
11 |
<add name="ClientAuthenticationMembershipProvider" type="System.Web.ClientServices.Providers.ClientFormsAuthenticationMembershipProvider, System.Web.Extensions, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" serviceUri="" /> |
12 |
</providers> |
13 |
</membership> |
14 |
<roleManager defaultProvider="ClientRoleProvider" enabled="true"> |
15 |
<providers> |
16 |
<add name="ClientRoleProvider" type="System.Web.ClientServices.Providers.ClientRoleProvider, System.Web.Extensions, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" serviceUri="" cacheTimeout="86400" /> |
17 |
</providers> |
18 |
</roleManager> |
19 |
</system.web> |
20 |
<!-- 서비스 라이브러리 프로젝트를 배포할 때 호스트의 app.config 파일에 구성 파일의 내용을 추가해야 합니다. |
21 |
System.Configuration이 라이브러리에 대한 구성 파일을 지원하지 않습니다. --> |
22 |
<system.serviceModel> |
23 |
<services> |
24 |
<service name="Markus.Service.IWcfService.StationService"> |
25 |
<endpoint address="" behaviorConfiguration="" binding="basicHttpBinding" |
26 |
bindingConfiguration="" contract="Markus.Service.IWcfService.IStationService"> |
27 |
<identity> |
28 |
<dns value="localhost" /> |
29 |
</identity> |
30 |
</endpoint> |
31 |
<endpoint address="mex" binding="mexHttpBinding" contract="IMetadataExchange" /> |
32 |
<endpoint address="REST" behaviorConfiguration="webhttpBehavior" |
33 |
binding="webHttpBinding" bindingConfiguration="" contract="Markus.Service.IWcfService.IStationService" /> |
34 |
<host> |
35 |
<baseAddresses> |
36 |
<add baseAddress="Http://localhost:9111/StationService" /> |
37 |
</baseAddresses> |
38 |
</host> |
39 |
</service> |
40 |
</services> |
41 |
<behaviors> |
42 |
<endpointBehaviors> |
43 |
<behavior name="webhttpBehavior"> |
44 |
<webHttp helpEnabled="true" defaultBodyStyle="Wrapped" defaultOutgoingResponseFormat="Json" /> |
45 |
</behavior> |
46 |
</endpointBehaviors> |
47 |
<serviceBehaviors> |
48 |
<behavior name=""> |
49 |
<serviceMetadata httpGetEnabled="true" httpsGetEnabled="true" /> |
50 |
<serviceDebug includeExceptionDetailInFaults="false" /> |
51 |
</behavior> |
52 |
</serviceBehaviors> |
53 |
</behaviors> |
54 |
</system.serviceModel> |
55 |
</configuration> |