02 2006 档案

Asp.net 2.0 动态加载其他子目录用户控件问题
摘要: 通常我们要在程序中动态加载用户控件: 方法很简单直接在程序里键入: (usercontrol type)a = (usercontrol type)Page.LoadControl("~/xxx.ascx"); 然后就可以直接调用控件里的属性,事件和方法了.阅读全文

posted @ 2006-02-24 16:20 冰绿茶 阅读(484) | 评论 (1) 编辑

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

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

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

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

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

posted @ 2006-02-21 14:04 冰绿茶 阅读(264) | 评论 (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 冰绿茶 阅读(680) | 评论 (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 冰绿茶 阅读(115) | 评论 (0) 编辑

Understanding ASP.NET Provider Model - Part 1

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

ASP.NET 2.0 中的新增服务、控件与功能概述

posted @ 2006-02-17 17:36 冰绿茶 阅读(142) | 评论 (0) 编辑