Web.config
(开头部分) 3KB这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。
<?xml version="1.0"?>
<configuration>
<appSettings/>
<connectionStrings>
<add name="DefaultConnection" connectionString="Data Source=.;Initial Catalog=eFrameWorkDemo;User Id=sa;Password=51Aspx;" 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.1" />
</system.Web>
-->
<system.web>
<httpModules>
<add name="eHttpModule" type="EKETEAM.FrameWork.eHttpModule"/>
</httpModules>
<customErrors mode="Off"/>
<compilation debug="true" targetFramework="4.8">
<assemblies/>
</compilation>
<globalization requestEncoding="utf-8" responseEncoding="utf-8" fileEncoding="utf-8" culture="zh-CN" uiCulture="zh-CN"/>
<!--允许上传内容最大长度maxRequestLength 单位:KB-->
<httpRuntime requestValidationMode="2.0" maxRequestLength="2097151" executionTimeout="3600" enableVersionHeader="false"/>
<!--<authentication mode="Windows"/> -->
<pages controlRenderingCompatibilityVersion="4.0" clientIDMode="AutoID" validateRequest="false">
<!-- 引入类库的命名空间 -->
<namespaces>
<add namespace="EKETEAM.Data"/>
<add namespace="EKETEAM.FrameWork"/>
<add namespace="EKETEAM.UserControl"/>
</namespaces>
<controls>
<add tagPrefix="ev" namespace="EKETEAM.UserControl" assembly="EKETEAM"/>
</controls>
</pages>
<!--安全性需要:调用Session10分钟过期 -->
<sessionState mode="InProc" timeout="10"/>
</system.web>
<!-- 集成模式 -->
<system.webServer>
<!--安全性需要:关闭IIS目录浏览功能 -->
<directoryBrowse enabled="false"/>
<modules>
<add name="eStaticFileModule" type="EKETEAM.FrameWork.eStaticFileModule"/>
<add name="eHttpModule" type="EKETEAM.FrameWork.eHttpModule" preCondition="managedHandler"/>
</modules>
<httpProtocol>
<customHeaders>
<remove name="Server"/>
<remove name="X-Powered-By"/>
</customHeaders>
</httpProtocol>
<!--不继承上级站点配置-->
<validation validateIntegratedModeConfiguration="false"/>
<!--设置默认文档-->
<defaultDocument>
<files>
后面还有 23 行代码,解锁后查看完整代码
24 小时内免费解锁 3 个项目,之后 1 积分/个。 规则说明
AI 解读
登录后可用,每次 10 积分,解读结果公开显示在下面。
还没有人解读过这个文件。
