ASP.NET中Web应用程序配置文件的研究及应用  

Research and Application for ASP.NET Web Application Configuration File

在线阅读下载全文

作  者:郝森[1] 朱战立[1] 

机构地区:[1]西安石油大学,计算机学院,陕西,西安,710065 西安石油大学,计算机学院,陕西,西安,710065

出  处:《电脑知识与技术(过刊)》2007年第16期1045-,1072,共2页Computer Knowledge and Technology

摘  要:Web.config文件是位于ASP.NET应用程序虚目录根下的一个配置文件.应用程序中的所有网页和目录都使用该文件中的配置设置.ASP.NET中的配置文件采用了标准的XML文件格式,通过这个文件不仅可以更改应用程序设置还可以用来设置策略,以改变程序的运行方式,无需重新编译和部署该应用以适应新的服务器要求.在介绍了使用Web.config作为配置文件的优点的基础之上,着重阐述了使用配置文件对常量数据、全局信息以及其他常用设定进行配置,并且讨论了一些安全使用配置文件的方法.Web.config file is a configuration file located in ASP.NET application's virtual root directory.All the pages and directories of the application can be configured by this file.The configuration files of ASP.NET using a standard XML file format,the adoption of these files will not only change application configuration but also used to setting strategies to change the operation method of program,needn't to reedit and redeploy this application in order to adapt the new server requirements.Based on the introduction of the advantages of using Web.config as configuration file,this paper emphasizes the using of configuration file to setting constant data,global information and other commonly function.And then discuss some security methods of using configuration file.

关 键 词:ASP.NET WEB.CONFIG 常量配置 进程模型 信息保护 

分 类 号:TP311[自动化与计算机技术—计算机软件与理论]

 

参考文献:

正在载入数据...

 

二级参考文献:

正在载入数据...

 

耦合文献:

正在载入数据...

 

引证文献:

正在载入数据...

 

二级引证文献:

正在载入数据...

 

同被引文献:

正在载入数据...

 

相关期刊文献:

正在载入数据...

相关的主题
相关的作者对象
相关的机构对象