Virtual method/property patching with C# dynamic and Castle DynamicProxy
castle, dynamicproxy, programming, tech 3 Comments »One of the things I’ve been doing a lot recently is trying to get some pretty dynamic behaviors out of a fairly strongly typed compile time language. That’s .NET 3.5 of course, and the Castle.DynamicProxy has been an invaluable ingredient.
The other day I saw some neat things like these and more David Ebbo was doing with dynamic in VS2010. Reading up on the new C# dynamic keyword and some interesting bits about IDynamicMetaObjectProvider, DynamicObject, and ExpandoObject to get up to speed – I started to wonder something about ways Castle DynamicProxy and C# dynamic could work together.
Read the rest of this entry »
Recent Comments