Per prima cosa installare la preview di ASP.NET MVC 3 non darà problemi con ASP.NET MVC 2.
Ecco le principali novità:
- Razor Syntax View Engine - Una sintassi più chiara per le viste
- Dynamic View and ViewModel properties - Passaggio dei dati tra controller e views utilizzando dynamic piuttosto che dictionary
- "Add View" Dialog box supports multiple view engines.
- Service Location and dependency injection support
- Global filters
- New JsonValueProviderFactory class
- Support for .NET 4 Validation Attributes and IValidatableObject
- New IClientValidatable Interface
- Support for .Net Framework Metadata Attributes
- New IMetadataAware Interface
- New Action Result Types
- Permanent Redirect
ASP.NET MVC Preview 1 Link Round-Up
2e2df74f-739e-4c63-b6da-2567b1ffb9dd|1|4.0
Development
MVC, ASP.NET