You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
105 lines
5.7 KiB
105 lines
5.7 KiB
<?xml version="1.0" encoding="utf-8"?>
|
|
<configuration>
|
|
<appSettings>
|
|
<add key="PageInspector:ServerCodeMappingSupport" value="Disabled" />
|
|
<add key="ValidationSettings:UnobtrusiveValidationMode" value="None" />
|
|
<add key="IsNightlyUpdate" value="False" />
|
|
<add key="IsProtectData" value="False" />
|
|
<add key="ApiPrefix" value="api" />
|
|
<add key="AdminDirectory" value="SiteServer" />
|
|
<add key="HomeDirectory" value="Home" />
|
|
<add key="SecretKey" value="81cef9bf3fe5c612" />
|
|
<!-- <add key="DatabaseType" value="SqlServer" />
|
|
<add key="ConnectionString" value="Server=dev.siteserver.cn;Uid=sa;Pwd=Brtech88;Database=update;" /> -->
|
|
<!-- <add key="ConnectionString" value="Server=dev.siteserver.cn;Uid=sa;Pwd=Brtech88;Database=008;" /> -->
|
|
<!-- <add key="DatabaseType" value="MySql" />
|
|
<add key="ConnectionString" value="server=dev.siteserver.cn;uid=root;pwd=Brtech88;database=6.0;SslMode=none;CharSet=utf8;" /> -->
|
|
<add key="DatabaseType" value="Oracle" />
|
|
<add key="ConnectionString" value="Data Source=(DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=dev.siteserver.cn)(PORT=1521))(CONNECT_DATA=(SERVICE_NAME=CMS)));User ID=SITESERVER;Password=BRtech88;pooling=false;" />
|
|
</appSettings>
|
|
<!--
|
|
有关 web.config 更改的说明,请参见 http://go.microsoft.com/fwlink/?LinkId=235367。
|
|
|
|
可在 <httpRuntime> 标记上设置以下特性。
|
|
<system.Web>
|
|
<httpRuntime targetFramework="4.5.2" />
|
|
</system.Web>
|
|
-->
|
|
<system.web>
|
|
<httpRuntime targetFramework="4.5" requestValidationMode="2.0" requestPathInvalidCharacters="" maxRequestLength="2097152" executionTimeout="2000" useFullyQualifiedRedirectUrl="false" minFreeThreads="8" minLocalRequestFreeThreads="4" appRequestQueueLimit="100" enableVersionHeader="false" />
|
|
<pages validateRequest="false" enableSessionState="true" enableViewState="true" enableEventValidation="false" controlRenderingCompatibilityVersion="4.0" clientIDMode="AutoID" />
|
|
<customErrors mode="Off" />
|
|
<sessionState mode="InProc" timeout="30" />
|
|
<trace enabled="false" requestLimit="1000" pageOutput="true" traceMode="SortByTime" localOnly="false" />
|
|
<globalization fileEncoding="utf-8" requestEncoding="utf-8" responseEncoding="utf-8" />
|
|
<compilation targetFramework="4.5.2" debug="true" />
|
|
</system.web>
|
|
<system.webServer>
|
|
<modules runAllManagedModulesForAllRequests="true">
|
|
<remove name="WebDAVModule" />
|
|
<remove name="UrlRoutingModule-4.0" />
|
|
<add name="UrlRoutingModule-4.0" type="System.Web.Routing.UrlRoutingModule" preCondition="" />
|
|
</modules>
|
|
|
|
<security>
|
|
<requestFiltering>
|
|
<requestLimits maxAllowedContentLength="2147483648" />
|
|
</requestFiltering>
|
|
</security>
|
|
<directoryBrowse enabled="false" />
|
|
<defaultDocument>
|
|
<files>
|
|
<add value="index.shtml" />
|
|
</files>
|
|
</defaultDocument>
|
|
<handlers>
|
|
<remove name="ExtensionlessUrlHandler-Integrated-4.0" />
|
|
<remove name="OPTIONSVerbHandler" />
|
|
<remove name="TRACEVerbHandler" />
|
|
<add name="ExtensionlessUrlHandler-Integrated-4.0" path="*." verb="*" type="System.Web.Handlers.TransferRequestHandler" preCondition="integratedMode,runtimeVersionv4.0" />
|
|
</handlers></system.webServer>
|
|
<runtime>
|
|
<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
|
|
<dependentAssembly>
|
|
<assemblyIdentity name="Newtonsoft.Json" publicKeyToken="30ad4fe6b2a6aeed" culture="neutral" />
|
|
<bindingRedirect oldVersion="0.0.0.0-10.0.0.0" newVersion="10.0.0.0" />
|
|
</dependentAssembly>
|
|
<dependentAssembly>
|
|
<assemblyIdentity name="System.Web.Http" publicKeyToken="31bf3856ad364e35" culture="neutral" />
|
|
<bindingRedirect oldVersion="0.0.0.0-5.2.6.0" newVersion="5.2.6.0" />
|
|
</dependentAssembly>
|
|
<dependentAssembly>
|
|
<assemblyIdentity name="System.Net.Http.Formatting" publicKeyToken="31bf3856ad364e35" culture="neutral" />
|
|
<bindingRedirect oldVersion="0.0.0.0-5.2.6.0" newVersion="5.2.6.0" />
|
|
</dependentAssembly>
|
|
<dependentAssembly>
|
|
<assemblyIdentity name="Microsoft.Owin" publicKeyToken="31bf3856ad364e35" culture="neutral" />
|
|
<bindingRedirect oldVersion="0.0.0.0-4.0.0.0" newVersion="4.0.0.0" />
|
|
</dependentAssembly>
|
|
<dependentAssembly>
|
|
<assemblyIdentity name="System.Web.Cors" publicKeyToken="31bf3856ad364e35" culture="neutral" />
|
|
<bindingRedirect oldVersion="0.0.0.0-5.2.6.0" newVersion="5.2.6.0" />
|
|
</dependentAssembly>
|
|
<dependentAssembly>
|
|
<assemblyIdentity name="Microsoft.Owin.Security" publicKeyToken="31bf3856ad364e35" culture="neutral" />
|
|
<bindingRedirect oldVersion="0.0.0.0-3.1.0.0" newVersion="3.1.0.0" />
|
|
</dependentAssembly>
|
|
<dependentAssembly>
|
|
<assemblyIdentity name="System.Security.Cryptography.X509Certificates" publicKeyToken="b03f5f7f11d50a3a" culture="neutral" />
|
|
<bindingRedirect oldVersion="0.0.0.0-4.1.1.2" newVersion="4.1.1.2" />
|
|
</dependentAssembly>
|
|
<dependentAssembly>
|
|
<assemblyIdentity name="System.Security.Cryptography.Algorithms" publicKeyToken="b03f5f7f11d50a3a" culture="neutral" />
|
|
<bindingRedirect oldVersion="0.0.0.0-4.1.0.0" newVersion="4.1.0.0" />
|
|
</dependentAssembly>
|
|
<dependentAssembly>
|
|
<assemblyIdentity name="System.Web.Helpers" publicKeyToken="31bf3856ad364e35" />
|
|
<bindingRedirect oldVersion="1.0.0.0-3.0.0.0" newVersion="3.0.0.0" />
|
|
</dependentAssembly>
|
|
<dependentAssembly>
|
|
<assemblyIdentity name="System.Web.WebPages" publicKeyToken="31bf3856ad364e35" />
|
|
<bindingRedirect oldVersion="1.0.0.0-3.0.0.0" newVersion="3.0.0.0" />
|
|
</dependentAssembly>
|
|
</assemblyBinding>
|
|
</runtime>
|
|
</configuration>
|