Geeks With Blogs
Igor Milovanović .NET, cats and more...

I have spotted several articles recently about the use of interception with context bound objects. Roy Osherove  introduced his caching framework for example, and Einar Ingebrigtsen wrote an article about the possible use of interceptor pattern for implementing the persistence aspect on TheServerSide.NET.  The interessting thing about context bound objects is that you can use the ProxyAttribute on them to intercept the new statement and to do all kinds of "magic" there (persistence, security checks, caching etc...).

[1] Roy Osherove: Interception Framework
[2] Einar Ingebrigtsen: Persistent Objects
[3] Juwal Lowy: Decouple Components by Injecting Custom Services into Your Object's Interception Chain

 

 

Posted on Thursday, October 21, 2004 5:02 PM .NET , AOP | Back to top


Comments on this post: Interception with Context Bound Objects in .NET

# re: Interception with Context Bound Objects in .NET
Requesting Gravatar...
The interessting thing about context bound objects is that you can use the ProxyAttribute on them to intercept the new statement. I didn't know about this. Good thing I stumbled upon in your post here. Thansk for sharing. - BrandStar Entertainment
Left by Nicole Meredith on Feb 16, 2012 4:26 PM

Your comment:
 (will show your gravatar)


Copyright © Igor Milovanovic | Powered by: GeeksWithBlogs.net