22. December 2010 19:58
I am struggling to learn MVC 2.
Get a copy of "Pro ASP.NET MVC 2 Framework, Second Edition". It is also offered in a Kindle version.
Having had a lot of success with Web Forms and the data bound controls I really had a hard time when I first looked at MVC. I felt I was taking a step back in time to classic ASP. The lack of all the creature comforts of Web Forms was hard for me to justify. Also with the incredible suite of test tools from Microsoft Visual Studio Ultimate I was able to test my sites to ensure a high level of quality so I dismissed MVC about a year ago as a fad.
After the release of MVC 2 and hearing of plans for MVC 3 I realized it was not a fad. I also work with companies all over the world and would ask teams their impressions of MVC to see what I was missing. While at one client I was shown a very impressive Scrum Task Board written using MVC and was thinking to myself that would have been very difficult to do using Web Forms so I decided to give it a second look.
While searching for books to aid in my learning I ran across Pro ASP.NET MVC 2 Framework, Second Edition and have been very happy with the amount of great information in this book. Once you get past his Web Form bashing it is a great book and I recommend it for anyone trying to learn MVC.
I must say that now I "get it" I am very fast a cranking out new functionality for a current project http://proTableSports.com. Now with MVC 2 and .NET 4.0 I don't feel I have lost like I did in the past. I was able to use all the Membership, Role and Profile providers that I was used to in Web Forms. With the addition of jQuery all my client side code is also easier to write.
I don't recommend books lightly. I am certain you will enjoy this one.