2006年2月21日

Web 下配置文件信息的读写

摘要: WEB 下配置文件的读写跟 客户端应用程序配置文件 下 对配置文件的读写,几乎完全是一样的。只不过 , web.config 有多重继承的问题。 子网站目录下如果没配置,会继承自上级目录。依次类推,这是一个多层继承的问题。 阅读全文

posted @ 2006-02-21 14:13 冰绿茶 阅读(546) 评论(0) 推荐(0) 编辑

.net 2.0 中对配置文件的读写

摘要: 在基于 .net 2.0 的企业库中,原来的配置应用程序块被废除了,使用了 .net 2.0 自带的读写配置功能,下面我们就来看看 .net 2.0 中读写配置的功能。即: ConfigurationManager 类注意:ConfigurationManager 是处理客户端应用程序配置文件的首选方法;不推荐使用任何其他方法。对于 Web 应用程序,建议使用 WebConfigurationMa... 阅读全文

posted @ 2006-02-21 14:12 冰绿茶 阅读(389) 评论(0) 推荐(0) 编辑

ASP.NET 2.0加密网站配置文件中的信息

摘要: 加密网站中的配置信息,我们不需要写任何代码,也不需要修改任何代码,只需要使用 aspnet_regiis 工具修改配置文件即可.比如我们有下面一个配置文件需要加密:<configuration> <connectionStrings> <add name="SqlServices" connectionString="Data Source=localhost;Int... 阅读全文

posted @ 2006-02-21 14:04 冰绿茶 阅读(521) 评论(0) 推荐(0) 编辑

Understanding ASP.NET Provider Model (Creating Custom Membership and Role Providers) - Part 3

摘要: IntroductionIn the Part 1 and Part 2 we learnt the concept and internal architecture of ASP.NET provider model. We know that the provider model is extensible and one can implement custom providers to ... 阅读全文

posted @ 2006-02-21 11:12 冰绿茶 阅读(969) 评论(0) 推荐(0) 编辑

Understanding ASP.NET Provider Model - Part 2

摘要: IntroductionIn the Part 1 we learnt the basic idea of ASP.NET provider model. In this part I will explain the overall architecture of ASP.NET built-in providers. Specifically we will be dissecting the... 阅读全文

posted @ 2006-02-21 11:11 冰绿茶 阅读(382) 评论(0) 推荐(0) 编辑

Understanding ASP.NET Provider Model - Part 1

摘要: Introduction ASP.NET 2.0 includes host of new features such as Membership, Roles and Profiles. These features are based on the Provider Model. This series of article will demystify the internals of pr... 阅读全文

posted @ 2006-02-21 11:06 冰绿茶 阅读(287) 评论(0) 推荐(0) 编辑

导航