asp.net mvc 路由配置支持的配置文件有哪些

asp.net&中的&WebConfig配置文件详解(下)
&assemblies&
&add assembly="System.Security, Version=2.0.0.0,
Culture=neutral,
PublicKeyToken=B03F5F7F11D50A3A"/&
&add assembly="pression.Formats,
Version=1.0.5357.0, Culture=neutral,
PublicKeyToken=BA83FF368B7563C6"/&
&add assembly="System.Runtime.Remoting,
Version=2.0.0.0, Culture=neutral,
PublicKeyToken=B77A5C"/&
&add assembly="pression,
Version=2.3.5357.0, Culture=neutral,
PublicKeyToken=BA83FF368B7563C6"/&
&add assembly="System.Configuration.Install,
Version=2.0.0.0, Culture=neutral,
PublicKeyToken=B03F5F7F11D50A3A"/&
&add assembly="System.ServiceProcess,
Version=2.0.0.0, Culture=neutral,
PublicKeyToken=B03F5F7F11D50A3A"/&
&add assembly="System.Management, Version=2.0.0.0,
Culture=neutral,
PublicKeyToken=B03F5F7F11D50A3A"/&
&add assembly="System.Data.OracleClient,
Version=2.0.0.0, Culture=neutral,
PublicKeyToken=B77A5C"/&
&add assembly="System.Messaging, Version=2.0.0.0,
Culture=neutral,
PublicKeyToken=B03F5F7F11D50A3A"/&
&add assembly="System.Design, Version=2.0.0.0,
Culture=neutral,
PublicKeyToken=B03F5F7F11D50A3A"/&
&add assembly="System.Windows.Forms,
Version=2.0.0.0, Culture=neutral,
PublicKeyToken=B77A5C"/&
&add assembly="Microsoft.ApplicationBlocks.Data,
Version=1.8.0.0, Culture=neutral,
PublicKeyToken=BB095"/&
&add assembly="Microsoft.Web.Services2,
Version=2.0.1.0, Culture=neutral,
PublicKeyToken=31BF"/&
&add assembly="System, Version=1.0.5000.0,
Culture=neutral,
PublicKeyToken=B77A5C"/&
&add assembly="System.Xml, Version=1.0.5000.0,
Culture=neutral,
PublicKeyToken=B77A5C"/&
&add assembly="System.Web.Services,
Version=1.0.5000.0, Culture=neutral,
PublicKeyToken=B03F5F7F11D50A3A"/&
&add assembly="System.Configuration.Install,
Version=1.0.5000.0, Culture=neutral,
PublicKeyToken=B03F5F7F11D50A3A"/&
&add assembly="System.Web, Version=1.0.5000.0,
Culture=neutral,
PublicKeyToken=B03F5F7F11D50A3A"/&
&add assembly="System.Security, Version=1.0.5000.0,
Culture=neutral,
PublicKeyToken=B03F5F7F11D50A3A"/&
&add assembly="System.ServiceProcess,
Version=1.0.5000.0, Culture=neutral,
PublicKeyToken=B03F5F7F11D50A3A"/&
&add assembly="System.Windows.Forms,
Version=1.0.5000.0, Culture=neutral,
PublicKeyToken=B77A5C"/&
&add assembly="System.DirectoryServices,
Version=2.0.0.0, Culture=neutral,
PublicKeyToken=B03F5F7F11D50A3A"/&
&add assembly="monPlatform,
Version=1.8.0.0, Culture=neutral,
PublicKeyToken=BB095"/&
&add assembly="MS.Alchemy.Core, Version=1.8.0.0,
Culture=neutral,
PublicKeyToken=BB095"/&
&add assembly="MS.Alchemy.GlobalStore,
Version=1.8.0.0, Culture=neutral,
PublicKeyToken=BB095"/&
&add assembly="MS.Alchemy.LocalStore,
Version=1.8.0.0, Culture=neutral,
PublicKeyToken=BB095"/&
&add assembly="stdole, Version=7.0.3300.0,
Culture=neutral,
PublicKeyToken=B03F5F7F11D50A3A"/&
&add assembly="Microsoft.ReportViewer.WebForms,
Version=8.0.0.0, Culture=neutral,
PublicKeyToken=B03F5F7F11D50A3A"/&
&add assembly="mon,
Version=8.0.0.0, Culture=neutral,
PublicKeyToken=B03F5F7F11D50A3A"/&
&add assembly="Microsoft.VisualBasic,
Version=8.0.0.0, Culture=neutral,
PublicKeyToken=B03F5F7F11D50A3A"/&
&add assembly="Microsoft.Office.Interop.Excel,
Version=12.0.0.0, Culture=neutral,
PublicKeyToken=71E9BCE111E9429C"/&
&/assemblies&
&buildProviders&
&add extension=".rdlc"
type="Microsoft.Reporting.RdlBuildProvider,
mon, Version=8.0.0.0, Culture=neutral,
PublicKeyToken=b03f5f7f11d50a3a"/&
&/buildProviders&
&/compilation&
&!--mode :
具有On,Off,RemoteOnly 3种状态。On表示始终显示自定义的信息; Off表示始终显示详细的asp.net错误信息;
RemoteOnly表示只对不在本地Web服务器上运行的用户显示自定义信息.--&
&!--&customErrors& 为
asp.NET 应用程序提供有关自定义错误信息的信息。它不适用于 xml Web services
中发生的错误。--&
&customErrors mode="RemoteOnly"
defaultRedirect="Error.aspx"&
statusCode="440" redirect="err440.aspx"/&
statusCode="550" redirect="err550.aspx"/&
&/customErrors&
&!--authentication作用:配置 asp.NET
身份验证支持(为Windows、Forms、PassPort、None四种)。该元素只能在计算机、站点或应用程序级别声明。&
authentication&
元素必需与&authorization&
节配合使用。--&
&!--&authentication
mode="Windows"/&--&
&!--Windows: 使用IIS验证方式
Forms: 使用基于窗体的验证方式
Passport: 采用Passport cookie验证模式
None: 不采用任何验证方式--&
&authentication mode="Forms"&
name=".ASPUSERDEMO" loginUrl="Login.aspx" protection="All"
timeout="30" /&
&/authentication&
&!--.Name: 指定完成身份验证的Http cookie的名称.
LoginUrl: 如果未通过验证或超时后重定向的页面URL,一般为登录页面,让用户重新登录
Protection: 指定 cookie数据的保护方式.
&&& 可设置为: All
None Encryption Validation四种保护方式
All表示加密数据,并进行有效性验证两种方式
None表示不保护Cookie.
Encryption表示对Cookie内容进行加密
validation表示对Cookie内容进行有效性验证
TimeOut: 指定Cookie的失效时间. 超时后要重新登录.--&
&!--&authorization&
&& 作用:控制对 URL
资源的客户端访问(如允许匿名用户访问)。此元素可以在任何级别(计算机、站点、应用程序、子目录或页)上声明。必需与&authentication&
节配合使用。
&& 示例:以下示例禁止匿名用户的访问
注:你可以使用user.identity.name来获取已经过验证的当前的用户名;
可以使用web.Security.FormsAuthentication.RedirectFromLoginPage方法将已验证的用户重定向到用户刚才请求的页面
&authorization&
users="?"/&
&/authorization&
&!--asp.net 关于form认证的一般设置:
1: 在web.config中,加入form认证;
&authentication mode="Forms"&
&forms name="auth" loginUrl="index.aspx"
timeout="30"&&/forms&
&/authentication&
&authorization&
&deny users="?" /&
&/authorization&
2: 如果有注册页面时还应该允许匿名用户调用注册页面进行注册;
以下代码应该在&configuration&&system.web&之间,而不应该包含到&system.web&..&/system.web&之间;
----------------表示允许匿名用户对 userReg.aspx页面进行访问.
&& &location
path="userReg.aspx"&
&system.web&
&authorization&
&allow users="?" /&
&/authorization&
&/system.web&
&/location&
3 在登录成功后要创建身份验证票, 表明已经通过认证的合法用户;
if(登陆成功)
System.Web.Security.FormsAuthentication.SetAuthCookie(用户名称,
false);--&
&!--&identity
impersonate="true"
userName="registry:HKLM\SOFTWARE\ORE\identity\ASPNET_SETREG,userName"
password="registry:HKLM\SOFTWARE\ORE\identity\ASPNET_SETREG,password"/&--&
&!--&identity impersonate="true"
userName="REDMOND\OREPP"
password="@ct@BER_3RD"/&--&
&identity impersonate="true"
userName="REDMOND\OREPP"
password="nOvbEr_igtH"/&
&!--&trace&
配置 asp.NET 跟踪服务,主要用来程序测试判断哪里出错。
示例:以下为Web.config中的默认配置:
enabled="false"表示不启用跟踪;
requestLimit="10"表示指定在服务器上存储的跟踪请求的数目
pageOutput="false"表示只能通过跟踪实用工具访问跟踪输出;
traceMode="SortByTime"表示以处理跟踪的顺序来显示跟踪信息
localOnly="true" 表示跟踪查看器 (trace.axd) 只用于宿主 Web 服务器
&trace enabled="false" requestLimit="10"
pageOutput="true" traceMode="SortByTime"
localOnly="true"/&
&!--&sessionState&
为当前应用程序配置会话状态设置(如设置是否启用会话状态,会话状态保存位置)。--&
&sessionState mode="InProc"
stateConnectionString="tcpip=127.0.0.1:42424"
sqlConnectionString="data source=127.0.0.1;user id=password="
cookieless="false" timeout="1440" /&
&!--&sessionState mode="InProc"
stateConnectionString="tcpip=127.0.0.1:42424"
sqlConnectionString="data source=127.0.0.1;Integrated
Security=SSPI" cookieless="false"
timeout="1440"/&--&
&!--.mode:
分为off,Inproc,StateServer,SqlServer几种状态
mode = InProc 存储在进程中特点:具有最佳的性能,速度最快,但不能跨多台服务器存储共享.
mode = "StateServer"
存储在状态服务器中特点:&&
当需要跨服务器维护用户会话信息时,使用此方法。但是信息存储在状态服务器上,一旦状态服务器出现故障,信息将丢失
mode="SqlServer" 存储在sql server中特点:工作负载会变大,但信息不会丢失.
stateConnectionString :
设置将session信息存储在状态服务中时使用的服务器名称和端口号,默认是本机,当mode的值是StateServer是,这个属性是必需的。例如:"tcpip=127.0.0.1:42424”。
sqlConnectionString:设置与sql server连接时的连接字符串。例如"data source=
Integrated Security=SSPI;Initial
Catalog=northwind"。当mode的值是 SQLServer时,这个属性是必需的
Cookieless:设置为true时,表示不使用cookie会话状态来标识客户;否则,相反.
TimeOut:用来定义会话状态存储的时间,超过期限,将自动终止会话.--&
&!--asp.NET中客户端session状态的存储
  常有的session模型中,session状态应该存储在两个地方,分别是客户端和服务器端。客户端只负责保存相应网站的SessionID,而其他的session信息则保存在服务器端。
在asp中,客户端的SessionID实际是以Cookie的形式存储的。如果用户在浏览器的设置中选择了禁用Cookie,那末他也就无法享受session的便利之处了,甚至造成不能访问某些网站。
为了解决以上问题,在 asp.NET中客户端的session信息存储方式分为:Cookie和Cookieless两种。
  asp.NET中,默认状态下,在客户端还是使用Cookie存储session信息的。如果我们想在客户端使用Cookieless的方式存储session信息的方法如下:
  找到当前Web应用程序的根目录,将cookieless="false"改为:cookieless="true",这样,客户端的session信息就不再使用
Cookie存储了,而是将其通过URL存储。
重新访问Web应用程序,就会看到类似下面的样子:其中,)
/default.aspx中黑体标出的就是客户端的session ID。
注意,这段信息是由IIS自动加上的,不会影响以前正常的连接。--&
当mode的值是InProc时,说明服务器正在使用这种模式。
这种方式和以前asp中的模式一样,就是服务器将session信息存储在IIS进程中。当IIS关闭、重起后,这些信息都会丢失。但是这种模式也有自己最大好处,就是性能最高。应为所有的session信息都存储在了IIS的进程中,所以IIS能够很快的访问到这些信息,这种模式的性能比进程外存储session信息或是在sql
server中存储session信息都要快上很多。这种模式也是asp.NET的默认方式。
将服务器session信息存储在进程外
(1)打开管理工具-&服务,找到名为:asp.NET State
Service的服务,启动它。实际上,这个服务就是启动一个要保存session信息的进程。启动这个服务后,你可以从Windows任务管理器-&进程中看到一个名为
aspnet_state.exe的进程,这个就是我们保存session信息的进程。
(2)将mode的值改为StateServer。
  实际上,这种将session信息存储在进程外的方式不光指可以将信息存储在本机的进程外,还可以将session信息存储在其他的服务器的进程中。这时,不光需要将mode的值改为StateServer,还需要在stateConnectionString中配置相应的参数。例如你的计算你是192.168.0.1,你想把session存储在ip为192.168.0.2的计算机的进程中,就需要设置成这样:
stateConnectionString="tcpip=192.168.0.2:42424"。当然,不要忘记在192.168.0.2的计算机中装上.NET
Framework,并且启动asp.NET State Services服务。
将服务器session信息存储在sql server中
(1)启动sql server和sql server代理服务。在sql server中执行一个叫做
InstallSqlState.sql的脚本文件。这个脚本文件将在sql
server中创建一个用来专门存储session信息的数据库,及一个维护session信息数据库的sql
server代理作业。
可以在以下路径中找到那个文件:
[system drive]\winnt\Microsoft.NET\Framework\[version]\
(2)打开查询分析器,连接到sql
server服务器,打开刚才的那个文件并且执行。稍等片刻,数据库及作业就建立好了。这时,可以打开企业管理器,看到新增了一个叫ASPState的数据库。但是这个数据库中只是些存储过程,没有用户表。实际上session信息是存储在了tempdb
数据库的ASPStateTempSessions表中的,另外一个ASPStateTempApplications表存储了asp中
application对象信息。这两个表也是刚才的那个脚本建立的。另外查看管理-&SQL
server代理-&作业,发现也多了一个叫做ASPState_Job_DeleteExpiredSessions的作业,这个作业实际上就是每分钟去ASPStateTempSessions
表中删除过期的session信息的。
  接着,我们返回到Web.config文件,修改mode的值改为SQLServer。注意,还要同时修改sqlConnectionString的值,格式为:sqlConnectionString="data
source= Integrated Security=SSPI;"
  其中data source是指sql server服务器的ip地址,如果sql
server与IIS是一台机子,写127.0.0.1 就行了。Integrated
Security=SSPI的意思是使用Windows集成身份验证,这样,访问数据库将以asp.NET的身份进行,通过如此配置,能够获得比使用sql
server验证方式更好的安全性。当然,如果sql server运行于另一台计算机上,你可能会需要通过Active
Directory域的方式来维护两边验证的一致性。
&globalization
requestEncoding="utf-8" responseEncoding="utf-8"
culture="en-US"/&
&!--requestEncoding:
它用来检查每一个发来请求的编码,responseEncoding: 用于检查发回的响应内容编码,fileEncoding:
用于检查aspx,asax等文件解析的默认编码--&
&!--&webServices&
&soapExtensionTypes&
type="Microsoft.Web.Services2.WebServicesExtension,
Microsoft.Web.Services2, Version=2.0.1.0, Culture=neutral,
PublicKeyToken=31bf" priority="1"
group="0"/&
&/soapExtensionTypes&
&/webServices&--&
&!--&httpRuntime&配置
asp.NET HTTP
运行库设置。该节可以在计算机、站点、应用程序和子目录级别声明。--&
&!--Eg:控制用户上传文件最大为4M,最长时间为60秒,最多请求数为100--&
&httpRuntime maxRequestLength="4000"
executionTimeout="60"
appRequestQueueLimit="100"/&
&!--&httpRuntime
executionTimeout="36000" useFullyQualifiedRedirectUrl="true"
maxRequestLength="81920"/&--&
&!--&pages&
标识特定于页的配置设置(如是否启用会话状态、视图状态,是否检测用户的输入等)。可以在计算机、站点、应用程序和子目录级别声明。--&
&!--示例:不检测用户在浏览器输入的内容中是否存在潜在的危险数据(注:该项默认是检测,如果你使用了不检测,一定要对用户的输入进行编码或验证),在从客户端回发页时将检查加密的视图状态,以验证视图状态是否已在客户端被篡改。(注:该项默认是不验证)--&
&pages validateRequest="false" buffer="true"
enableViewStateMac="true" /&
&/system.web&
&!--特定应用程序配置 特点:
位于&appSetting&,可以定义应用程序的全局常量设置等信息--&
&system.runtime.remoting&
&application&
&wellknown type="ClientStore, LocalTransactionStore"
&channels&
&channel ref="http" port="0"&
&clientProviders&
&formatter ref="binary"/&
&/clientProviders&
&/channel&
&/channels&
&/application&
&/system.runtime.remoting&
&!--UAT--&
&monplatform&
&runtime directory="C:\Program Files\Microsoft
Alchemy\Common Platform 1.8\metadata"
stsprimary="ACPSTS.partners."
clientname="6E8D3B96-4F-E26ED15F1A33" hostname=""
instrumentationlevel="0" minimumcompressionpercent="10"
maxdatasize="4000" mode="Native" proxyprocessor="Required"
stssecondary="" tracelevel="5"
transactionloglevel="Request|Response" ltsmachine="localhost"
ltsport="8000" ltsmode="Remoting"
serverprocessor="Required"/&
&cache transactions="120" consumer="36000"
user="36000" entity="36000" config="30"/&
&lts frequency="60" tracing="On"
gtsmachine="ACPGTS.partners." gtsport="8989"
samplerate="1" exceedfrequency="25"
maxworkingset="35000"/&
&/monplatform&
&!--TEST--&
&!--&monplatform&
&runtime directory="C:\Program Files\Microsoft
Alchemy\Common Platform 1.8\metadata"
stsprimary="juacpqa.parttest."
clientname="oretsa_dec19test2" hostname=""
instrumentationlevel="0" minimumcompressionpercent="10"
maxdatasize="4000" mode="Native" proxyprocessor="Required"
stssecondary="" tracelevel="5"
transactionloglevel="Request|Response" ltsmachine="localhost"
ltsport="8000" ltsmode="Remoting"
serverprocessor="Required"/&
&cache transactions="120" consumer="36000"
user="36000" entity="36000" config="30"/&
&lts frequency="60" tracing="On"
gtsmachine="juacpqa.parttest."
gtsport="8989" samplerate="1" exceedfrequency="25"
maxworkingset="35000"/&
&/monplatform&--&
&!--PRODUCTION--&
&!--&monplatform&
&runtime directory="C:\Program Files\Microsoft
Alchemy\Common Platform 1.8\metadata"
stsprimary="ACPSTS.partners."
clientname="09FCF9C4-546F-43C5-B1A2-4FE77A8BD0DC" hostname=""
instrumentationlevel="0" minimumcompressionpercent="10"
maxdatasize="4000" mode="Native" proxyprocessor="Required"
stssecondary="" tracelevel="5"
transactionloglevel="Request|Response" ltsmachine="localhost"
ltsport="8000" ltsmode="Remoting"
serverprocessor="Required"/&
&cache transactions="120" consumer="36000"
user="36000" entity="36000" config="30"/&
&lts frequency="60" tracing="On"
gtsmachine="ACPGTS.partners." gtsport="8989"
samplerate="1" exceedfrequency="25"
maxworkingset="35000"/&
&/monplatform&--&
&/configuration&
已投稿到:
以上网友发言只代表其个人观点,不代表新浪网的观点或立场。Windows2003,IIS6.0下的Asp.net的一些配置说明 - 遗忘海岸 - 博客园
随笔 - 363
评论 - 441
&一情况下w3wp.exe进程,是运行在系统内置的Network Service帐户下,可以通过 IIS应用程序池-&标识,进行配置,以指定为自己建立的帐号,需要注意的是指定的帐号要想启动W3wp.exe进程,必须是IIS_WPG(IIS,Work Process Group)的成员,比如您建立一个叫admin的windows本地帐号,并且将其添加到administrators组(超级管理员组),如果没将其添加到IIS_WPG组的话,访问对应asp.net站点会得到Service Unavailable错误.
当然我们不可能使用一个Administrators组的帐号做w3wp.exe进程的工作帐号,那样只要asp.net程序被人拿到webshell,那么就等于控制整个服务器了。
1.分配好IIS匿名帐号(asp,静态文件--jpg,html等读写权限),将ftp张跟IIS匿名帐号分开设置
2.建立一个Windows帐号如,_aspx,供asp.net站点使用.(假设站点跟目录是H://)
3.将添加到IIS_WPG组内
4.分配H://目录的读权限给帐号。
4.1.分配H://uploadfile/目录的读写权限给 (这里假设uploadfile目录是用户上传文件的目录,故需要写权限)
&5.其他asp.net工作目录(如Windows/Temp,Assembly等)一般分配到IIS_WPG组,而不是每个自定义帐号分配一次权限。
&注意,无论什么情况都不要给w3wp.exe进程的工作帐号分配"读取与运行"权限,最好不要在asp.net中写Process启动进程代码,类似的任务考虑设计成Windows Service、控制台程序+计划任务 形式安排在服务器上运行,给asp.net网站分配可执行权限(完全控制等)是不明智的做法。
以下是ASP.net ACL 说明摘自MSDN方便查阅
------------------------------------------
表显示 ASP.NET Web 应用程序的标识必须具有哪一类型的文件和文件夹权限才能正常工作。一些权限只是 ASP.NET 进程的运行帐户所需要的,而其他权限则是任何模拟帐户也都需要的。有关更多信息,请参见 。
位置 访问类型 帐户 注释
%SystemRoot%\Microsoft.NET\Framework\versionNumber\Temporary ASP.NET Files
进程或已配置的模拟。
这是用于动态编译文件的位置。在此位置下,在不同的目录中为每个应用程序生成应用程序代码。可以使用
配置节的 tempDir 属性来配置根位置。
%SystemRoot%\assembly
进程或已配置的模拟。
这是 (GAC) 的位置。
%SystemRoot%\System32
包含由 .NET Framework 加载的系统 DLL。
%SystemRoot%\Temp
读/写/删除
用于 Web 服务支持。
用户配置文件目录
由 GAC 缓存锁文件和公共语言运行库的安全配置缓存机制使用。如果帐户的用户配置文件目录不存在,则 ASP.NET 将使用默认的用户配置文件目录。
Web 应用程序目录
进程或已配置的模拟。
这是应用程序文件的位置。
Web application directory\App_Data
进程或已配置的模拟。
这是 ASP.NET Web 应用程序中的数据文件的默认位置。如果您的应用程序使用 App_Data 子目录,则 ASP.NET 进程必须能够写入该目录,对于某些数据库来说,还必须能够在该子目录中创建临时文件。
%SystemRoot%\Microsoft.NET\Framework\version 和子目录
进程或已配置的模拟
ASP.NET 必须能够访问 %SystemRoot%\Microsoft.NET\Framework\version\ 下 CONFIG 子目录中的 Machine.config 文件所引用的系统程序集。
-------------------------------------------
关于Windows 读取与运行的说明
一般指可执行文件,在asp.net 中使用System.Diagnostics.Process.Start()来启动进程,
在Windows系统中,被启动进程的运行帐号继承启动进程的帐号,如果asp.net在administrator帐号下允许,那么在执行cmd.exe进程时,cmd.exe就在administrator帐号下运行。
System.Security.Principal.WindowsIdentity.GetCurrent().Name,来查看当前进程运行的Windows帐号Asp.Net2.0中我们可以方便的访问配置文件中,.NetFrameWork2.0新增加了 SystemWebSectionGroup 类。
  允许用户以编程方式访问配置文件的 system.web 组。
  比如判断web.config内是否为 debug="true",或者判断身份验证形式
  SystemWebSectionGroup ws = new SystemWebSectionGroup();
  CompilationSection cp = ws.C
  用cp.D就可以得到compilation节内关于"debug"的配置
   AuthenticationSection as = ws.A
  用 as.Mode 可以获取 authentication节中关于"mode"的配置,值为AuthenticationMode 枚举之一
  AuthenticationMode的取值如下:
  成员名称 说明
  Forms 将基于 ASP.NET 窗体的身份验证指定为身份验证模式。 
  None 不指定身份验证。 
  Passport 将 Microsoft Passport 指定为身份验证模式。 
  Windows 将 Windows 指定为身份验证模式。在使用 Internet 信息服务 (IIS) 身份验证方法(基本、简要、集成 Windows (NTLM/Kerberos) 或证书)时适用此模式。 
  附:SystemWebSectionGroup 类的公共属性:
  名称 说明 
  AnonymousIdentification 获取 anonymousIdentification 节。
  Authentication 获取 authentication 节。
  Authorization 获取 authorization 节。
  BrowserCaps 获取 browserCaps 节。
  ClientTarget 获取 clientTarget 节。
  Compilation 获取 compilation 节。
  CustomErrors 获取 customErrors 节。
  Deployment 获取 deployment 节。
  DeviceFilters 获取 deviceFilters 节。
  Globalization 获取 globalization 节。
  HealthMonitoring 获取 healthMonitoring 节。
  HostingEnvironment 获取 hostingEnvironment 节。
  HttpCookies 获取 httpCookies 节。
  HttpHandlers 获取 httpHandlers 节。
  HttpModules 获取 httpModules 节。
  HttpRuntime 获取 httpRuntime 节。
  Identity 获取 identity 节。
  IsDeclarationRequired  获取一个值,该值指示是否需要声明此 ConfigurationSectionGroup 对象。 (从 ConfigurationSectionGroup 继承。)
  IsDeclared  获取一个值,该值指示是否已声明此 ConfigurationSectionGroup 对象。(从 ConfigurationSectionGroup 继承。)
  MachineKey 获取 machineKey 节。
  Membership 获取 membership 节。
  MobileControls 获取 mobileControls 节。
  Name  获取此 ConfigurationSectionGroup 对象的名称属性。(从 ConfigurationSectionGroup 继承。)
  Pages 获取 pages 节。
  ProcessModel 获取 processModel 节。
  Profile 获取 profile 节。
  Protocols 获取 protocols 节。
  RoleManager 获取 roleManager 节。
  SectionGroupName  获取与此 ConfigurationSectionGroup 关联的节组名称。(从 ConfigurationSectionGroup 继承。)
  SectionGroups  获取一个包含所有 ConfigurationSectionGroup 对象的 ConfigurationSectionGroup 对象,这些对象是此 ConfigurationSectionGroup 对象的子对象。(从 ConfigurationSectionGroup 继承。)
  Sections  获取一个 ConfigurationSectionCollection,它包含此 ConfigurationSectionGroup 中的所有 ConfigurationSection 对象。(从 ConfigurationSectionGroup 继承。)
  SecurityPolicy 获取 securityPolicy 节。
  SessionState 获取 sessionState 节。
  SiteMap 获取 siteMap 节。
  Trace 获取 trace 节。
  Trust 获取 trust 节。
  Type  获取或设置此 ConfigurationSectionGroup 对象的类型。(从 ConfigurationSectionGroup 继承。)
  UrlMappings 获取 urlMappings 节。
  WebControls 获取 webControls 节。
  WebParts 获取 webParts 节。
  WebServices 获取 webServices 节。
  XhtmlConformance 获取 xhtmlConformance 节
Asp.net开发专题推荐
Copyright & 2004 -
版权所有 中文域名:站长.cn 站长.中国}

我要回帖

更多关于 asp.net 读写配置文件 的文章

更多推荐

版权声明:文章内容来源于网络,版权归原作者所有,如有侵权请点击这里与我们联系,我们将及时删除。

点击添加站长微信