web配置
来源:互联网 发布:超次元矩阵手游 编辑:程序博客网 时间:2024/05/08 20:14
读取配置文件信息
string configPath = Request.CurrentExecutionFilePath;
string configPath1 = configPath.Substring(0, configPath.LastIndexOf("/"));
Response.Write(configPath1 + "<br>");
Response.Write(configPath+"<br>");
System.Configuration.Configuration config = System.Web.Configuration.WebConfigurationManager.OpenWebConfiguration(configPath1);
System.Web.Configuration.AuthenticationSection authentication = config.GetSection("system.web/authentication") as System.Web.Configuration.AuthenticationSection;
Response.Write(authentication.Mode.ToString()+"<br>");
System.Configuration.ConfigurationSection appSetting = config.GetSection("appSettings");
Response.Write(Server.HtmlEncode( appSetting.SectionInformation.GetRawXml()));
- web配置
- web工程web.xml配置
- web-web配置(1)
- WEB集群配置
- web服务器安全配置
- 在web配置log4j
- 关于web config 配置
- 配置web.config
- web.config的配置
- Linux web环境配置
- Web.XML 配置详解
- web服务器配置笔记
- Web.XML 配置详解
- 配置Web.config
- Web.Xml的配置
- 常见Web配置
- IIS 配置web service
- AJAX配置Web.Config
- 构架师之路
- 别让“鼠标手”伸向你
- 五分钟手操赶走鼠标手
- 谁来关怀程序员?
- 寻找生之乐趣
- web配置
- 和性有关的词不能乱用
- 学习c++的50条忠告
- JSP连接JDBC BEAN 顺带测试CSDN的代码高亮
- phrase
- [ajax开发工具]使用JSLint完成JavaScript语法检查
- 网页常用小技巧(JavaScript)
- oracle常用命令
- 代码,我回来了:P