ASP.NET MVC 1 or MVC 2
I recently recieved the ASP.NET MVC 1.0 Professional book by Wrox, and in th开发者_高级运维e intervening time, I found out that ASP.NET MVC 2.0 is being released soon.
Questions
- Should I MVC 2.0? Are there any resources specifically for MVC 2.0?
- Should I learn MVC 1 and then unlearn concepts and then learn MVC 2?
The difference between MVC 1 and MVC 2 are not like the difference between classic ASP and ASP.NET. What I mean is that if you learn MVC 1 you will be able to use everything in MVC 2. MVC 2 for the most part builds on top of MVC 1. So if you have an MVC 1 book I'd say read it and then read articles on what is new in MVC 2. Besides some blogs and articles I don't think there is much else on MVC 2 right now.
MVC 2 is still in Beta (at least the last time I checked).
MVC 1 and MVC 2 use similar concepts...MVC 2 just adds features. Learn MVC 1 as a stepping stone, and then you can better utilize the new advanced features being released in MVC 2.
I had the same question. I recommend that you learn and focus on MVC 1, but also read some of the upcoming changes in MVC 2. This way, as you're working on your MVC 1 project, you can see how MVC 2 features could be applied.
It's not completely released yet but people are using it. Actually, you are fine to use MVC version 1 resources to learn it and read up on what's new. A lot of what's there is just to make things a little easier, like the new syntax changes for HTML encoding etc.
精彩评论