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>
|
2016-11-10 16:39:07 +08:00
|
|
|
<section name="exceptionManagement" type="Longbow.ExceptionManagement.Configuration.ExceptionManagerSectionHandler, Longbow.ExceptionManagement" />
|
2016-10-20 17:55:29 +08:00
|
|
|
<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"/>
|
2016-11-09 21:56:33 +08:00
|
|
|
<add key="Admins" value="Argo;Test"/>
|
2016-11-28 12:45:08 +08:00
|
|
|
<add key="Passwords" value="3oXfIiPEbZVE+d8JeeLCCcgrTFBq813HGCFv9StZ8EA=;OYefBWRKrVPOrADTAe/YjY3LAOCuv2WCEXwE2An1X68="/>
|
2016-10-20 17:55:29 +08:00
|
|
|
</appSettings>
|
|
|
|
|
|
|
|
<connectionStrings>
|
2016-10-22 20:55:07 +08:00
|
|
|
<add name="SQL" providerName="System.Data.SqlClient" connectionString="Data Source=.;Initial Catalog=BootstrapAdmin;User ID=sa;Password=sa"/>
|
2016-12-06 15:49:50 +08:00
|
|
|
<add name="ba" 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>
|
2016-11-04 16:06:40 +08:00
|
|
|
<add key="MenuHelper-RetrieveMenus" interval="600" desc="所有菜单数据缓存" />
|
2016-11-07 21:41:17 +08:00
|
|
|
<add key="MenuHelper-RetrieveMenusByRoleId" interval="600" desc="角色菜单信息缓存" />
|
2016-11-04 16:06:40 +08:00
|
|
|
<add key="UserHelper-RetrieveUsers" interval="600" desc="所有用户数据缓存"/>
|
2016-11-19 10:53:59 +08:00
|
|
|
<add key="UserHelper-RetrieveUsersByName" interval="600" desc="指定用户数据缓存"/>
|
|
|
|
<add key="UserHelper-RetrieveUsersByRoleId" interval="600" desc="指定角色用户数据缓存"/>
|
|
|
|
<add key="UserHelper-RetrieveUsersByGroupId" interval="600" desc="指定组用户数据缓存"/>
|
2016-11-04 16:06:40 +08:00
|
|
|
<add key="RoleHelper-RetrieveRoles" interval="600" desc="所有角色数据缓存"/>
|
2016-11-19 10:53:59 +08:00
|
|
|
<add key="RoleHelper-RetrieveRolesByUserId" interval="600" desc="指定用户角色数据缓存"/>
|
|
|
|
<add key="RoleHelper-RetrieveRolesByMenuId" interval="600" desc="指定菜单角色数据缓存"/>
|
|
|
|
<add key="RoleHelper-RetrieveRolesByGroupId" interval="600" desc="指定组角色数据缓存"/>
|
2016-11-04 16:06:40 +08:00
|
|
|
<add key="GroupHelper-RetrieveGroups" interval="600" desc="所有组数据缓存"/>
|
2016-11-19 10:53:59 +08:00
|
|
|
<add key="GroupHelper-RetrieveGroupsByUserId" interval="600" desc="指定用户组数据缓存"/>
|
|
|
|
<add key="GroupHelper-RetrieveGroupsByRoleId" interval="600" desc="指定角色组数据缓存"/>
|
2016-11-04 16:06:40 +08:00
|
|
|
<add key="LogHelper-RetrieveLogs" interval="600" desc="所有日志数据缓存"/>
|
2016-11-05 18:44:41 +08:00
|
|
|
<add key="DictHelper-RetrieveDicts" interval="600" desc="所有字典数据缓存"/>
|
|
|
|
<add key="DictHelper-RetrieveDictsWebSettings" interval="600" desc="网站配置数据缓存"/>
|
2016-11-16 17:27:03 +08:00
|
|
|
<add key="DictHelper-RetrieveDictsIconPathSettings" interval="600" desc="网站头像目录缓存"/>
|
2016-11-17 20:01:28 +08:00
|
|
|
<add key="DictHelper-RetrieveDictsCategory" interval="6000" desc="字典分类数据缓存" />
|
2016-11-11 09:46:53 +08:00
|
|
|
<add key="NotificationHelper-RetrieveNotifications" interval="600" desc="通知管理数据缓存"/>
|
2016-11-11 21:05:41 +08:00
|
|
|
<add key="UserHelper-RetrieveNewUsers" interval="300" desc="新用户数据缓存" />
|
2016-11-11 21:44:41 +08:00
|
|
|
<add key="ExceptionHelper-RetrieveExceptions" interval="600" desc="程序异常数据缓存"/>
|
2016-11-19 10:53:59 +08:00
|
|
|
<add key="MessageHelper-RetrieveMessages" interval="600" desc="站内消息数据缓存" />
|
|
|
|
<add key="TaskHelper-RetrieveTasks" interval="600" desc="所有任务数据缓存" />
|
2016-12-06 15:49:50 +08:00
|
|
|
<add key="BootstrapAdminPrincipal-RetrieveRolesByUrl" interval="600" desc="指定菜单的角色数据缓存"/>
|
|
|
|
<add key="BootstrapAdminPrincipal-RetrieveRolesByUserName" interval="600" desc="指定用户名角色数据缓存"/>
|
2016-10-20 17:55:29 +08:00
|
|
|
</cacheManager>
|
|
|
|
|
2016-11-11 21:44:41 +08:00
|
|
|
|
2016-10-20 17:55:29 +08:00
|
|
|
<cacheManagerList>
|
|
|
|
<add key="bd" url="http://localhost:53233/CacheList.axd?cacheKey={0}" desc="系统缓存模块"/>
|
2016-11-25 16:52:52 +08:00
|
|
|
<add key="bccs" url="http://localhost:3609/CacheList.axd?cacheKey={0}" desc="集控系统缓存模块"/>
|
2016-10-20 17:55:29 +08:00
|
|
|
</cacheManagerList>
|
|
|
|
|
2016-11-10 16:39:07 +08:00
|
|
|
<exceptionManagement>
|
|
|
|
<publisher name="default" mode="On" exceptionFormat="File"/>
|
|
|
|
<publisher name="db" mode="On" assembly="Bootstrap.Admin" type="Bootstrap.Admin.DBPublisher"/>
|
|
|
|
</exceptionManagement>
|
|
|
|
|
2016-10-20 17:55:29 +08:00
|
|
|
<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>
|
2016-12-06 15:49:50 +08:00
|
|
|
<machineKey validation="SHA1" validationKey="78EA3850338FBADCE59D8DDF58C9E4518E75AC149C46142D7AAD7F1AD49D95D4" decryptionKey="684FC9301F404DE1B9565E7D9520AC579E823307BED44885" />
|
2016-10-20 17:55:29 +08:00
|
|
|
</system.web>
|
|
|
|
<system.webServer>
|
2016-11-01 16:11:41 +08:00
|
|
|
<staticContent>
|
|
|
|
<remove fileExtension=".woff"/>
|
|
|
|
<mimeMap fileExtension=".woff" mimeType="application/x-font-woff" />
|
|
|
|
<remove fileExtension=".woff2"/>
|
|
|
|
<mimeMap fileExtension=".woff2" mimeType="application/x-font-woff2" />
|
|
|
|
<remove fileExtension=".ttf" />
|
|
|
|
<mimeMap fileExtension=".ttf" mimeType="application/x-font-truetype" />
|
|
|
|
<remove fileExtension=".svg" />
|
|
|
|
<mimeMap fileExtension=".svg" mimeType="image/svg+xml" />
|
|
|
|
<remove fileExtension=".otf" />
|
|
|
|
<mimeMap fileExtension=".otf" mimeType="application/x-font-opentype" />
|
|
|
|
<remove fileExtension=".eot" />
|
|
|
|
<mimeMap fileExtension=".eot" mimeType="application/vnd.ms-fontobject" />
|
|
|
|
</staticContent>
|
2016-10-20 17:55:29 +08:00
|
|
|
<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"/>
|
2016-11-04 16:06:40 +08:00
|
|
|
<add name="CacheListHandler" verb="*" path="CacheList.axd" type="Longbow.Caching.CacheListHandler, Longbow.V4"/>
|
2016-10-20 17:55:29 +08:00
|
|
|
</handlers>
|
2016-11-22 15:25:37 +08:00
|
|
|
<modules runAllManagedModulesForAllRequests="true">
|
2016-11-04 16:06:40 +08:00
|
|
|
<add name="ExceptionManagement" type="Longbow.ExceptionManagement.ExceptionManagementModule, Longbow.ExceptionManagement"/>
|
2016-10-20 17:55:29 +08:00
|
|
|
</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>
|