markus / KCOM_API / Web.config @ 3b938959
이력 | 보기 | 이력해설 | 다운로드 (9.69 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="data source=cloud.devdoftech.co.kr,7777;initial catalog=markus;persist security info=True;user id=doftech;password=dof1073#;multipleactiveresultsets=True;App=EntityFramework"" |
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="data source=cloud.devdoftech.co.kr,7777;initial catalog=markus;persist security info=True;user id=doftech;password=dof1073#;multipleactiveresultsets=True;App=EntityFramework"" |
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="https" binding="customBinding" bindingConfiguration="CustomHttpsBinding"/> |
95 |
</protocolMapping> |
96 |
<diagnostics wmiProviderEnabled="true" performanceCounters="All"> |
97 |
<messageLogging logEntireMessage="true" logKnownPii="true" logMalformedMessages="true" logMessagesAtServiceLevel="true" logMessagesAtTransportLevel="true"/> |
98 |
<endToEndTracing propagateActivity="true" activityTracing="true" messageFlowTracing="true"/> |
99 |
</diagnostics> |
100 |
<extensions> |
101 |
<bindingElementExtensions> |
102 |
<add name="WcfExtension" |
103 |
type="WcfExtensions.ServiceModel.Configuration.CompressionElement, WcfExtensions.ServiceModel, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null"/> |
104 |
</bindingElementExtensions> |
105 |
</extensions> |
106 |
<!--<diagnostics wmiProviderEnabled="true" performanceCounters="Default"> |
107 |
<messageLogging logEntireMessage="true" logMalformedMessages="true" |
108 |
logMessagesAtTransportLevel="true" /> |
109 |
<endToEndTracing activityTracing="true" messageFlowTracing="true" /> |
110 |
</diagnostics>--> |
111 |
<!--<diagnostics performanceCounters="Default"/>--> |
112 |
<behaviors> |
113 |
<endpointBehaviors> |
114 |
<behavior name="WebHttpBehavior"> |
115 |
<webHttp helpEnabled="true" defaultBodyStyle="Wrapped" defaultOutgoingResponseFormat="Json"/> |
116 |
</behavior> |
117 |
</endpointBehaviors> |
118 |
<serviceBehaviors> |
119 |
<behavior name="ServiceBehavior"> |
120 |
<serviceMetadata httpGetEnabled="true" httpsGetEnabled="true"/> |
121 |
<serviceDebug includeExceptionDetailInFaults="true"/> |
122 |
<dataContractSerializer maxItemsInObjectGraph="2147483647"/> |
123 |
<!--local https test용--> |
124 |
<!--<serviceCredentials> |
125 |
<clientCertificate> |
126 |
<authentication certificateValidationMode="PeerOrChainTrust" trustedStoreLocation="LocalMachine"/> |
127 |
</clientCertificate> |
128 |
<serviceCertificate findValue="ServerCert" x509FindType="FindBySubjectName" storeLocation="LocalMachine" storeName="My"/> |
129 |
</serviceCredentials>--> |
130 |
</behavior> |
131 |
</serviceBehaviors> |
132 |
</behaviors> |
133 |
<serviceHostingEnvironment aspNetCompatibilityEnabled="true" multipleSiteBindingsEnabled="true"/> |
134 |
<bindings> |
135 |
<basicHttpBinding> |
136 |
<binding name="LargeBuffer" closeTimeout="00:30:00" openTimeout="00:30:00" receiveTimeout="04:30:00" sendTimeout="04:30:00" maxBufferSize="2147483647" |
137 |
maxReceivedMessageSize="2147483647"> |
138 |
<readerQuotas maxDepth="2147483647" maxStringContentLength="2147483647" maxArrayLength="2147483647" maxBytesPerRead="2147483647" |
139 |
maxNameTableCharCount="2147483647"/> |
140 |
</binding> |
141 |
</basicHttpBinding> |
142 |
<customBinding> |
143 |
<binding name="CustomHttpsBinding" closeTimeout="00:30:00" openTimeout="00:30:00" receiveTimeout="00:30:00" sendTimeout="00:30:00"> |
144 |
<reliableSession/> |
145 |
<httpsTransport maxBufferPoolSize="2147483647" maxReceivedMessageSize="2147483647" requestInitializationTimeout="00:30:00" maxBufferSize="2147483647"/> |
146 |
</binding> |
147 |
</customBinding> |
148 |
</bindings> |
149 |
<services> |
150 |
<service behaviorConfiguration="ServiceBehavior" name="KCOM_API.ServiceDeepView"> |
151 |
<endpoint address="" binding="basicHttpBinding" bindingConfiguration="LargeBuffer" name="DeepViewPoint" contract="KCOM_API.ServiceDeepView"/> |
152 |
<endpoint address="" binding="customBinding" bindingConfiguration="CustomHttpsBinding" name="HTTPSMarkusAPI" contract="KCOM_API.ServiceDeepView"/> |
153 |
<endpoint address="mex" binding="mexHttpBinding" contract="IMetadataExchange"/> |
154 |
<!--<host> |
155 |
<baseAddresses> |
156 |
<add baseAddress="https://localhost:44301/ServiceDeepView.svc"/> |
157 |
</baseAddresses> |
158 |
</host>--> |
159 |
</service> |
160 |
<service name="KCOM_API.MarkusService" behaviorConfiguration="ServiceBehavior"> |
161 |
<endpoint address="Rest" behaviorConfiguration="WebHttpBehavior" binding="webHttpBinding" bindingConfiguration="" name="MarkusServiceWebEndPoint" |
162 |
contract="KCOM_API.MarkusService"/> |
163 |
<endpoint binding="basicHttpBinding" bindingConfiguration="" name="MarkusServiceEndPoint" contract="KCOM_API.MarkusService"/> |
164 |
</service> |
165 |
</services> |
166 |
</system.serviceModel> |
167 |
<!--<system.webServer> |
168 |
<validation validateIntegratedModeConfiguration="false"/> |
169 |
<modules> |
170 |
<add name="ServiceRedirector" type="KCOM_API.ServiceRedirector"/> |
171 |
</modules> |
172 |
</system.webServer>--> |
173 |
|
174 |
<system.net> |
175 |
<settings> |
176 |
<httpListener> |
177 |
<timeouts minSendBytesPerSecond="4294967295"/> |
178 |
</httpListener> |
179 |
</settings> |
180 |
</system.net> |
181 |
<applicationSettings> |
182 |
<KCOM_API.Properties.Settings> |
183 |
<setting name="TileSoucePath" serializeAs="String"> |
184 |
<value>http://192.168.0.67:5977/TileSource/{0}_Tile/{1}/{2}/{3}.png</value> |
185 |
</setting> |
186 |
<setting name="TileSoucePath_SUB" serializeAs="String"> |
187 |
<value>http://192.168.0.67:5977/TileSource/{0}_Tile/{1}/{2}/{3}.png</value> |
188 |
</setting> |
189 |
<setting name="IsProjectNoPass" serializeAs="String"> |
190 |
<value>True</value> |
191 |
</setting> |
192 |
<setting name="FinalService" serializeAs="String"> |
193 |
<value>tcp://localhost:9093/remFinalPDF</value> |
194 |
</setting> |
195 |
</KCOM_API.Properties.Settings> |
196 |
</applicationSettings> |
197 |
</configuration> |