ASP.NET MVC 3 & New view engine “Razor”!

Most of you must have heard about MVC 3 has been released few months ago with the big bang! It has come up with too many features and improvement. Thought of giving some quick info and links related to that.

Find below the link from Scottgu depicting about the same. Excellent one!

http://weblogs.asp.net/scottgu/archive/2010/11/09/announcing-the-asp-net-mvc-3-release-candidate.aspx


Top features:

  • New view engine called “Razor” with much simplified
  • Support for Multiple View Engines
  • Powerful hooks with Dependency Injection and Global Action Filters
  • Rich JavaScript support with unobtrusive JavaScript, jQuery Validation, and JSON binding
  • Streamlined validation with improved Model validation

Here is the pointer over Razor:

http://weblogs.asp.net/scottgu/archive/2010/07/02/introducing-razor.aspx


Web form Vs Razor syntaxt comparision and example from haacked.com, i loved this very much 🙂

http://haacked.com/archive/2011/01/06/razor-syntax-quick-reference.aspx

One more interesting part, yes..there is a tool you can convert WebForms(asp.net) Views to Razor (C# Only). Actually it was developed by the Telerik ASP.NET MVC team for internal use, but now it is available free over GitHub.com.

Here you go….https://github.com/telerik/razor-converter. There are some limitations with this tool, check it out there.

Enjoy playing with MVC 3!

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: