Policy Injection Application Block
NEW! This release of Enterprise Library includes a new Policy Injection Application Block. The implementation in the February 2007 CTP is still incomplete, and not all of the features described in the included documentation are implemented at this time.
The Policy Injection Application Block is designed to simplify the separation of business logic from cross cutting concerns, by letting you define policies and the objects/methods they apply to in a declarative way. Each policy contains a pipeline of "handlers" that are executed before and after a policy-enabled method is called. The Policy Injection Application Block will provide handlers that wrap several Enterprise Library application blocks, including validation, logging, authorization and caching.
This preview of the Policy Injection Application Block includes the following components:
· PolicyInjection façade class, allowing you to create instances of policy-enabled objects
· Remoting Proxy-based interception mechanism
· Runtime support for configuration of policies
· A near-complete library of Matching Rule classes
· Handlers for Validation, Logging and Exception Handling
Features not included in this release but planned for the final release include the following:
· Design-time configuration support
· Instrumentation
· Handlers for Performance Counters, Authorization and Caching
· QuickStart samples
For more information on the Policy Injection Application Block, refer to the included documentation and the following blog posts:
· Announcing the Policy Injection Application Block
· Policy Injection Application Block - Behind the Scenes
More ways to inject policies
.NET Community Downloads and Sample Code
 
                    
                     
                    
                 
                    
                 
 
         
                
            
         浙公网安备 33010602011771号
浙公网安备 33010602011771号