Skip to main content

The basics of Castle DynamicProxy

February 05, 2012 mgroves 0 Comments
Tags: DynamicProxy screencast

I've been doing some research on Castle DynamicProxy for an upcoming screencast that I'm working on. So far, it's a pretty simple tool to use, and feels very familiar to other AOP tools that I've used. Here's a 101-level example:

And here's the output of that example:

DynamicProxy example output

Not particularly elegant, but by using an IoC container you can make it much cleaner and transparent (which will also be part of the screencast).

Comments

Matthew D. Groves

About the Author

Matthew D. Groves lives in Central Ohio. He works remotely, loves to code, and is a Microsoft MVP.

Latest Comments

Twitter