BootstrapAdmin/Bootstrap.Admin/Web.config

104 lines
4.9 KiB
Plaintext
Raw Normal View History

2016-10-20 17:55:29 +08:00
<?xml version="1.0" encoding="utf-8"?>
<!--
For more information on how to configure your ASP.NET application, please visit
http://go.microsoft.com/fwlink/?LinkId=169433
-->
<configuration>
<configSections>
<section name="cacheManager" type="Longbow.Caching.Configuration.CacheSection, Longbow.V4"/>
<section name="cacheManagerList" type="Longbow.Caching.Configuration.CacheListSection, Longbow.V4"/>
</configSections>
<appSettings>
<add key="webpages:Version" value="3.0.0.0"/>
<add key="webpages:Enabled" value="false"/>
<add key="PreserveLoginUrl" value="true"/>
<add key="ClientValidationEnabled" value="true"/>
<add key="UnobtrusiveJavaScriptEnabled" value="true"/>
<add key="Admins" value="Argo"/>
2016-10-20 17:55:29 +08:00
</appSettings>
<connectionStrings>
<add name="SQL" providerName="System.Data.SqlClient" connectionString="Data Source=.;Initial Catalog=BootstrapAdmin;User ID=sa;Password=sa"/>
2016-10-20 17:55:29 +08:00
</connectionStrings>
<cacheManager>
<add key="TerminalData-CodeTerminalHelper" interval="600" desc="输入口信息缓存" />
2016-10-22 14:54:37 +08:00
<add key="GroupData-CodeGroupHelper" interval="600" desc="群组信息缓存" />
2016-10-28 20:18:12 +08:00
<add key="UserData-CodeUserHelper-Role-" interval="600" desc="角色用户信息缓存" />
2016-10-29 09:24:55 +08:00
<add key="GroupData-CodeGroupHelper-Role-" interval="600" desc="角色部门信息缓存" />
<add key="UserData-CodeUserHelper" interval="600" desc="用户信息缓存" />
<add key="UserData-CodeUserHelper-" interval="600" desc="用户信息缓存" />
2016-10-22 16:14:21 +08:00
<add key="RoleData-CodeRoleHelper" interval="600" desc="角色信息缓存" />
2016-10-26 21:32:54 +08:00
<add key="RoleData-CodeRoleHelper-" interval="600" desc="角色信息缓存" />
2016-10-28 14:45:09 +08:00
<add key="RoleData-CodeRoleHelper-Navigation-" interval="600" desc="菜单角色信息缓存"/>
2016-10-28 15:30:07 +08:00
<add key="MenuData-CodeMenuHelper" interval="600" desc="菜单信息缓存" />
2016-10-28 16:57:27 +08:00
<add key="LogData-CodeMenuHelper" interval="600" desc="日志信息缓存" />
2016-10-28 15:30:07 +08:00
<add key="DictData-CodeDictHelper" interval="600" desc="字典信息缓存" />
2016-10-29 17:38:23 +08:00
<add key="UserData-CodeUserHelper-Group-" interval="600" desc="用户信息缓存" />
2016-10-20 17:55:29 +08:00
</cacheManager>
<cacheManagerList>
<add key="bd" url="http://localhost:53233/CacheList.axd?cacheKey={0}" desc="系统缓存模块"/>
</cacheManagerList>
<system.web>
<compilation debug="true" targetFramework="4.5"/>
<httpRuntime targetFramework="4.5"/>
2016-10-21 16:35:26 +08:00
<authentication mode="Forms">
<forms defaultUrl="~/" loginUrl="~/Home/Login" name="__bd__" protection="All" />
</authentication>
2016-10-20 17:55:29 +08:00
<pages>
<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"/>
2016-10-21 16:35:26 +08:00
</namespaces>
2016-10-20 17:55:29 +08:00
</pages>
<httpModules>
</httpModules>
</system.web>
<system.webServer>
<validation validateIntegratedModeConfiguration="false"/>
<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>
<modules>
</modules>
</system.webServer>
<runtime>
<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
<dependentAssembly>
<assemblyIdentity name="Newtonsoft.Json" culture="neutral" publicKeyToken="30ad4fe6b2a6aeed"/>
<bindingRedirect oldVersion="0.0.0.0-6.0.0.0" newVersion="6.0.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.Mvc" publicKeyToken="31bf3856ad364e35"/>
<bindingRedirect oldVersion="1.0.0.0-5.2.0.0" newVersion="5.2.0.0"/>
</dependentAssembly>
<dependentAssembly>
<assemblyIdentity name="System.Web.Optimization" publicKeyToken="31bf3856ad364e35"/>
<bindingRedirect oldVersion="1.0.0.0-1.1.0.0" newVersion="1.1.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>
<dependentAssembly>
<assemblyIdentity name="WebGrease" publicKeyToken="31bf3856ad364e35"/>
<bindingRedirect oldVersion="0.0.0.0-1.5.2.14234" newVersion="1.5.2.14234"/>
</dependentAssembly>
</assemblyBinding>
</runtime>
</configuration>