.net alternatives

by Michel Grootjans
posts - 66, comments - 123, trackbacks - 1

My Links

News

Shelfari: Book reviews on your book blog

Twitter












Archives

Post Categories

August 2010 Entries

Using NU for the first time
While preparing the code for my previous post, I decided to try NU to get the OSS I needed for the demo. I must say it was a blast. Ruby is required to run NU. For those who don’t have ruby on their machine, get the ruby installer. It won’t slow your system down or pollute it in any way. It’s just creating a directory of your choice for ruby, and adds a system path pointing to it. I wanted fluent Nhibernate with all it’s compatible dependencies: NHibernate, Castle.core, … To get all these dependencies,...

Posted On Monday, August 16, 2010 9:23 PM | Feedback (0) | Filed Under [ .net design ]

An alternative repository
Since I published the state of my project goals, I got a few questions about my repository implementation, so here goes… The ‘classic’ repository interface looks like this: public interface IRepository<T> { T GetById(int id); IEnumerable<T> GetAll(); T SaveOrUpdate(T entity); void Delete(T entity); //... } This interface has some issues to me. First of all, it’s data-centric. I know that’s the whole point of a repository, but bear with me. Second, it exposes far too many methods. One...

Posted On Monday, August 16, 2010 8:00 AM | Feedback (6) | Filed Under [ .net design ]

Powered by: