53 lines
2.4 KiB
XML
53 lines
2.4 KiB
XML
<configuration>
|
|
<configSections>
|
|
<sectionGroup name="SuperMap.RealEstate" >
|
|
<section name="FrameWork" type="System.Configuration.NameValueSectionHandler" />
|
|
<section name="HousingSecurity" type="System.Configuration.NameValueSectionHandler" />
|
|
</sectionGroup>
|
|
</configSections>
|
|
<SuperMap.RealEstate>
|
|
<FrameWork configSource="Configuration\RealEstate.FrameWork.config" />
|
|
<HousingSecurity configSource="Configuration\RealEstate.HousingSecurity.config" />
|
|
</SuperMap.RealEstate>
|
|
<runtime>
|
|
<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
|
|
<dependentAssembly>
|
|
<assemblyIdentity name="Newtonsoft.Json" culture="neutral" publicKeyToken="30ad4fe6b2a6aeed" />
|
|
<bindingRedirect oldVersion="6.0.0.0" newVersion="12.0.0.0" />
|
|
</dependentAssembly>
|
|
</assemblyBinding>
|
|
</runtime>
|
|
<system.web>
|
|
<sessionState mode="StateServer" stateConnectionString="tcpip=127.0.0.1:42424" />
|
|
<compilation debug="true" targetFramework="4.0">
|
|
</compilation>
|
|
<pages validateRequest="false"/>
|
|
<httpRuntime requestValidationMode="2.0" maxRequestLength="102400" executionTimeout="300" />
|
|
</system.web>
|
|
<system.webServer>
|
|
<httpProtocol>
|
|
<customHeaders>
|
|
<add name="X-UA-Compatible" value="IE=Edge"/>
|
|
<add name="Access-Control-Allow-Origin" value="*" />
|
|
<add name="Access-Control-Allow-Headers" value="*" />
|
|
<add name="Access-Control-Allow-Methods" value="GET, POST, PUT, DELETE" />
|
|
</customHeaders>
|
|
</httpProtocol>
|
|
<modules runAllManagedModulesForAllRequests="true" />
|
|
</system.webServer>
|
|
<appSettings configSource="Configuration\appSetting.config" />
|
|
<connectionStrings configSource="Configuration\connectionStrings.config" />
|
|
<system.serviceModel>
|
|
<!--客户端终结点配置-->
|
|
<client configSource="Configuration\serviceModel.client.config" />
|
|
<!--服务端的服务配置-->
|
|
<services configSource="Configuration\serviceModel.services.config" />
|
|
<!--标准绑定和自定义绑定的配置-->
|
|
<bindings configSource="Configuration\serviceModel.bindings.config" />
|
|
<!--终结点和服务的行为配置-->
|
|
<behaviors configSource="Configuration\serviceModel.behaviors.config" />
|
|
<!--服务承载环境要为特定传输实例化的类型-->
|
|
<serviceHostingEnvironment multipleSiteBindingsEnabled="true"
|
|
aspNetCompatibilityEnabled="true" />
|
|
</system.serviceModel>
|
|
</configuration> |