I've summed up the five reasons I'm excited about ASP.net MVC 3, and I don't know how you feel about that.
1. Razor View Engine
I have to say, razor view engine is so cool, I like its refreshing code style, it uses the @ symbol to represent the code block, the following code is legal in Razor:
@foreach (var item in Model) {
<b > @item. fullname</b >
}
2. New Assistant
The assistant has always been a asp.net of MVC and other MVC frameworks, and ASP.net MVC 3 offers new assistants that will narrow the gap between the field and the competitor.
Chart: Help to create a chart, very easy to use.
WebGrid: Renders a collection of objects in a grid, including paging and sorting, and can be output as a plain HTML table.
Webimage: Help create images, also include basic image manipulation methods, such as rotation, magnification, zoom, etc.
WebMail: Used to send e-mail.
The next-generation helper, known as the "task-based assistant", was included in the beta, but is now out of sight, and I hope to see it in the final official version, because it's so obsessed with me.
Video: Includes methods such as Video.flash,video.silverlight and video.mediaplayer that allow you to add their corresponding HTML tags.
Twitter: Includes basic Twitter operations, such as rendering a specific user's Twitter stream, or a given search result.
Recapcha: Help with reCAPTCHA services.
Gravatar: Specify a user avatar from the Gravatar service.
Analytics: Provides different methods for different analysis Services, such as getgooglehtml,getstatcounterhtml or getyahoohtml, to provide the required JavaScript code.
3. Support jquery based Ajax
In ASP.net MVC 3, Ajax.actionlink,ajax.routelink,ajax.beginform and Ajax.beginrouteform will use jquery to connect to the server, and they will not use inline JavaScript, they will invoke functions provided in JavaScript files, client-side validation Similar to this.
4. New Dependency Injection (Dependency injection) support for better scalability
asp.net MVC 3 will contain a large number of extensions, and almost anything can be extended using dependency injection.
5. Integrated Nupack
Nupack is Microsoft's new packaging system, which is completely set up with ASP.net MVC 3, right-click on the References folder in Solution Explorer, and select Add Package Reference, as shown in the following figure.
Figure 1 Adding a package reference
Then pops up the Nupack interface, where you can select a different library, as shown in the following figure.
Figure 2 Nupack the interface for adding package references
English Original: 5 reasons to be excited about ASP.net MVC 3
asp.net mvc topic: http://kb.cnblogs.com/zt/mvc/