1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798 |
- <?xml version="1.0"?>
- <configuration>
- <configSections>
- <section name="redisconfig" type="LeaRun.Cache.Redis.RedisConfigInfo,LeaRun.Cache.Redis"/>
- <section name="unity" type="Microsoft.Practices.Unity.Configuration.UnityConfigurationSection,Microsoft.Practices.Unity.Configuration"/>
- <section name="entityFramework" type="System.Data.Entity.Internal.ConfigFile.EntityFrameworkSection, EntityFramework, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" requirePermission="false"/>
- </configSections>
- <redisconfig configSource="XmlConfig\redis.config"/>
- <unity configSource="XmlConfig\ioc.config"/>
- <connectionStrings configSource="XmlConfig\database.config"/>
- <appSettings configSource="XmlConfig\system.config"/>
- <!--
- 有关 .NET 4.5 的 web.config 更改的说明,请参见 http://go.microsoft.com/fwlink/?LinkId=235367。
- 可在 <httpRuntime> 标记上设置以下特性。
- <system.Web>
- <httpRuntime targetFramework="4.5" />
- </system.Web>
- -->
- <system.web>
- <sessionState mode="InProc" timeout="180"/>
- <compilation debug="true" targetFramework="4.5"/>
- <customErrors mode="Off" defaultRedirect="\Error\ErrorPath404"/>
- <pages controlRenderingCompatibilityVersion="4.0">
- <namespaces>
- <add namespace="System.Web.Helpers"/>
- <add namespace="System.Web.Mvc"/>
- <add namespace="System.Web.Mvc.Ajax"/>
- <add namespace="System.Web.Mvc.Html"/>
- <add namespace="System.Web.Routing"/>
- <add namespace="System.Web.WebPages"/>
- </namespaces>
- </pages>
- <webServices >
- <protocols >
- <add name="HttpSoap"/>
- <add name="HttpPost"/>
- <add name="HttpGet"/>
- <add name="Documentation"/>
- </protocols>
- </webServices>
- </system.web>
- <system.webServer>
- <validation validateIntegratedModeConfiguration="false"/>
- <modules runAllManagedModulesForAllRequests="true"/>
- <handlers>
- <remove name="ExtensionlessUrlHandler-ISAPI-4.0_32bit"/>
- <remove name="ExtensionlessUrlHandler-ISAPI-4.0_64bit"/>
- <remove name="ExtensionlessUrlHandler-Integrated-4.0"/>
- <add verb="*" path="*.asmx" name="asmx" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />
- <add name="ExtensionlessUrlHandler-ISAPI-4.0_32bit" path="*." verb="GET,HEAD,POST,DEBUG,PUT,DELETE,PATCH,OPTIONS" modules="IsapiModule" scriptProcessor="%windir%\Microsoft.NET\Framework\v4.0.30319\aspnet_isapi.dll" preCondition="classicMode,runtimeVersionv4.0,bitness32" responseBufferLimit="0"/>
- <add name="ExtensionlessUrlHandler-ISAPI-4.0_64bit" path="*." verb="GET,HEAD,POST,DEBUG,PUT,DELETE,PATCH,OPTIONS" modules="IsapiModule" scriptProcessor="%windir%\Microsoft.NET\Framework64\v4.0.30319\aspnet_isapi.dll" preCondition="classicMode,runtimeVersionv4.0,bitness64" responseBufferLimit="0"/>
- <add name="ExtensionlessUrlHandler-Integrated-4.0" path="*." verb="GET,HEAD,POST,DEBUG,PUT,DELETE,PATCH,OPTIONS" type="System.Web.Handlers.TransferRequestHandler" preCondition="integratedMode,runtimeVersionv4.0"/>
- </handlers>
- <defaultDocument>
- <files>
- <clear/>
- <add value="index.htm"/>
- <add value="Default.htm"/>
- <add value="Default.asp"/>
- <add value="index.html"/>
- <add value="iisstart.htm"/>
- <add value="default.aspx"/>
- </files>
- </defaultDocument>
- </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.Net.Http" publicKeyToken="b03f5f7f11d50a3a" culture="neutral"/>
- <bindingRedirect oldVersion="0.0.0.0-4.0.0.0" newVersion="4.0.0.0"/>
- </dependentAssembly>
- <dependentAssembly>
- <assemblyIdentity name="WebGrease" publicKeyToken="31bf3856ad364e35" culture="neutral"/>
- <bindingRedirect oldVersion="0.0.0.0-1.5.2.14234" newVersion="1.5.2.14234"/>
- </dependentAssembly>
- <dependentAssembly>
- <assemblyIdentity name="System" publicKeyToken="b77a5c561934e089" culture="neutral"/>
- <bindingRedirect oldVersion="0.0.0.0-4.0.0.0" newVersion="4.0.0.0"/>
- </dependentAssembly>
- <dependentAssembly>
- <assemblyIdentity name="System.Data" publicKeyToken="b77a5c561934e089" culture="neutral"/>
- <bindingRedirect oldVersion="0.0.0.0-4.0.0.0" newVersion="4.0.0.0"/>
- </dependentAssembly>
- </assemblyBinding>
- </runtime>
- <entityFramework>
- <defaultConnectionFactory type="System.Data.Entity.Infrastructure.LocalDbConnectionFactory, EntityFramework">
- <parameters>
- <parameter value="v11.0"/>
- </parameters>
- </defaultConnectionFactory>
- </entityFramework>
- </configuration>
|