ASP.NET 配置文件
2020-11-27 09:56
标签:des blog code ext http c 花了点时间整理了一下ASP.NET
Web.config配置文件的基本使用方法。很适合新手参看,由于Web.config在使用很灵活,可以自定义一些节点。所以这里只介绍一些比较常用的节点。 configuration> configSections>
appSettings> connectionStrings> location path="Default.aspx"
allowOverride="false"> system.web> identity
impersonate="false" />
pages
masterPageFile="Index" theme="Default" buffer="true" enableViewStateMac="true"
validateRequest="false" enableViewState="false">
customErrors
defaultRedirect="Err.html" mode="RemoteOnly">
trace enabled="true"
localOnly="false" pageOutput="true" requestLimit="15"
traceMode="SortByCategory"/> compilation debug="true"
defaultLanguage="c#" batch="false">
assemblies>
buildProviders> authentication
mode="Forms"> authorization> globalization
requestEncoding="gb2312" responseEncoding="gb2312" fileEncoding="gb2312"
/> sessionState
mode="InProc" stateConnectionString="tcpip=127.0.0.1:42424"
sqlConnectionString="data source=127.0.0.1;Trusted_Connection=yes"
cookieless="false" timeout="20"> httpRuntime
appRequestQueueLimit="100" executionTimeout="80" maxRequestLength="40960"
useFullyQualifiedRedirectUrl="false"/> httpModules>
httpHandlers> httpCookies
httpOnlyCookies="false" requireSSL="false"/> webServices> caching>
system.net> mailSettings> defaultProxy> system.webServer> system.web.extensions> system.serviceModel>
rewriter> ASP.NET 配置文件,搜素材,soscw.com ASP.NET 配置文件 标签:des blog code ext http c 原文地址:http://www.cnblogs.com/ydchw/p/3708281.html