Logging is easy. We’ve all been there and done that, but when how do you log a request/response object of a webservice, specially when the WSDLs are being changed constantly? The requirements were easy, just log all the property names along with their values. Continue reading
When implementing IDataErrorInfo support on Windsor Silverlight Example that uses aspect-like features of Castle DynamicProxy, I came across something interesting. I think we all have written a code to fetch the properties of an object using Reflection API, but this one got me going for some time before I noticed what the problem is. Continue reading
TypeMock originally a framework to create mock objects, recently published the core API as TypeMock Open-API and on the same foundation, a project name CThru which gives you the “mocking” ability in the wild! This means now you can intercept calls to any API (except for some core .NET API and TypeMock API itself) and mock-out any of the existing functionality. Continue reading
The other day I was working on an interceptor that listened to calls to some Services and redirected the calls to services hosted on remote machine, instead of running it locally when strangest thing happened. I was trying to find and invoke existing methods on my interface that according to reflection, were not there. Continue reading