markus / KCOM_API / Web.config @ master
이력 | 보기 | 이력해설 | 다운로드 (10.3 KB)
1 |
<?xml version="1.0" encoding="utf-8"?> |
---|---|
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 |
|
14 |
</configSections> |
15 |
|
16 |
<!--<system.diagnostics> |
17 |
<sources> |
18 |
<source name="System.ServiceModel.MessageLogging" switchValue="자세히,ActivityTracing"> |
19 |
<listeners> |
20 |
<add type="System.Diagnostics.DefaultTraceListener" name="Default"> |
21 |
<filter type=""/> |
22 |
</add> |
23 |
<add name="ServiceModelMessageLoggingListener"> |
24 |
<filter type=""/> |
25 |
</add> |
26 |
</listeners> |
27 |
</source> |
28 |
<source propagateActivity="true" name="System.ServiceModel" switchValue="자세히,ActivityTracing"> |
29 |
<listeners> |
30 |
<add type="System.Diagnostics.DefaultTraceListener" name="Default"> |
31 |
<filter type=""/> |
32 |
</add> |
33 |
<add name="ServiceModelTraceListener"> |
34 |
<filter type=""/> |
35 |
</add> |
36 |
</listeners> |
37 |
</source> |
38 |
</sources> |
39 |
<sharedListeners> |
40 |
<add initializeData="d:\source\repos\markus\kcom_api\web_messages.svclog" |
41 |
type="System.Diagnostics.XmlWriterTraceListener, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" |
42 |
name="ServiceModelMessageLoggingListener" traceOutputOptions="Timestamp"> |
43 |
<filter type=""/> |
44 |
</add> |
45 |
<add initializeData="d:\source\repos\markus\kcom_api\web_tracelog.svclog" |
46 |
type="System.Diagnostics.XmlWriterTraceListener, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" |
47 |
name="ServiceModelTraceListener" traceOutputOptions="Timestamp"> |
48 |
<filter type=""/> |
49 |
</add> |
50 |
</sharedListeners> |
51 |
<trace autoflush="false"/> |
52 |
</system.diagnostics>--> |
53 |
<connectionStrings> |
54 |
<add name="ConnectionString" |
55 |
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="data source=192.168.0.67;initial catalog=markus;persist security info=True;user id=doftech;password=dof1073#;multipleactiveresultsets=True;App=EntityFramework"" |
56 |
providerName="System.Data.EntityClient"/> |
57 |
<add name="CIConnectionString" |
58 |
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="data source=192.168.0.67;initial catalog=markus;persist security info=True;user id=doftech;password=dof1073#;multipleactiveresultsets=True;App=EntityFramework"" |
59 |
providerName="System.Data.EntityClient"/> |
60 |
</connectionStrings> |
61 |
<!-- |
62 |
web.config 변경 내용에 대한 설명은 http://go.microsoft.com/fwlink/?LinkId=235367을 참고하십시오. |
63 |
|
64 |
다음 특성은 <httpRuntime> 태그에 설정할 수 있습니다. |
65 |
<system.Web> |
66 |
<httpRuntime targetFramework="4.5" /> |
67 |
</system.Web> |
68 |
--> |
69 |
<system.web> |
70 |
<!--<httpRuntime executionTimeout="600"/>--> |
71 |
<compilation targetFramework="4.5" debug="true"/> |
72 |
<!--<pages controlRenderingCompatibilityVersion="4.0"/>--> |
73 |
<globalization requestEncoding="utf-8" responseEncoding="utf-8"/> |
74 |
<!--<httpModules> |
75 |
<add name="ServiceRedirector" type="KCOM_API.ServiceRedirector"/> |
76 |
</httpModules>--> |
77 |
</system.web> |
78 |
<!--<system.webServer> |
79 |
--><!--<modules> |
80 |
<add name="SessionEndModule" type="Markus.AddressModule"/> |
81 |
</modules>--><!-- |
82 |
<handlers> |
83 |
<add name="ImageHandler1" type="Markus.ImageHandler" verb="*" path="Authenticate"/> |
84 |
<add name="ImageHandler2" type="Markus.ImageHandler" verb="*" path="*.png"/> |
85 |
<add name="ImageHandler3" type="Markus.ImageHandler" verb="*" path="*.jpg"/> |
86 |
<add name="ImageHandler4" type="Markus.ImageHandler" verb="*" path="*.pdf"/> |
87 |
</handlers> |
88 |
<validation validateIntegratedModeConfiguration="false"/> |
89 |
</system.webServer>--> |
90 |
<system.serviceModel> |
91 |
<!--<protocolMapping> |
92 |
<remove scheme="http"/> |
93 |
<add scheme="http" binding="basicHttpBinding" bindingConfiguration="LargeBuffer"/> |
94 |
</protocolMapping>--> |
95 |
<protocolMapping> |
96 |
<add scheme="http" binding="basicHttpBinding" bindingConfiguration="LargeBuffer"/> |
97 |
<add scheme="https" binding="customBinding" bindingConfiguration="CustomHttpsBinding"/> |
98 |
</protocolMapping> |
99 |
<diagnostics wmiProviderEnabled="true" performanceCounters="All"> |
100 |
<messageLogging logEntireMessage="true" logKnownPii="true" logMalformedMessages="true" logMessagesAtServiceLevel="true" logMessagesAtTransportLevel="true"/> |
101 |
<endToEndTracing propagateActivity="true" activityTracing="true" messageFlowTracing="true"/> |
102 |
</diagnostics> |
103 |
<extensions> |
104 |
<bindingElementExtensions> |
105 |
<add name="WcfExtension" |
106 |
type="WcfExtensions.ServiceModel.Configuration.CompressionElement, WcfExtensions.ServiceModel, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null"/> |
107 |
</bindingElementExtensions> |
108 |
</extensions> |
109 |
<!--<diagnostics wmiProviderEnabled="true" performanceCounters="Default"> |
110 |
<messageLogging logEntireMessage="true" logMalformedMessages="true" |
111 |
logMessagesAtTransportLevel="true" /> |
112 |
<endToEndTracing activityTracing="true" messageFlowTracing="true" /> |
113 |
</diagnostics>--> |
114 |
<!--<diagnostics performanceCounters="Default"/>--> |
115 |
<behaviors> |
116 |
<endpointBehaviors> |
117 |
<behavior name="WebHttpBehavior"> |
118 |
<webHttp helpEnabled="true" defaultBodyStyle="Wrapped" defaultOutgoingResponseFormat="Json"/> |
119 |
</behavior> |
120 |
</endpointBehaviors> |
121 |
<serviceBehaviors> |
122 |
<behavior name="ServiceBehavior"> |
123 |
<serviceMetadata httpGetEnabled="true" httpsGetEnabled="true"/> |
124 |
<serviceDebug includeExceptionDetailInFaults="true"/> |
125 |
<dataContractSerializer maxItemsInObjectGraph="2147483647"/> |
126 |
<!--local https test용--> |
127 |
<!--<serviceCredentials> |
128 |
<clientCertificate> |
129 |
<authentication certificateValidationMode="PeerOrChainTrust" trustedStoreLocation="LocalMachine"/> |
130 |
</clientCertificate> |
131 |
<serviceCertificate findValue="ServerCert" x509FindType="FindBySubjectName" storeLocation="LocalMachine" storeName="My"/> |
132 |
</serviceCredentials>--> |
133 |
</behavior> |
134 |
</serviceBehaviors> |
135 |
</behaviors> |
136 |
<serviceHostingEnvironment aspNetCompatibilityEnabled="true" multipleSiteBindingsEnabled="true"/> |
137 |
<bindings> |
138 |
<basicHttpBinding> |
139 |
<binding name="LargeBuffer" closeTimeout="00:30:00" openTimeout="00:30:00" receiveTimeout="04:30:00" sendTimeout="04:30:00" maxBufferSize="2147483647" |
140 |
maxReceivedMessageSize="2147483647"> |
141 |
<readerQuotas maxDepth="2147483647" maxStringContentLength="2147483647" maxArrayLength="2147483647" maxBytesPerRead="2147483647" |
142 |
maxNameTableCharCount="2147483647"/> |
143 |
</binding> |
144 |
</basicHttpBinding> |
145 |
<customBinding> |
146 |
<binding name="CustomHttpsBinding" closeTimeout="00:30:00" openTimeout="00:30:00" receiveTimeout="00:30:00" sendTimeout="00:30:00"> |
147 |
<reliableSession/> |
148 |
<httpsTransport maxBufferPoolSize="2147483647" maxReceivedMessageSize="2147483647" requestInitializationTimeout="00:30:00" maxBufferSize="2147483647"/> |
149 |
</binding> |
150 |
</customBinding> |
151 |
</bindings> |
152 |
<services> |
153 |
<service behaviorConfiguration="ServiceBehavior" name="KCOM_API.ServiceDeepView"> |
154 |
<endpoint address="" binding="basicHttpBinding" bindingConfiguration="LargeBuffer" name="DeepViewPoint" contract="KCOM_API.ServiceDeepView"/> |
155 |
<!--<endpoint address="" binding="customBinding" bindingConfiguration="CustomHttpsBinding" name="HTTPSMarkusAPI" contract="KCOM_API.ServiceDeepView"/>--> |
156 |
<endpoint address="mex" binding="mexHttpBinding" contract="IMetadataExchange"/> |
157 |
<!--<host> |
158 |
<baseAddresses> |
159 |
<add baseAddress="https://localhost:44301/ServiceDeepView.svc"/> |
160 |
</baseAddresses> |
161 |
</host>--> |
162 |
</service> |
163 |
<service name="KCOM_API.MarkusService" behaviorConfiguration="ServiceBehavior"> |
164 |
<endpoint address="Rest" behaviorConfiguration="WebHttpBehavior" binding="webHttpBinding" bindingConfiguration="" name="MarkusServiceWebEndPoint" |
165 |
contract="KCOM_API.MarkusService"/> |
166 |
<endpoint binding="basicHttpBinding" bindingConfiguration="" name="MarkusServiceEndPoint" contract="KCOM_API.MarkusService"/> |
167 |
</service> |
168 |
</services> |
169 |
</system.serviceModel> |
170 |
<!--<system.webServer> |
171 |
<validation validateIntegratedModeConfiguration="false"/> |
172 |
<modules> |
173 |
<add name="ServiceRedirector" type="KCOM_API.ServiceRedirector"/> |
174 |
</modules> |
175 |
</system.webServer>--> |
176 |
|
177 |
<system.net> |
178 |
<settings> |
179 |
<httpListener> |
180 |
<timeouts minSendBytesPerSecond="4294967295"/> |
181 |
</httpListener> |
182 |
</settings> |
183 |
</system.net> |
184 |
<applicationSettings> |
185 |
<KCOM_API.Properties.Settings> |
186 |
<setting name="CovnertService" serializeAs="String"> |
187 |
<value>http://localhost:9101/StationService</value> |
188 |
</setting> |
189 |
<setting name="TileSoucePath" serializeAs="String"> |
190 |
<value>http://192.168.0.67:5977/TileSource/{0}_Tile/{1}/{2}/{3}.png</value> |
191 |
</setting> |
192 |
<setting name="TileSoucePath_SUB" serializeAs="String"> |
193 |
<value>http://192.168.0.67:5977/TileSource/{0}_Tile/{1}/{2}/{3}.png</value> |
194 |
</setting> |
195 |
<setting name="IsProjectNoPass" serializeAs="String"> |
196 |
<value>True</value> |
197 |
</setting> |
198 |
<setting name="FinalService" serializeAs="String"> |
199 |
<value>tcp://localhost:7707/remFinalPDF</value> |
200 |
</setting> |
201 |
</KCOM_API.Properties.Settings> |
202 |
</applicationSettings> |
203 |
<runtime> |
204 |
<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1"> |
205 |
<dependentAssembly> |
206 |
<assemblyIdentity name="System.Runtime.CompilerServices.Unsafe" publicKeyToken="b03f5f7f11d50a3a" culture="neutral"/> |
207 |
<bindingRedirect oldVersion="0.0.0.0-6.0.0.0" newVersion="6.0.0.0"/> |
208 |
</dependentAssembly> |
209 |
</assemblyBinding> |
210 |
</runtime> |
211 |
</configuration> |