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: December 2007

IMapper<Input,Output>

Got some feedback on my MappingEnumerable post. People wanted to see me leveraging some of the new language features (specifically linq). I can leverage linq to change the extension method to eliminate the need for the MappingEnumerable (which was brought … Continue reading 

Posted in C#, Programming | Leave a comment

BDD Specification Base Class

With a newfound interest in leveraging the AutoMockingContainer (credit to James for convincing me of this approach) here is the code for my base class used to write BDD style interaction based tests: public abstract class Specification { private MockRepository mockery; private AutoMockingContainer … Continue reading 

Posted in C#, Programming | 1 Comment

Nothin But .Net Store (Google Code) Breaking Change

I just upgraded the project to a VS2008 project and am now starting to demonstrate (and will continue to do so in the new year) how to integrate some of the new language features. This means that if you don’t … Continue reading 

Posted in C#, Programming | 6 Comments

MappingEnumerable<T>

In my infrastructure layer of my projects I regularly include the following interface: public interface IMapper<Input, Output> { Output MapFrom(Input input); } This interface should be fairly self-explanatory, it takes in an item of type Input and spits out an … Continue reading 

Posted in C#, Programming | 1 Comment

Refactoring (NAnt) for more readability

Adam just recently posted about refactoring NAnt build files to introduce a much clearer understanding of NAnt and associated build files for people who may not be familiar with typical NAnt style naming conventions. I am definitely a culprit of … Continue reading 

Posted in Continuous Integration | Leave a comment