Developing ASP.NET MVC 4 Applications on Windows 8 Developer Preview

Well, as mentioned in my earlier posts, the ASP.NET MVC 4 has Developer Preview has been released.  You might notice quite a bit of this term “Developer Preview” in 2-3 products specifically.  One, Windows 8 is now available as simply Windows Developer Preview.  Similarly, Visual Studio 11 is Developer Preview and also the Internet Explorer Platform Preview 3 is a Developer Preview, as with the case with Expression etc.,

Now, to clarify on a few things which I learnt.

The Windows 8, hereinafter referred to as Windows 8 Developer Preview comes as a download along with Visual Studio 2011 Express as described here  This edition is just for developing Metro Style applications for Windows Developer Preview using JavaScript, Visual C++, C# or VB.NET.  This does not have templates for Web enabled.

Even after I installed the ASP.NET MVC 4 Developer Preview, from here the ASP.NET MVC Templates didn’t show up in the Visual Studio 2011 Express when running from Windows 8. 

Then, I realized, there is a separate Visual Studio 2011 Developer Preview edition available for Windows 8 from here

Now, I checked by opening this VS 2011 and it had both the templates for Metro Apps as well as Web Development.  But just found ASP.NET Web Application.  Couldn’t find MVC 4 although I had installed it earlier.

Then, I removed ASP.NET MVC 4 and Web Pages 2 and the reinstalled the same.

Post that, I am able to see the templates for ASP.NET MVC 4 in Visual Studio 2011 on the Windows 8 machine.

So, put things simple, if you want to play with ASP.NET MVC 4 on the Windows 8 Developer Preview, install the Visual Studio 2011 Developer Preview in addition to the Visual Studio 2011 Express that is installed on the machine.  In fact, I checked and it had templates for Metro Style apps too.  So, I uninstalled the Visual Studio 2011 Express since I wouldn’t need two versions running on my machine.

You can also install ASP.NET MVC 4 for Windows 7 and Visual Studio 2010 from here

I get a feeling that this post is little complicated with all the naming conventions Smile so if you have a query, please post in comments and I would try to address.

Cheers !!!

This article is part of the GWB Archives. Original Author: Harish Ranganathan

New on Geeks with Blogs

  • We Won The One Award I Actually Care About

    Full Scale made the Inc. 5000 for the fifth year straight, the 12th listing across my three companies. Here is why the one award you cannot buy is worth stopping for.

  • Your Customers Build the Features Now

    I let a tool I liked sit dead for a year rather than build the features I wanted. An MCP server meant I never had to, and your customers can do the same to your product.

  • Get the Size of a Directory in Linux the Easy Way

    du -sh for the quick answer, ncdu for the cleanup, df for the disk itself: every command for checking directory size in Linux, plus why du and df never agree.

  • Vim Search and Replace: The Ultimate Guide

    One :%s command replaces every match in a file before a find dialog would even open. The Vim substitute patterns worth the muscle memory: flags, ranges, capture groups, and multi-file edits.