web.config

(开头部分) 2KB

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

<?xml version="1.0"?>
<configuration>
  <configSections>
    <section name="entityFramework" type="System.Data.Entity.Internal.ConfigFile.EntityFrameworkSection, EntityFramework, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" requirePermission="false" />
  </configSections>
  <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="aspnet:MaxJsonDeserializerMembers" value="10000" />
    <add key="Domain" value="http://localhost:11679" />
    <add key="DomainConstraint" value="equal" />
    <add key="InstallEnabled" value="false" />
  </appSettings>
  <connectionStrings>
    <add name="Default" connectionString="Data Source=.;Initial Catalog=PageAdmin;User ID=sa;Password=51Aspx;pooling=True;MultipleActiveResultSets=True;App=PageAdmin" providerName="System.Data.SqlClient" />
  </connectionStrings>
  <!--
    For a description of web.config changes see http://go.microsoft.com/fwlink/?LinkId=235367.

    The following attributes can be set on the <httpRuntime> tag.
      <system.Web>
        <httpRuntime targetFramework="4.8" />
      </system.Web>
  -->
  <system.web>
    <!--
     targetFramework注意版本,开发环境为4.6.1,但是部分虚拟主机(如阿里云虚拟主机)只支持4.5,如果服务器不支持.NET Framework4.6.1,可自行修改targetFramework="4.5"的版本号
 -->
    <compilation targetFramework="4.8" />
    <!--
      httpRuntime节点的maxRequestLength的单位为kb,根据实际需求设置,不要设置太大,避免存在恶意请求占用服务器资源
 -->
    <httpRuntime targetFramework="4.5" maxRequestLength="10240" executionTimeout="6000" enableVersionHeader="false" />
    <httpModules />
    <globalization requestEncoding="utf-8" responseEncoding="utf-8" fileEncoding="utf-8" />
    <httpCookies httpOnlyCookies="true" requireSSL="false" domain="" />
    <sessionState mode="InProc" cookieName="sid" cookieless="false" stateConnectionString="tcpip=127.0.0.1:42424" timeout="30" />
    <customErrors mode="Off" />
    <pages controlRenderingCompatibilityVersion="3.5" clientIDMode="AutoID" />
  </system.web>
  <system.webServer>
    <modules />
    <httpErrors errorMode="DetailedLocalOnly">
      <remove statusCode="404" subStatusCode="-1" />
      <remove statusCode="500" subStatusCode="-1" />
      <error statusCode="404" prefixLanguageFilePath="" path="/E/HttpException/NotFound/" responseMode="ExecuteURL" />
      <error statusCode="500" prefixLanguageFilePath="" path="/E/HttpException/Error/" responseMode="ExecuteURL" />
    </httpErrors>
    <security>
      <requestFiltering>
        <!--
          maxAllowedContentLength最大值为4294967295字节(3.99GB),使用中建议修改maxRequestLength的值即可。
          -->
        <requestLimits maxAllowedContentLength="4294967295" />
      </requestFiltering>
    </security>
  </system.webServer>
  <runtime>

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

AI 解读

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

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