프로젝트

일반

사용자정보

통계
| 브랜치(Branch): | 개정판:

markus / ConvertService / ServiceBase / Markus.Service.WcfService / app.config @ e6281033

이력 | 보기 | 이력해설 | 다운로드 (3.11 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.MonitorService">
25
        <endpoint address="" binding="basicHttpBinding" contract="Markus.Service.IWcfService.IMonitorService">
26
          <identity>
27
            <dns value="localhost" />
28
          </identity>
29
        </endpoint>
30
        <endpoint address="mex" binding="mexHttpBinding" contract="IMetadataExchange" />
31
        <host>
32
          <baseAddresses>
33
            <add baseAddress="Http://localhost:9112/ConvertService" />
34
          </baseAddresses>
35
        </host>
36
      </service>
37
      <service name="Markus.Service.IWcfService.StationService">
38
        <endpoint address="" behaviorConfiguration="" binding="basicHttpBinding"
39
          bindingConfiguration="" contract="Markus.Service.IWcfService.IStationService">
40
          <identity>
41
            <dns value="localhost" />
42
          </identity>
43
        </endpoint>
44
        <endpoint address="mex" binding="mexHttpBinding" contract="IMetadataExchange" />
45
        <endpoint address="REST" behaviorConfiguration="webhttpBehavior"
46
          binding="webHttpBinding" bindingConfiguration="" contract="Markus.Service.IWcfService.IStationService" />
47
        <host>
48
          <baseAddresses>
49
            <add baseAddress="Http://localhost:9111/StationService" />
50
          </baseAddresses>
51
        </host>
52
      </service>
53
    </services>
54
    <behaviors>
55
      <endpointBehaviors>
56
        <behavior name="webhttpBehavior">
57
          <webHttp helpEnabled="true" defaultBodyStyle="Wrapped" defaultOutgoingResponseFormat="Json" />
58
        </behavior>
59
      </endpointBehaviors>
60
      <serviceBehaviors>
61
        <behavior name="">
62
          <serviceMetadata httpGetEnabled="true" httpsGetEnabled="true" />
63
          <serviceDebug includeExceptionDetailInFaults="false" />
64
        </behavior>
65
      </serviceBehaviors>
66
    </behaviors>
67
  </system.serviceModel>
68
</configuration>
클립보드 이미지 추가 (최대 크기: 500 MB)