5 Reasons to be Excited about ASP.NET MVC 3

It’s already been 6 months since ASP.NET MVC 2 was released and version 3 is already taking shape. I, personally, am thrilled about that because this version seems to put ASP.NET MVC, in terms of maturity and functionality, on the first line along with other MVC frameworks out there like RoR.

I’ve put together 5 main reasons why I’m excited about this upcoming version. What about you?

1. The Razor View Engine

I said it before and I’ll say it again – the razor view engine is so cool!!! I really like the clean code I get when using it. In short, the razor view engine uses at signs (@) to indicate code blocks. For example, these are legit lines of code in razor:

@foreach (var item in Model) {
    <b>@item.FullName</b>
}

 

2. New Helpers

Helpers is an area ASP.NET MVC has been lacking at, compared to other MVC frameworks. MVC 3 will have new helpers that tend to close that gap:

  • Chart – helps creating charts. Very nice!
  • WebGrid – renders a collection of objects as a grid including paging and sorting. Should output a plain HTML table. Hopefully that’s all there is to it…
  • WebImage – helps in creating images. This also contains methods for basic image operations like rotating – cool!
  • WebMail – used to send emails.

The next helpers have been referred to as “task-based helpers”. They should have been a part of the beta version but they’re not there… I hope they’ll make it to the release version because they are just pure awesomeness:

  • Video – contains methods like Video.Flash, Video.Silverlight and Video.MediaPlayer which allow adding their corresponding HTML tags with ease.
  • Twitter – contains basic twitter operations like rendering the twitter stream for a specified user or the results of a given search.
  • ReCapcha – helps using the reCAPTCHA service.
  • Gravatar – helps consuming a user’s avatar from the Gravatar service.
  • Analytics – provides different methods like GetGoogleHtml, GetStatCounterHtml or GetYahooHtml that render the required javascript code for the different analytics services.

3. Support for Unobtrusive 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. In addition, they will not use inline javascript, and instead they will call functions placed within javascript files.

Same thing applies to client-side validation.

4. Better Extensibility with new Dependency Injection Support

ASP.NET MVC 3 will contain numerous extensibility possibilities. Almost anything can be extended using DI, which opens so much opportunities. Just what extensibility means!

Read Brad Wilson’s post for a detailed guide to these new extensibility features.

 

5. NuPack Integration

NuPack is Microsoft’s new packaging system and it is fully integrated with ASP.NET MVC 3. Right click on the References folder in the Solution Explorer and choose “Add Package Reference…”:

The new Add Package Reference option

Now the NuPack UI will open and you can choose from the various different libraries on the online gallery:

NuPack

Pretty cool.

Well, these were my 5 reasons. So browse to http://go.microsoft.com/fwlink/?LinkID=191795, download the beta version and get excited too!

All the best,
Shay.

P.S. I’m not an ASP.NET MVP nor ASP Insider. Everything in this post was taken from various official blog posts and public web sites. Although the sources are as official as they can get (Scott Gu, Phill Haack…) this is only the beta version and as you know, in software – it ain’t over until the very last commit. Therefore, I recommend you check the release notes of every new version to see that no breaking changes were included.

kick it on DotNetKicks.com Shout it




Comments

October 13. 2010 12:00 PM

Nick

Hey,

I too am an ASP.NET MVC fanboy and excited by MVC 3. I do think you have over-emphasised some of the HTML helpers though. The twitter feed and the captcha are all easy to implement yourself. I get the feeling these are aimed at "web forms" developers.

Keep up the blogging. Smile

Nick

October 13. 2010 12:35 PM

Shay Friedman

LOL you made me laugh with your "aimed at web forms developers" Smile

Anyway, I do think that these HTML helpers are important because this is how you get a more complete and ready-to-use framework. Of course you can write any of the available HTML helpers yourself, but it takes you time and the process is more error prone.

Shay Friedman

October 16. 2010 03:59 PM

Colin Farr

Yeah! Razor! I don't understand the hype of NuPack though

Colin Farr

October 17. 2010 11:49 AM

Roboblob

Excellent post,
thanks for sharing...

those new boosted HTML helpers remind me of Ruby On Rails plugins thats is excellent approach...

looking forwards to see ASP.NET MVC 3 Smile

cheers,
Roboblob

Roboblob

October 18. 2010 03:03 AM

pingback

Pingback from blog.dotmark.net

Twitter settimana del 2010-10-17 —  .mark.net il blog di Marco Trova

blog.dotmark.net

October 18. 2010 09:52 PM

trackback

Interesting links week #41

Below a list of interesting links that I found this week: Interaction: 5 Tips to Simplify Your Web Design

Erwin's Blog

October 19. 2010 12:20 AM

pingback

Pingback from blog.virtew.com

Revue du web du 18 octobre | virtew

blog.virtew.com

October 19. 2010 08:27 AM

pingback

Pingback from mirror.itnews.tk

ASP.NET MVC 3让你疯狂的五大理由 | IT News - 发布最新IT信息

mirror.itnews.tk

October 20. 2010 09:47 PM

Mike

I hope they NEVER put something like GetGOOGLE or GetYAHOO in the framework, looks like they have some interns ruining the framework. Same goes for Flash or Silverlight. Thos should be in separate assemblies forever.

Mike

October 21. 2010 03:36 AM

Joel

MVC just keeps getting better! Thanks for the overview. Great post.

Joel

October 21. 2010 05:21 AM

Stacey Thornton

I think I will be a lot more excited when I get to play with a build that has the Razor View Engine and intellisense enabled. I love the idea, but so far I haven't found it to be useful enough for me to get really giddy over.

Stacey Thornton

October 21. 2010 05:18 PM

Yaya Rabiu David

I have used MVC 2 and was really annoyed for lack of some important helpers. I'm happy about these new stuffs in MVC 3 and I'm strongly looking forward to the full release.

Anyway does anyone know why checkbox list helper will not make it to the list of helper methods again? And more importantly when will the full fledge MVC 3.0 be released.

Great post my guy.

Yaya Rabiu David

October 22. 2010 11:28 AM

trackback

IronShay | 5 Reasons to be Excited about ASP.NET MVC 3

Thank you for submitting this cool story - Trackback from DotNetHeaven.Net

DotNetHeaven.Net

March 2. 2011 11:50 AM

pingback

Pingback from websitesmaderight.com

Getting Started with ASP.NET MVC

websitesmaderight.com

March 11. 2011 03:28 AM

pingback

Pingback from darkundereye.com

Dark Under Eye

darkundereye.com

September 2. 2011 09:34 PM

cloud

on our systems ASP.NET MVC 3 in its current version runs MUCH more smoothly than its predecessors. Thanks for the insight

cloud

January 31. 2012 10:23 PM

pingback

Pingback from amazinlyricsyoungjeezy.juliodelvalle.com

Flat Panel Anglepoise Lamps Are the Future [Desired] | Amazin Lyrics Young Jeezy

amazinlyricsyoungjeezy.juliodelvalle.com

March 21. 2012 01:24 AM

pingback

Pingback from watchfreemoviesvideosurf.mhubenthal.com

Aziz Ansari releases comedy special online for $5 | Watch Free Movies Videosurf

watchfreemoviesvideosurf.mhubenthal.com

May 22. 2012 05:37 AM

Robert Trump

those new boosted HTML helpers remind me of Ruby On Rails plugins thats is excellent approach...

Robert Trump

December 19. 2012 11:15 PM

Greenspoint Dental

I am really impressed by this blog!Very clear explanation of issues is given and it is open to everyone.It contains true and fair information.
Your website is very useful.

Greenspoint Dental

January 7. 2013 12:07 PM

cars and trucks for sale in the Bronx

I am really impressed by this blog! Very clear explanation of issues is given and it is open to everyone. thanks for posting this work of yours..this is very good! <ahref="listedpages.com/.../results.php%2C+New+York%2C+Bronx&advsearch=yes&category_id=1&location_1=1&locations_default_where=United+States&locations_default_where_replace=yes&location_3=8&location_4=58&dist=&zip=" rel="follow">cars and trucks for sale in the bronx</a>

cars and trucks for sale in the Bronx

January 20. 2013 03:32 PM

at home std test

Can I just say, this blog is what got me through the day today.
Every time I read it, I just get more and more excited about whats next.
Very refreshing blog and very refreshing ideas.
Im glad that I came across this when I did.
I love what youve got to say and the way you say it.

at home std test

February 23. 2013 03:06 PM

arizona interior design

You’re so proper. I’m there with you. Your blog is sure worth a have if anyone comes throughout it. I’m serendipitous I did because now I’ve got a integral new content of this. I didn’t create that this takings was so distinguished and so coupler. You definitely put it in perspective for me.

arizona interior design

March 2. 2013 04:44 PM

isogenics

The difference between a successful person and others is not a lack of strength, not a lack of knowledge, but rather a lack of will.

isogenics

March 11. 2013 12:09 PM

ez lease rentals review

I never comment on any blog or website but here i am commenting just because of your unique content and different and exact writing. I hope you further write such a useful information.

ez lease rentals review

March 13. 2013 01:03 PM

Weight Loss program

There is obviously a lot to know about this. I think you made some good points in Features also. Keep working, great job. <a href="http://weightlossdiet.name/">Click here</a>

Weight Loss program

March 13. 2013 01:22 PM

home builders Kelowna

I completely agree with you. I really like this article. It contains a lot of useful information.I can set up my new idea from this post. It gives in depth information. Thanks for this valuable information for all.And of course nice review about the Veterans fight and their present prospect.

home builders Kelowna

March 25. 2013 10:23 AM

Newcastle wedding photography

The query mentioned by you in this blog about Razor View Engine is pretty awesome. This is very impressive and valuable stuff to read out. I note down this query on my notepad and save in the computer to make it utilize in the future. Thanks for this blog.

Newcastle wedding photography

April 5. 2013 12:51 PM

RFS

Antennas - Antenna Systems & Solutions, Inc. is an international distribution firm specializing in HF, VHF, UHF, WiFi, and Microwave systems. Antenna Systems & Solutions, Inc. has been a vital part in many communication projects utilizing the data and communication potential with precision planning and product integration for organizations around the globe. Our installation and engineering technicians use the most advanced site planning technologies to make sure the project gets done, and gets done right. We have successfully completed a major communication projects on every continent for commercial companies and government agencies.

RFS

April 5. 2013 02:14 PM

Cablewave

Im impressed, I should say. Pretty rarely do I come across a blog thats each informative and entertaining, and let me let you know, youve hit the nail on the head. Your blog is significant; the problem is some thing that not sufficient men and women are talking intelligently about. Im seriously happy that I stumbled across this in my search for one thing relating to this issue.

Cablewave

April 5. 2013 03:43 PM

Radio Frequency Systems

Im impressed, I should say. Pretty rarely do I come across a blog thats each informative and entertaining, and let me let you know, youve hit the nail on the head. Your blog is significant; the problem is some thing that not sufficient men and women are talking intelligently about. Im seriously happy that I stumbled across this in my search for one thing relating to this issue.

Radio Frequency Systems

April 5. 2013 04:01 PM

Cellflex Foam Dielectric Cable

Im impressed, I should say. Pretty rarely do I come across a blog thats each informative and entertaining, and let me let you know, youve hit the nail on the head. Your blog is significant; the problem is some thing that not sufficient men and women are talking intelligently about. Im seriously happy that I stumbled across this in my search for one thing relating to this issue.

Cellflex Foam Dielectric Cable

April 5. 2013 04:01 PM

Cellflex Foam Dielectric Cable

Im impressed, I should say. Pretty rarely do I come across a blog thats each informative and entertaining, and let me let you know, youve hit the nail on the head. Your blog is significant; the problem is some thing that not sufficient men and women are talking intelligently about. Im seriously happy that I stumbled across this in my search for one thing relating to this issue.

Cellflex Foam Dielectric Cable

April 7. 2013 02:37 PM

rwculverlaw

Im impressed, I should say. Pretty rarely do I come across a blog thats each informative and entertaining, and let me let you know, youve hit the nail on the head. Your blog is significant; the problem is some thing that not sufficient men and women are talking intelligently about. Im seriously happy that I stumbled across this in my search for one thing relating to this issue.

rwculverlaw

April 7. 2013 03:35 PM

rwculverlaw

Im impressed, I should say. Pretty rarely do I come across a blog thats each informative and entertaining, and let me let you know, youve hit the nail on the head. Your blog is significant; the problem is some thing that not sufficient men and women are talking intelligently about. Im seriously happy that I stumbled across this in my search for one thing relating to this issue.

rwculverlaw

April 7. 2013 05:22 PM

rwculverlaw

Im impressed, I should say. Pretty rarely do I come across a blog thats each informative and entertaining, and let me let you know, youve hit the nail on the head. Your blog is significant; the problem is some thing that not sufficient men and women are talking intelligently about. Im seriously happy that I stumbled across this in my search for one thing relating to this issue.

rwculverlaw

April 25. 2013 01:08 AM

Mark D.

I like this article! Congratulations!

Mark D.

April 25. 2013 04:39 PM

Tasos

Very good article my friend! I was very happy to discover this great site.

Tasos

April 27. 2013 12:28 AM

Dimitris

Do you really need to eat every few hours, in order to lose weight? The notion that frequent meals boost the metabolism and prevent the loss of muscle mass has never been proven.

Dimitris

April 27. 2013 02:12 PM

Mike

Keep in mind that spikes in blood sugar increase insulin secretion that triggers the fat deposit and especially abdominal or deep visceral fat.

Mike

April 28. 2013 04:47 PM

John William

Fat Loss Tko was created by Chad Howse and is based on the ‘old school’ principles that give boxers such impressive physiques. Chad Howse has modernized these old school workouts, so as to fit in our current lifestyle.

John William

April 29. 2013 03:22 PM

Maria

Sex God Blueprint is one of the most successful guides on the internet that can help you improve your power in bed and turn you into a Sex God!

Maria

April 29. 2013 06:21 PM

Denis

The Gastric Band Hypnotherapy program by Jon Rhodes attempts to simulate gastric band surgery.

Denis

April 30. 2013 02:59 PM

Dimis

I like this site! Very good jobs! Congratulations!

Dimis

May 2. 2013 11:18 AM

christian health education

Asp.net is the latest version of .net by Microsoft. In fact, Microsoft is trying to beat Java and for this purpose it has introduced so many applications and new way of development. Your article about the five reasons for getting excited about Asp.net is informative and inspiring to be a .net developer. Big thumbs up for your great post.

christian health education

May 14. 2013 01:27 AM

Malena

Beautiful post!

Malena

May 17. 2013 09:04 PM

weight loss

While I am examining your post, I am getting so much ideas there. Thank you so much for expressing your thoughts and ideas here!

weight loss

May 22. 2013 03:15 PM

letter of recommendation for residency

Я в восторге от этой статьи. Автор просто невероятно талантлив. Его мастерство меня действительно поразило. Он просто великолепен.

letter of recommendation for residency

Add comment


(Will show your Gravatar icon)

  Country flag

biuquote
  • Comment
  • Preview
Loading



Subscribe Subscribe

That's Me!

Hi! I'm Shay Friedman
I'm Shay Friedman - a Visual C#/IronRuby MVP, a consultant and instructor of .NET technologies, author, speaker and new technologies freak
More about me

Contact Me

> Contact page
> Twitter: @ironshay
> LinkedIn profile

Search

Hosted By

I'm hosting this site on Arvixe and I'm very happy with it.
If you're looking for ASP.NET hosting, I highly recommend it
(and if you order from this link I also get some beer money!)
Web Hosting