RMS.Manage.Web/Web.config

(开头部分) 8KB

这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。

<?xml version="1.0"?>
<!--
  For more information on how to configure your ASP.NET application, please visit
  http://go.microsoft.com/fwlink/?LinkId=301880
  -->
<configuration>
  <configSections>
    <!-- For more information on Entity Framework configuration, visit http://go.microsoft.com/fwlink/?LinkID=237468 -->
    <section name="entityFramework" type="System.Data.Entity.Internal.ConfigFile.EntityFrameworkSection, EntityFramework, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" requirePermission="false"/>
    <sectionGroup name="elmah">
      <section name="security" requirePermission="false" type="Elmah.SecuritySectionHandler, Elmah"/>
      <section name="errorLog" requirePermission="false" type="Elmah.ErrorLogSectionHandler, Elmah"/>
      <section name="errorMail" requirePermission="false" type="Elmah.ErrorMailSectionHandler, Elmah"/>
      <section name="errorFilter" requirePermission="false" type="Elmah.ErrorFilterSectionHandler, Elmah"/>
    </sectionGroup>
  </configSections>
  <connectionStrings>
    <!--<add name="RMSEntities" connectionString="metadata=res://*/RMS.csdl|res://*/RMS.ssdl|res://*/RMS.msl;provider=System.Data.SqlClient;provider connection string=&quot;data source=.\SQLSERVER2012;initial catalog=RMS;persist security info=True;user id=sa;password=Tiandihui123;MultipleActiveResultSets=True;App=EntityFramework&quot;" providerName="System.Data.EntityClient" />-->
    <add name="RMSEntities" connectionString="metadata=res://*/RMS.csdl|res://*/RMS.ssdl|res://*/RMS.msl;provider=System.Data.SqlClient;provider connection string=&quot;data source=.;initial catalog=RMS;persist security info=True;user id=sa;password=51Aspx;MultipleActiveResultSets=True;App=EntityFramework&quot;" providerName="System.Data.EntityClient"/>
  </connectionStrings>
  <appSettings>
    <add key="webpages:Version" value="3.0.0.0"/>
    <add key="webpages:Enabled" value="false"/>
    <add key="ClientValidationEnabled" value="true"/>
    <add key="UnobtrusiveJavaScriptEnabled" value="true"/>
    <add key="elmah.mvc.disableHandler" value="false"/>
    <add key="elmah.mvc.disableHandleErrorFilter" value="false"/>
    <add key="elmah.mvc.requiresAuthentication" value="false"/>
    <add key="elmah.mvc.IgnoreDefaultRoute" value="false"/>
    <add key="elmah.mvc.allowedRoles" value="*"/>
    <add key="elmah.mvc.allowedUsers" value="*"/>
    <add key="elmah.mvc.route" value="elmah"/>
    <add key="elmah.mvc.UserAuthCaseSensitive" value="true"/>
    <!--IIS的虚拟目录-->
    <!--<add key="VirtualDirectory" value="/rms" />-->
    <add key="VirtualDirectory" value=""/>
    <!--模块名称-->
    <add key="AppName" value="RMS"/>
    <!--Redis链接地址-->
    <!--<add key="RedisHosts" value="Hewenlong123@192.168.1.40:6379"/>-->
    <add key="RedisHosts" value="127.0.0.1:6379"/>
    <!--MongoDB链接地址-->
    <add key="MongoDBUrl" value="mongodb://192.168.1.40:3717?maxPoolSize=4&amp;w=majority"/>
    <!--<add key="MongoDBUrl" value="mongodb://root:Hewenlong123@dds-2ze07f469e5917641.mongodb.rds.aliyuncs.com:3717,dds-2ze07f469e5917642.mongodb.rds.aliyuncs.com:3717/admin?maxPoolSize=5&amp;w=majority&amp;replicaSet=mgset-2997739&amp;readPreference=secondaryPreferred" />-->
    <!--错误日志记录方式,默认使用NLog,还可使用MongoDB-->
    <add key="LogType" value="NLog"/>
  </appSettings>
  <!--
    有关 web.config 更改的说明,请参见 http://go.microsoft.com/fwlink/?LinkId=235367。

    可在 <httpRuntime> 标记上设置以下特性。
      <system.Web>
        <httpRuntime targetFramework="4.5.2" />
      </system.Web>
  -->
  <system.web>
    <compilation debug="true" targetFramework="4.8"/>
    <httpRuntime requestValidationMode="2.0"/>
    <pages validateRequest="false" controlRenderingCompatibilityVersion="4.0"/>
    <authentication mode="Forms">
后面还有 81 行代码,解锁后查看完整代码

24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明

AI 解读 AI

登录后可用,每次 10 算力,解读结果公开显示在下面。

还没有人解读过这个文件。