A place to keep my thoughts on programming

Tag Archives: Dynamic Proxy

Freezing DTOs by proxy

In my previous post about sharing data without sharing data state, I proposed an interface for governing the transformation of mutable to immutable and back for data transfer objects (DTOs) that are shared via a cache or message pipeline. The … Continue reading

August 3, 2010 .net, geek , ,

C# duck-typing to the rescue for Interface Segregation

Interfaces are the method by which we get multiple inheritance in C#, Java, etc. They are contracts without implementation. We don’t get the messy resolution of which code to use from multiple base classes, because there’s only one inheritance chain … Continue reading

June 18, 2009 geek , , , ,

DynamicProxy rocks!

Recently, I’ve had a need to create proxy objects in two unrelated projects. What they had in common was that they both dealt with .NET Remoting. In one it was traditional Remoting between machines, in the other working with multiple … Continue reading

October 2, 2007 .net, geek , , , ,

INotifyPropertyChanged and Cross-thread exceptions

I’m currently reading Adam Nathan‘s WPF Unleashed. It’s a good read and has me ready for doing some serious WPF work. However, the things I have on my plate are a already Windows Forms and can’t really take a late … Continue reading

July 8, 2007 .net , , , , ,