Today I was putting together a test app for a few presentations I am doing in the coming weeks (announcements on these coming soon). While doing this I kept getting a 101 exception when trying to build an object via StructureMap's ObjectFactory (error information here ). Error message Assembly...
Just an FYI. If you are using NHibernate and have objects that are using the new Automatic Properties feature of .Net 3.5 make sure that your NHibernate .hbm file does not have 'default-access="field.camelcase-underscore"' in the hibernate-mapping node. If you have this attribute set...
The System.ComponentModel namespace (more information here ) in .Net contains an array of various attributes that every .Net developer should know about. These attributes provide a way for the developer to implement design-time and run-time behavior on both controls and components. In addition...
When following TDD, using mocking tools like RhinoMocks ( here ) or NMock ( here ) is a critical part of the process. By utilizing mocking tools you can better isolate your tests to only test the code that you have direct control over. This can prove to be critical component to building out your test...
I just thought I would share a little trick I used today to back in Async web service calls into existing code using anonymous delegates. Here was my problem: I have a library that makes use of an existing web service that I do not control (so I cannot change/up the timeout on this). I have been using...