EntLib 3.1学习笔记(6) : Security Application Block
摘要: 安全应用程序块提供的代码提供如下功能:
(1) 身份验证
(2) 授权
(3) 角色管理
(4) 配置文件管理
(5) 缓存主体
阅读全文
posted @
2007-08-16 19:49
Silent Void
阅读(1177)
推荐(0) 编辑
EntLib 3.1学习笔记(5) : Exception Handling Application Block
摘要:异常处理应用程序块被设计为支持包含在应用程序组件的 catch 语句中的典型代码。该应用程序块允许开发人员将此逻辑封装为可重用的异常处理程序,而不是在应用程序组件的相同 catch 块中重复这段代码(例如,记录异常信息)。异常处理程序是封装异常处理逻辑和实现名为 IExceptionHandler 的异常处理应用程序块接口的 .NET 类.
阅读全文
posted @
2007-08-16 19:37
Silent Void
阅读(713)
推荐(0) 编辑
EntLib 3.1学习笔记(4) : Logging Application Block
摘要:应用程序可以使用日志块在多个位置记录事件:
(1) 事件日志
(2) 电子邮件
(3) 数据库
(4) 消息队列
(5) 文件
(6) WMI
阅读全文
posted @
2007-08-15 09:06
Silent Void
阅读(1244)
推荐(0) 编辑
EntLib 3.1学习笔记(2) : Data Access Application Block
摘要:简化实现通用数据访问功能的开发任务。应用程序可以在很多情况下使用应用程序块,例如读取显示数据、获得通过应用程序层的数据,以及将更改过的数据提交回数据库系统等。应用程序块包括对存储过程和内嵌 SQL 以及常见内务处理任务(例如,管理连接、创建与缓存封装在应用程序块的方法中的参数)的支持。换句话说,数据访问应用程序块提供对最常用的 ADO.NET 功能的访问。
阅读全文
posted @
2007-08-08 20:32
Silent Void
阅读(1048)
推荐(0) 编辑
EntLib 3.1学习笔记(1) : Caching Application Block
摘要:It supports both an in-memory cache and, optionally, a backing store that can either be the database store or isolated storage. The application block can be used without modification; it provides all the needed functionality to retrieve, add, and remove cached data.
阅读全文
posted @
2007-08-08 20:27
Silent Void
阅读(859)
推荐(0) 编辑
EntLib 3.1学习笔记(0) : 总览
摘要:Enterprise Library 3.1–May 2007 contains the following general purpose application blocks
阅读全文
posted @
2007-08-08 20:15
Silent Void
阅读(644)
推荐(0) 编辑
收集的几篇关于Asp.Net处理原理和URL重写的几篇文章
摘要:HttpApplication 类的实例是在 ASP.NET 基础结构中创建的,而不是由用户直接创建的。HttpApplication 类的一个实例在其生存期内被用于处理多个请求,但它一次只能处理一个请求。这样,成员变量才可用于存储针对每个请求的数据。
应用程序按照以下顺序执行由 global.asax 文件中定义的模块或用户代码处理的事件:
BeginRequest
AuthenticateRequest
PostAuthenticateRequest
AuthorizeRequest
PostAuthorizeRequest
ResolveRequestCache
PostResolveRequestCache
在 PostResolveRequestCache 事件之后、PostMapRequestHandler 事件之前创建一个事件处理程序(对应于请求 URL 的页)。
PostMapRequestHandler
AcquireRequestState
PostAc
阅读全文
posted @
2007-08-06 19:32
Silent Void
阅读(1837)
推荐(0) 编辑