tags:

views:

123

answers:

2

There are quite a few asp.net mvc code examples by different people at www.asp.net/mvc, based on your experience, what is the best code example, I mean, the example you can learn and follow mostly in your project.

+4  A: 

To get started with ASP.NET MVC, I suggest looking at the project template itself (which helps a lot at the beginning) first and then use the NerdDinner tutorial by Scott Guthrie.

To learn more, I don't really think tutorial style things will help. Personally I start digging into frameworks myself after the initial spark (the VS IntelliSense menu is a great help, by the way ;) )

Mehrdad Afshari
+1, agree that NerdDinner is a great tutorial to learn the framework
BengtBe
+1  A: 

The CodeBetterCanvas - Learning Application for ASP.NET MVC seems like something you can use directly in your own project, or get some good design ideas from.

The homepage describes it as "A project to help developers get started with their own MVC project. The goal is to showcase best-practices while providing something tangible to start from. The code is intentionally light on features in order to be used as-is in a new project."

Highlights:

  • Developed around SOLID principles
  • NInject is aggressively used
  • NHibernate, Linq to NHibernate and FluentNHibernate
  • jQuery
  • Unit tests
BengtBe