📄 web.config
字号:
<?xml version="1.0" encoding="utf-8" ?>
<configuration>
<appSettings>
<add key="ConnectionString" value="SERVER=localhost;UID=acode;PWD=2761236;DataBase=SxShop31" />
</appSettings>
<system.web>
<!-- enable Forms authentication -->
<authentication mode="Forms">
<forms name="SimpleStoreAuth" loginUrl="Admin/login.aspx" protection="All" path="/" />
</authentication>
<!-- enable custom errors for the application -->
<customErrors mode="Off" defaultRedirect="ErrorPage.aspx" />
<!-- disable session state for application -->
<sessionState mode="InProc"/>
<!-- set maxRequestLength-->
<httpRuntime maxRequestLength="104096" executionTimeout="3600"/>
</system.web>
<location path="Admin">
<system.web>
<authorization>
<deny users="?" />
</authorization>
</system.web>
</location>
</configuration>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -