프로젝트

일반

사용자정보

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

markus / KCOM_API / Web.config @ dbddfdd0

이력 | 보기 | 이력해설 | 다운로드 (9.1 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=cloud.devdoftech.co.kr,7777;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=cloud.devdoftech.co.kr,7777;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
 <diagnostics wmiProviderEnabled="true" performanceCounters="All">
94
   <messageLogging logEntireMessage="true" logKnownPii="true" logMalformedMessages="true" logMessagesAtServiceLevel="true" logMessagesAtTransportLevel="true"/>
95
   <endToEndTracing propagateActivity="true" activityTracing="true" messageFlowTracing="true"/>
96
 </diagnostics>
97
 <extensions>
98
		  <bindingElementExtensions>
99
			  <add name="WcfExtension"
100
			    type="WcfExtensions.ServiceModel.Configuration.CompressionElement, WcfExtensions.ServiceModel, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null"/>
101
		  </bindingElementExtensions>
102
	  </extensions>
103
    <!--<diagnostics wmiProviderEnabled="true" performanceCounters="Default">
104
      <messageLogging logEntireMessage="true" logMalformedMessages="true"
105
        logMessagesAtTransportLevel="true" />
106
      <endToEndTracing activityTracing="true" messageFlowTracing="true" />
107
    </diagnostics>-->
108
    <!--<diagnostics performanceCounters="Default"/>-->
109
    <behaviors>
110
      <endpointBehaviors>
111
        <behavior name="WebHttpBehavior">
112
          <webHttp helpEnabled="true" defaultBodyStyle="Wrapped" defaultOutgoingResponseFormat="Json"/>
113
        </behavior>
114
      </endpointBehaviors>
115
      <serviceBehaviors>
116
        <behavior name="KCOM_API.SilverlightServiceBehavior">
117
          <serviceMetadata httpGetEnabled="true"/>
118
          <serviceDebug includeExceptionDetailInFaults="false"/>
119
          <dataContractSerializer maxItemsInObjectGraph="2147483647"/>
120
        </behavior>
121
        <behavior name="">
122
          <serviceMetadata httpGetEnabled="true" httpsGetEnabled="true"/>
123
          <serviceDebug includeExceptionDetailInFaults="false"/>
124
        </behavior>
125
      </serviceBehaviors>
126
    </behaviors>
127
    <serviceHostingEnvironment aspNetCompatibilityEnabled="true" multipleSiteBindingsEnabled="true"/>
128
    <bindings>
129
      <basicHttpBinding>
130
        <binding name="LargeBuffer" closeTimeout="00:30:00" openTimeout="00:30:00" receiveTimeout="04:30:00" sendTimeout="04:30:00" maxBufferSize="2147483647"
131
          maxReceivedMessageSize="2147483647">
132
          <readerQuotas maxDepth="2147483647" maxStringContentLength="2147483647" maxArrayLength="2147483647" maxBytesPerRead="2147483647"
133
            maxNameTableCharCount="2147483647"/>
134
        </binding>
135
      </basicHttpBinding>
136
      <customBinding>
137
        <binding name="customCompressionBinding">
138
          <WcfExtension level="Fast"/>
139
          <httpTransport maxBufferPoolSize="2147483647" maxReceivedMessageSize="2147483647" requestInitializationTimeout="00:03:00" maxBufferSize="2147483647"/>
140
        </binding>
141
      </customBinding>
142
    </bindings>
143
    <services>
144
      <service behaviorConfiguration="KCOM_API.SilverlightServiceBehavior" name="KCOM_API.ServiceDeepView">
145
        <endpoint address="" binding="basicHttpBinding" bindingConfiguration="LargeBuffer" name="DeepViewPoint" contract="KCOM_API.ServiceDeepView"/>
146
        <endpoint address="GZIP" binding="customBinding" bindingConfiguration="customCompressionBinding" name="MarkusAPIgzip"
147
          contract="KCOM_API.ServiceDeepView"/>
148
        <endpoint address="mex" binding="mexHttpBinding" contract="IMetadataExchange"/>
149
      </service>
150
      <service name="KCOM_API.MarkusService">
151
        <endpoint address="Rest" behaviorConfiguration="WebHttpBehavior" binding="webHttpBinding" bindingConfiguration="" name="MarkusServiceWebEndPoint"
152
          contract="KCOM_API.MarkusService"/>
153
        <endpoint binding="basicHttpBinding" bindingConfiguration="" name="MarkusServiceEndPoint" contract="KCOM_API.MarkusService"/>
154
      </service>
155
    </services>
156
  </system.serviceModel>
157
  <!--<system.webServer>
158
    <validation validateIntegratedModeConfiguration="false"/>
159
	  <modules>
160
		  <add name="ServiceRedirector" type="KCOM_API.ServiceRedirector"/>
161
	  </modules>
162
  </system.webServer>-->
163
	
164
	<system.net>
165
		<settings>
166
			<httpListener>
167
				<timeouts minSendBytesPerSecond="4294967295"/>
168
			</httpListener>
169
		</settings>
170
	</system.net>
171
  <applicationSettings>
172
    <KCOM_API.Properties.Settings>
173
      <setting name="TileSoucePath" serializeAs="String">
174
        <value>http://192.168.0.67:5977/TileSource/{0}_Tile/{1}/{2}/{3}.png</value>
175
      </setting>
176
      <setting name="TileSoucePath_SUB" serializeAs="String">
177
        <value>http://192.168.0.67:5977/TileSource/{0}_Tile/{1}/{2}/{3}.png</value>
178
      </setting>
179
      <setting name="IsProjectNoPass" serializeAs="String">
180
        <value>True</value>
181
      </setting>
182
      <setting name="FinalService" serializeAs="String">
183
        <value>tcp://localhost:9093/remFinalPDF</value>
184
      </setting>
185
    </KCOM_API.Properties.Settings>
186
  </applicationSettings>
187
</configuration>
클립보드 이미지 추가 (최대 크기: 500 MB)