프로젝트

일반

사용자정보

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

markus / KCOM_API / Web.config @ 6a19b48d

이력 | 보기 | 이력해설 | 다운로드 (7.01 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
  <connectionStrings>
15
    <add name="ConnectionString"
16
      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;"
17
      providerName="System.Data.EntityClient"/>
18
    <add name="CIConnectionString"
19
      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;"
20
      providerName="System.Data.EntityClient"/>
21
  </connectionStrings>
22
  <!--
23
    web.config 변경 내용에 대한 설명은  http://go.microsoft.com/fwlink/?LinkId=235367을 참고하십시오.
24

    
25
    다음 특성은 <httpRuntime> 태그에 설정할 수 있습니다.
26
      <system.Web>
27
        <httpRuntime targetFramework="4.5" />
28
      </system.Web>
29
  -->
30
  <system.web>
31
    <!--<httpRuntime executionTimeout="600"/>-->
32
    <compilation targetFramework="4.5" debug="true"/>
33
    <pages controlRenderingCompatibilityVersion="4.0"/>
34
    <globalization requestEncoding="utf-8" responseEncoding="utf-8"/>
35
	  <!--<httpModules>
36
		  <add name="ServiceRedirector" type="KCOM_API.ServiceRedirector"/>
37
	  </httpModules>-->
38
  </system.web>
39
  <system.serviceModel>
40
	<extensions>
41
		  <bindingElementExtensions>
42
			  <add name="WcfExtension"
43
			  	  type="WcfExtensions.ServiceModel.Configuration.CompressionElement, WcfExtensions.ServiceModel, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null"/>
44
		  </bindingElementExtensions>
45
	  </extensions>
46
    <!--<diagnostics wmiProviderEnabled="true" performanceCounters="Default">
47
      <messageLogging logEntireMessage="true" logMalformedMessages="true"
48
        logMessagesAtTransportLevel="true" />
49
      <endToEndTracing activityTracing="true" messageFlowTracing="true" />
50
    </diagnostics>-->
51
    <!--<diagnostics performanceCounters="Default"/>-->
52
    <behaviors>
53
      <endpointBehaviors>
54
        <behavior name="WebHttpBehavior">
55
          <webHttp helpEnabled="true" defaultBodyStyle="Wrapped" defaultOutgoingResponseFormat="Json"/>
56
        </behavior>
57
      </endpointBehaviors>
58
      <serviceBehaviors>
59
        <behavior name="KCOM_API.SilverlightServiceBehavior">
60
          <serviceMetadata httpGetEnabled="true"/>
61
          <serviceDebug includeExceptionDetailInFaults="false"/>
62
          <dataContractSerializer maxItemsInObjectGraph="2147483647"/>
63
        </behavior>
64
        <behavior name="">
65
          <serviceMetadata httpGetEnabled="true" httpsGetEnabled="true"/>
66
          <serviceDebug includeExceptionDetailInFaults="false"/>
67
        </behavior>
68
      </serviceBehaviors>
69
    </behaviors>
70
    <serviceHostingEnvironment aspNetCompatibilityEnabled="true" multipleSiteBindingsEnabled="true"/>
71
    <bindings>
72
      <basicHttpBinding>
73
        <binding name="LargeBuffer" closeTimeout="00:30:00" openTimeout="00:30:00" receiveTimeout="04:30:00" sendTimeout="04:30:00" maxBufferSize="2147483647"
74
          maxReceivedMessageSize="2147483647">
75
          <readerQuotas maxDepth="2147483647" maxStringContentLength="2147483647" maxArrayLength="2147483647" maxBytesPerRead="2147483647"
76
            maxNameTableCharCount="2147483647"/>
77
        </binding>
78
      </basicHttpBinding>
79
      <wsHttpBinding>
80
        <binding name="wsHttpBinding" maxBufferPoolSize="2147483647" maxReceivedMessageSize="2147483647">
81
          <readerQuotas maxDepth="2147483647" maxStringContentLength="2147483647" maxArrayLength="2147483647" maxBytesPerRead="2147483647"
82
            maxNameTableCharCount="2147483647"/>
83
          <security mode="Transport">
84
            <transport clientCredentialType="None"/>
85
          </security>
86
        </binding>
87
      </wsHttpBinding>
88
	<customBinding>
89
        <binding name="customCompressionBinding">
90
		  <WcfExtension level="Fast"/>
91
          <httpTransport maxBufferPoolSize="2147483647" maxReceivedMessageSize="2147483647" requestInitializationTimeout="00:03:00" maxBufferSize="2147483647">
92
            <!-- <webSocketSettings keepAliveInterval="00:03:00" maxPendingConnections="500" /> -->
93
          </httpTransport>
94
        </binding>
95
      </customBinding>
96
    </bindings>
97
    <services>
98
      <service behaviorConfiguration="KCOM_API.SilverlightServiceBehavior" name="KCOM_API.ServiceDeepView">
99
        <endpoint address="" binding="basicHttpBinding" bindingConfiguration="LargeBuffer" name="DeepViewPoint" contract="KCOM_API.ServiceDeepView"/>
100
		<endpoint address="GZIP" binding="customBinding" bindingConfiguration="customCompressionBinding" name="MarkusAPIgzip" contract="KCOM_API.ServiceDeepView"/>
101
        <endpoint address="mex" binding="mexHttpBinding" contract="IMetadataExchange"/>
102
      </service>
103
      <service name="KCOM_API.MarkusService">
104
        <endpoint address="Rest" behaviorConfiguration="WebHttpBehavior" binding="webHttpBinding" bindingConfiguration="" name="MarkusServiceWebEndPoint"
105
          contract="KCOM_API.MarkusService"/>
106
        <endpoint binding="basicHttpBinding" bindingConfiguration="" name="MarkusServiceEndPoint" contract="KCOM_API.MarkusService"/>
107
      </service>
108
    </services>
109
  </system.serviceModel>
110
  <!--<system.webServer>
111
    <validation validateIntegratedModeConfiguration="false"/>
112
	  <modules>
113
		  <add name="ServiceRedirector" type="KCOM_API.ServiceRedirector"/>
114
	  </modules>
115
  </system.webServer>-->
116
	<system.webServer>
117
		<validation validateIntegratedModeConfiguration="false"/>
118
	</system.webServer>
119
  <applicationSettings>
120
    <KCOM_API.Properties.Settings>
121
      <setting name="TileSoucePath" serializeAs="String">
122
        <value>http://192.168.0.67:5977/TileSource/{0}_Tile/{1}/{2}/{3}.png</value>
123
      </setting>
124
      <setting name="TileSoucePath_SUB" serializeAs="String">
125
        <value>http://192.168.0.67:5977/TileSource/{0}_Tile/{1}/{2}/{3}.png</value>
126
      </setting>
127
      <setting name="IsProjectNoPass" serializeAs="String">
128
        <value>True</value>
129
      </setting>
130
      <setting name="FinalService" serializeAs="String">
131
        <value>tcp://localhost:9092/remFinalPDF</value>
132
      </setting>
133
    </KCOM_API.Properties.Settings>
134
  </applicationSettings>
135
</configuration>
클립보드 이미지 추가 (최대 크기: 500 MB)