Sponsored By Aspose - File Format APIs for .NET

Aspose are the market leader of .NET APIs for file business formats – natively work with DOCX, XLSX, PPT, PDF, MSG, MPP, images formats and many more!

Monthly Archives: October 2006

Faking interfaces with events or delegates using Rhino Mocks – level 300

I think mock objects themselves are a 300-level topic.  I wish it weren’t so, but from the folks I talk to, the average developer doesn’t use them.  Fakes, stubs, mocks (whatever you want to call them – and I know … Continue reading 

Posted in Uncategorized | 1 Comment

NHibernate: Casting is a state change and makes a persistent object dirty immediately – level 200

NHibernate knows when an object under its watch has changed.  As soon as the object changes, it is “dirty”.  Some other changes might cause an object to be dirty as well.  One that my team recently encountered is a cast.  … Continue reading 

Posted in Uncategorized | 2 Comments

NHibernate: ICriteria may cause update – know about AutoFlush mode – level 300

This topic is for those already using NHibernate.  By looking at the forum, that is a whole load of people! As always, my blog posts stem from experience, and this is no different.  It's been a year since I first … Continue reading 

Posted in Data Access, Learning, Tips & Tricks | 1 Comment

Applications remain simple in the absence of god code – level 100

Imagine two scenarios:  You build a system where one class is responsible for coordinating actions of many.  This one class may observe many conditions or events and act appropriately. Each small event or condition is encapsulated by an object.  You … Continue reading 

Posted in Uncategorized | 2 Comments

Typing is fast; Design is slow – level 200

I’ve been with my current company for over two months now, so I’m fully ramped up and integrated with my new team.  Since I arrived, we’ve hired one more developer and a tester to round out the team.  Last week we … Continue reading 

Posted in Uncategorized | 1 Comment