프로젝트

일반

사용자정보

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

markus / KCOM_API / Web.config @ 7e810f54

이력 | 보기 | 이력해설 | 다운로드 (9.75 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.webServer>
77
	  --><!--<modules>
78
		  <add name="SessionEndModule" type="Markus.AddressModule"/>
79
	  </modules>--><!--
80
	  <handlers>
81
		  <add name="ImageHandler1" type="Markus.ImageHandler" verb="*" path="Authenticate"/>
82
		  <add name="ImageHandler2" type="Markus.ImageHandler" verb="*" path="*.png"/>
83
		  <add name="ImageHandler3" type="Markus.ImageHandler" verb="*" path="*.jpg"/>
84
		  <add name="ImageHandler4" type="Markus.ImageHandler" verb="*" path="*.pdf"/>
85
	  </handlers>
86
		<validation validateIntegratedModeConfiguration="false"/>
87
  </system.webServer>-->
88
  <system.serviceModel>
89
	<!--<protocolMapping>
90
   <remove scheme="http"/>
91
   <add scheme="http" binding="basicHttpBinding" bindingConfiguration="LargeBuffer"/>
92
 </protocolMapping>-->
93
<protocolMapping>
94
	   <add scheme="http" binding="basicHttpBinding" bindingConfiguration="LargeBuffer"/>
95
   <add scheme="https" binding="customBinding" bindingConfiguration="CustomHttpsBinding"/>
96
 </protocolMapping>
97
 <diagnostics wmiProviderEnabled="true" performanceCounters="All">
98
   <messageLogging logEntireMessage="true" logKnownPii="true" logMalformedMessages="true" logMessagesAtServiceLevel="true" logMessagesAtTransportLevel="true"/>
99
   <endToEndTracing propagateActivity="true" activityTracing="true" messageFlowTracing="true"/>
100
 </diagnostics>
101
 <extensions>
102
		  <bindingElementExtensions>
103
			  <add name="WcfExtension"
104
			    type="WcfExtensions.ServiceModel.Configuration.CompressionElement, WcfExtensions.ServiceModel, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null"/>
105
		  </bindingElementExtensions>
106
	  </extensions>
107
    <!--<diagnostics wmiProviderEnabled="true" performanceCounters="Default">
108
      <messageLogging logEntireMessage="true" logMalformedMessages="true"
109
        logMessagesAtTransportLevel="true" />
110
      <endToEndTracing activityTracing="true" messageFlowTracing="true" />
111
    </diagnostics>-->
112
    <!--<diagnostics performanceCounters="Default"/>-->
113
    <behaviors>
114
      <endpointBehaviors>
115
        <behavior name="WebHttpBehavior">
116
          <webHttp helpEnabled="true" defaultBodyStyle="Wrapped" defaultOutgoingResponseFormat="Json"/>
117
        </behavior>
118
      </endpointBehaviors>
119
      <serviceBehaviors>
120
        <behavior name="ServiceBehavior">
121
          <serviceMetadata httpGetEnabled="true" httpsGetEnabled="true"/>
122
          <serviceDebug includeExceptionDetailInFaults="true"/>
123
          <dataContractSerializer maxItemsInObjectGraph="2147483647"/>
124
		<!--local https test용--> 
125
		<!--<serviceCredentials>
126
			 <clientCertificate>
127
            <authentication certificateValidationMode="PeerOrChainTrust" trustedStoreLocation="LocalMachine"/>
128
            </clientCertificate>
129
            <serviceCertificate findValue="ServerCert" x509FindType="FindBySubjectName" storeLocation="LocalMachine" storeName="My"/>
130
		</serviceCredentials>-->
131
        </behavior>
132
      </serviceBehaviors>
133
    </behaviors>
134
	  <serviceHostingEnvironment aspNetCompatibilityEnabled="true" multipleSiteBindingsEnabled="true"/>
135
    <bindings>
136
      <basicHttpBinding>
137
        <binding name="LargeBuffer" closeTimeout="00:30:00" openTimeout="00:30:00" receiveTimeout="04:30:00" sendTimeout="04:30:00" maxBufferSize="2147483647"
138
          maxReceivedMessageSize="2147483647">
139
          <readerQuotas maxDepth="2147483647" maxStringContentLength="2147483647" maxArrayLength="2147483647" maxBytesPerRead="2147483647"
140
            maxNameTableCharCount="2147483647"/>
141
        </binding>
142
      </basicHttpBinding>
143
      <customBinding>
144
        <binding name="CustomHttpsBinding" closeTimeout="00:30:00" openTimeout="00:30:00" receiveTimeout="00:30:00" sendTimeout="00:30:00">
145
          <reliableSession/>
146
          <httpsTransport maxBufferPoolSize="2147483647" maxReceivedMessageSize="2147483647" requestInitializationTimeout="00:30:00" maxBufferSize="2147483647"/>
147
        </binding>
148
      </customBinding>
149
    </bindings>
150
    <services>
151
      <service behaviorConfiguration="ServiceBehavior" name="KCOM_API.ServiceDeepView">
152
        <endpoint address="" binding="basicHttpBinding" bindingConfiguration="LargeBuffer" name="DeepViewPoint" contract="KCOM_API.ServiceDeepView"/>
153
        <!--<endpoint address="" binding="customBinding" bindingConfiguration="CustomHttpsBinding" name="HTTPSMarkusAPI" contract="KCOM_API.ServiceDeepView"/>-->
154
        <endpoint address="mex" binding="mexHttpBinding" contract="IMetadataExchange"/>
155
        <!--<host>
156
          <baseAddresses>
157
            <add baseAddress="https://localhost:44301/ServiceDeepView.svc"/>
158
          </baseAddresses>
159
        </host>-->
160
      </service>
161
      <service name="KCOM_API.MarkusService" behaviorConfiguration="ServiceBehavior">
162
        <endpoint address="Rest" behaviorConfiguration="WebHttpBehavior" binding="webHttpBinding" bindingConfiguration="" name="MarkusServiceWebEndPoint"
163
          contract="KCOM_API.MarkusService"/>
164
        <endpoint binding="basicHttpBinding" bindingConfiguration="" name="MarkusServiceEndPoint" contract="KCOM_API.MarkusService"/>
165
      </service>
166
    </services>
167
  </system.serviceModel>
168
  <!--<system.webServer>
169
    <validation validateIntegratedModeConfiguration="false"/>
170
	  <modules>
171
		  <add name="ServiceRedirector" type="KCOM_API.ServiceRedirector"/>
172
	  </modules>
173
  </system.webServer>-->
174
	
175
	<system.net>
176
		<settings>
177
			<httpListener>
178
				<timeouts minSendBytesPerSecond="4294967295"/>
179
			</httpListener>
180
		</settings>
181
	</system.net>
182
  <applicationSettings>
183
    <KCOM_API.Properties.Settings>
184
      <setting name="TileSoucePath" serializeAs="String">
185
        <value>https://localhost:44301/TileSource/{0}_Tile/{1}/{2}/{3}.png</value>
186
      </setting>
187
      <setting name="TileSoucePath_SUB" serializeAs="String">
188
        <value>https://localhost:44301/TileSource/{0}_Tile/{1}/{2}/{3}.png</value>
189
      </setting>
190
      <setting name="IsProjectNoPass" serializeAs="String">
191
        <value>True</value>
192
      </setting>
193
      <setting name="FinalService" serializeAs="String">
194
        <value>tcp://localhost:7707/remFinalPDF</value>
195
      </setting>
196
    </KCOM_API.Properties.Settings>
197
  </applicationSettings>
198
</configuration>
클립보드 이미지 추가 (최대 크기: 500 MB)