NerdDinner is a good architecture reference?

Apr 28, 2010 at 3:25 PM
Its a good idea use NerdDinner as reference? Its simple and works. I think S#arp developer its more complex that need
Coordinator
May 15, 2010 at 12:17 AM

You might also look at the http://mvcmusicstore.codeplex.com/, it's a little simpler.

May 15, 2010 at 12:21 AM

Ayende did not like the code

http://ayende.com/Blog/archive/2010/05/13/comments-on-the-mvc-music-store.aspx?utm_source=feedburner&utm_medium=feed&utm_campaign=Feed%3A+AyendeRahien+%28Ayende+%40+Rahien%29

Coordinator
May 15, 2010 at 12:23 AM

Ayende likes very little code. He didn't like NerdDinner either. Perhaps find a project he does like?

May 15, 2010 at 12:47 AM

I am curious about use EF4 ObjectContext at Controller.

I dont have much asp.net mvc projects  to use as reference.

Some approaches:

Controler -> ObjectContext

Controler -> Repository -> ObjectContext

Controler -> Service -> Repository -> ObjectContext

 

Sometime I think that repositories are waste of time, just replicating  ObjectContext interface. Some people use "GenericRepository<T> where T: Entity" with GetById, Add, Delete and Update....then, why not just reference ObjectContext directly, its more fast, easy to do, easy to understand. UnitOfWork too...

Services are util sometimes, ie.: Add HistoricalChanges when saving a object.

 

What you preffer?

 

Jun 26, 2010 at 10:56 AM

thanks for the pointer Scott - was about to delve in to take a look at the nerdDinner tutorial for the first time (having watched your 90min presentation few times and getting totally confused) - did one run through of the Music Store - understood a bit, deleted it and started to nail it....... Will try it again without the PDF later and then perhaps move to a little test project..... 

Before I go back to NerdDinner, how different is that tutorial in MVC1 to what I am learning in MVC2 - am I better off waiting for the revised documentation. I just am concerned if when I learnt asp.net 1.1 and then 2.0, I wish I had just waited and skipped 1.1. thanks for any help in advance people !!