프로젝트

일반

사용자정보

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

markus / KCOM_API / Web.config @ 5c64268e

이력 | 보기 | 이력해설 | 다운로드 (8.62 KB)

1
<?xml version="1.0"?>
2
<!--
3
  For more information on how to configure your ASP.NET application, please visit
4
  https://go.microsoft.com/fwlink/?LinkId=169433
5
  -->
6
<configuration>
7
  <configSections>
8
    <sectionGroup name="applicationSettings"
9
      type="System.Configuration.ApplicationSettingsGroup, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
10
      <section name="KCOM_API.Properties.Settings"
11
        type="System.Configuration.ClientSettingsSection, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" requirePermission="false"/>
12
    </sectionGroup>
13
  </configSections>
14
  <!--<system.diagnostics>
15
    <sources>
16
      <source name="System.ServiceModel.MessageLogging" switchValue="자세히,ActivityTracing">
17
        <listeners>
18
          <add type="System.Diagnostics.DefaultTraceListener" name="Default">
19
            <filter type=""/>
20
          </add>
21
          <add name="ServiceModelMessageLoggingListener">
22
            <filter type=""/>
23
          </add>
24
        </listeners>
25
      </source>
26
      <source propagateActivity="true" name="System.ServiceModel" switchValue="자세히,ActivityTracing">
27
        <listeners>
28
          <add type="System.Diagnostics.DefaultTraceListener" name="Default">
29
            <filter type=""/>
30
          </add>
31
          <add name="ServiceModelTraceListener">
32
            <filter type=""/>
33
          </add>
34
        </listeners>
35
      </source>
36
    </sources>
37
    <sharedListeners>
38
      <add initializeData="d:\source\repos\markus\kcom_api\web_messages.svclog"
39
        type="System.Diagnostics.XmlWriterTraceListener, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"
40
        name="ServiceModelMessageLoggingListener" traceOutputOptions="Timestamp">
41
        <filter type=""/>
42
      </add>
43
      <add initializeData="d:\source\repos\markus\kcom_api\web_tracelog.svclog"
44
        type="System.Diagnostics.XmlWriterTraceListener, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"
45
        name="ServiceModelTraceListener" traceOutputOptions="Timestamp">
46
        <filter type=""/>
47
      </add>
48
    </sharedListeners>
49
    <trace autoflush="false"/>
50
  </system.diagnostics>-->
51
  <connectionStrings>
52
    <add name="ConnectionString"
53
      connectionString="metadata=res://*/DataModel.KCOM_Model.csdl|res://*/DataModel.KCOM_Model.ssdl|res://*/DataModel.KCOM_Model.msl;provider=System.Data.SqlClient;provider=System.Data.SqlClient;provider connection string=&quot;data source=192.168.0.67;initial catalog=markus;persist security info=True;user id=doftech;password=dof1073#;multipleactiveresultsets=True;App=EntityFramework&quot;"
54
      providerName="System.Data.EntityClient"/>
55
    <add name="CIConnectionString"
56
      connectionString="metadata=res://*/DataModel.CIModel.csdl|res://*/DataModel.CIModel.ssdl|res://*/DataModel.CIModel.msl;provider=System.Data.SqlClient;provider=System.Data.SqlClient;provider connection string=&quot;data source=192.168.0.67;initial catalog=markus;persist security info=True;user id=doftech;password=dof1073#;multipleactiveresultsets=True;App=EntityFramework&quot;"
57
      providerName="System.Data.EntityClient"/>
58
  </connectionStrings>
59
  <!--
60
    web.config 변경 내용에 대한 설명은  http://go.microsoft.com/fwlink/?LinkId=235367을 참고하십시오.
61

    
62
    다음 특성은 <httpRuntime> 태그에 설정할 수 있습니다.
63
      <system.Web>
64
        <httpRuntime targetFramework="4.5" />
65
      </system.Web>
66
  -->
67
  <system.web>
68
    <!--<httpRuntime executionTimeout="600"/>-->
69
    <compilation targetFramework="4.5" debug="true"/>
70
    <pages controlRenderingCompatibilityVersion="4.0"/>
71
    <globalization requestEncoding="utf-8" responseEncoding="utf-8"/>
72
	  <!--<httpModules>
73
		  <add name="ServiceRedirector" type="KCOM_API.ServiceRedirector"/>
74
	  </httpModules>-->
75
  </system.web>
76
  <system.serviceModel>
77
	<protocolMapping>
78
   <remove scheme="http"/>
79
   <add scheme="http" binding="basicHttpBinding" bindingConfiguration="LargeBuffer"/>
80
 </protocolMapping>
81
 <diagnostics wmiProviderEnabled="true" performanceCounters="All">
82
   <messageLogging logEntireMessage="true" logKnownPii="true" logMalformedMessages="true" logMessagesAtServiceLevel="true" logMessagesAtTransportLevel="true"/>
83
   <endToEndTracing propagateActivity="true" activityTracing="true" messageFlowTracing="true"/>
84
 </diagnostics>
85
 <extensions>
86
		  <bindingElementExtensions>
87
			  <add name="WcfExtension"
88
			    type="WcfExtensions.ServiceModel.Configuration.CompressionElement, WcfExtensions.ServiceModel, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null"/>
89
		  </bindingElementExtensions>
90
	  </extensions>
91
    <!--<diagnostics wmiProviderEnabled="true" performanceCounters="Default">
92
      <messageLogging logEntireMessage="true" logMalformedMessages="true"
93
        logMessagesAtTransportLevel="true" />
94
      <endToEndTracing activityTracing="true" messageFlowTracing="true" />
95
    </diagnostics>-->
96
    <!--<diagnostics performanceCounters="Default"/>-->
97
    <behaviors>
98
      <endpointBehaviors>
99
        <behavior name="WebHttpBehavior">
100
          <webHttp helpEnabled="true" defaultBodyStyle="Wrapped" defaultOutgoingResponseFormat="Json"/>
101
        </behavior>
102
      </endpointBehaviors>
103
      <serviceBehaviors>
104
        <behavior name="KCOM_API.SilverlightServiceBehavior">
105
          <serviceMetadata httpGetEnabled="true"/>
106
          <serviceDebug includeExceptionDetailInFaults="false"/>
107
          <dataContractSerializer maxItemsInObjectGraph="2147483647"/>
108
        </behavior>
109
        <behavior name="">
110
          <serviceMetadata httpGetEnabled="true" httpsGetEnabled="true"/>
111
          <serviceDebug includeExceptionDetailInFaults="false"/>
112
        </behavior>
113
      </serviceBehaviors>
114
    </behaviors>
115
    <serviceHostingEnvironment aspNetCompatibilityEnabled="true" multipleSiteBindingsEnabled="true"/>
116
    <bindings>
117
      <basicHttpBinding>
118
        <binding name="LargeBuffer" closeTimeout="00:30:00" openTimeout="00:30:00" receiveTimeout="04:30:00" sendTimeout="04:30:00" maxBufferSize="2147483647"
119
          maxReceivedMessageSize="2147483647">
120
          <readerQuotas maxDepth="2147483647" maxStringContentLength="2147483647" maxArrayLength="2147483647" maxBytesPerRead="2147483647"
121
            maxNameTableCharCount="2147483647"/>
122
        </binding>
123
      </basicHttpBinding>
124
      <customBinding>
125
        <binding name="customCompressionBinding">
126
          <WcfExtension level="Fast"/>
127
          <httpTransport maxBufferPoolSize="2147483647" maxReceivedMessageSize="2147483647" requestInitializationTimeout="00:03:00" maxBufferSize="2147483647"/>
128
        </binding>
129
      </customBinding>
130
    </bindings>
131
    <services>
132
      <service behaviorConfiguration="KCOM_API.SilverlightServiceBehavior" name="KCOM_API.ServiceDeepView">
133
        <endpoint address="" binding="basicHttpBinding" bindingConfiguration="LargeBuffer" name="DeepViewPoint" contract="KCOM_API.ServiceDeepView"/>
134
        <endpoint address="GZIP" binding="customBinding" bindingConfiguration="customCompressionBinding" name="MarkusAPIgzip"
135
          contract="KCOM_API.ServiceDeepView"/>
136
        <endpoint address="mex" binding="mexHttpBinding" contract="IMetadataExchange"/>
137
      </service>
138
      <service name="KCOM_API.MarkusService">
139
        <endpoint address="Rest" behaviorConfiguration="WebHttpBehavior" binding="webHttpBinding" bindingConfiguration="" name="MarkusServiceWebEndPoint"
140
          contract="KCOM_API.MarkusService"/>
141
        <endpoint binding="basicHttpBinding" bindingConfiguration="" name="MarkusServiceEndPoint" contract="KCOM_API.MarkusService"/>
142
      </service>
143
    </services>
144
  </system.serviceModel>
145
  <!--<system.webServer>
146
    <validation validateIntegratedModeConfiguration="false"/>
147
	  <modules>
148
		  <add name="ServiceRedirector" type="KCOM_API.ServiceRedirector"/>
149
	  </modules>
150
  </system.webServer>-->
151
	<system.webServer>
152
		<validation validateIntegratedModeConfiguration="false"/>
153
	</system.webServer>
154
	<system.net>
155
		<settings>
156
			<httpListener>
157
				<timeouts minSendBytesPerSecond="4294967295"/>
158
			</httpListener>
159
		</settings>
160
	</system.net>
161
  <applicationSettings>
162
    <KCOM_API.Properties.Settings>
163
      <setting name="TileSoucePath" serializeAs="String">
164
        <value>http://192.168.0.67:5977/TileSource/{0}_Tile/{1}/{2}/{3}.png</value>
165
      </setting>
166
      <setting name="TileSoucePath_SUB" serializeAs="String">
167
        <value>http://192.168.0.67:5977/TileSource/{0}_Tile/{1}/{2}/{3}.png</value>
168
      </setting>
169
      <setting name="IsProjectNoPass" serializeAs="String">
170
        <value>True</value>
171
      </setting>
172
      <setting name="FinalService" serializeAs="String">
173
        <value>tcp://localhost:9092/remFinalPDF</value>
174
      </setting>
175
    </KCOM_API.Properties.Settings>
176
  </applicationSettings>
177
</configuration>
클립보드 이미지 추가 (최대 크기: 500 MB)