Visual Studio 2010 with jQuery and ASP.NET MVC 2
Sorry about the missing links in the latest MSDN Flash editorial that I wrote! I posted it as it should have been linked up below:
With the great launch of Visual Studio 2010 and Windows Azure last week I thought I’d use this editorial to talk about some of the enhancements to the web development platform that is aligned to the new VS2010 release.
ASP.NET 4 and Visual Studio 2010 includes lots of new features and improvements that enable you to easily build, deploy and manage great Web sites. For more information please visit the ASP.NET 4 and Visual Studio 2010 spotlight page.
One thing that I want to call out is that ASP.NET MVC 2 is now built-into VS 2010 and ASP.NET 4, and provides a great way to build web sites and applications using a model-view-controller based pattern.
I personally had never taken the time to learn or understand MVC so over the last couple of weeks I took up the challenge of getting started.
I found Scott Hanselman’s video on How to Best Learn ASP.NET MVC a great place to start, followed by these resources:
- What’s New in ASP.NET MVC 2 (document)
- What’s New in ASP.NET MVC 2 (video)
- The (new) ASP.NET MVC website
- The HaaHa Show: Microsoft ASP.NET MVC Security with Haack and Hanselman
- Building a Next-Generation Web Application with Microsoft ASP.NET MVC 2 and jQuery
- Beyond File | New Company: From Cheesy Sample to Social Platform
One of the big announcements at MIX in Las Vegas is that Microsoft announced that they are investing in jQuery as their primary technology for client browser scripting. Part of this includes contributing back to jQuery through the same approval process as any other contributor. Stephen Walther has more details on his blog post, Microsoft, jQuery, and Templating.
I must start by saying that I am in no way and expert when it comes to jQuery and if anything I resist going back to a world where JavaScript is king. That said by attending John Resig’s talk at Webstock in Wellington in March and his ‘How jQuery Makes Hard Things Simple’ talk in Las Vegas I have been encouraged to dip my toes in.
For those of you with a bit more jQuery under your belts you may be interested in Elijah Manor’s Six Things Every jQuery Developer Must Know session from MIX.
Scott Guthrie has a blog series that covers in some depth ASP.NET MVC2. He promises in his post an updated end-to-end tutorial built entirely with ASP.NET MVC 2 (much like the NerdDinner tutorial that he wrote for ASP.NET MVC 1).
Also an MVC Music Store has been released on CodePlex demonstrating how to use ASP.NET MVC 2 features.
MVC Music Store is a tutorial application built on ASP.NET MVC 2. It's a lightweight sample store which sells albums online, demonstrating ASP.NET MVC 2's productivity features and data access via Entity Framework 4. See what you can do with MVC 2 in under 1000 lines of c# code!
Also of interest is the ‘The Orchard Project’ an open source CMS built on ASP.NET MVC 2.
With the upcoming support for HTML5 in IE9 I think now is the time to start looking at these web technologies if you haven’t already.