MVC – Let’s Install it.

misc_vol4_048 Unless you only read my blog, you probably already know that MVC 1.0 released yesterday.  So it’s time to install it into visual studio.

Now, you are supposed to be able to install it using the Microsoft Web Platform Installer, but when I try that, the only option I have is to install RC2, which isn’t what we want, so let’s head on over to the Microsoft download location and install it from there:

To be safe, make sure you close any copies of visual studio 2008 that you may have open.  (You are using 2008, right?)

Once you are done installing MVC 1.0, you’ll want to make sure it works, so fire up Visual Studio and let’s take a look.

You’ll find the templates for created a new MVC project under File > New Projects > C# > Web.  Don’t try to find it under File > New Web Site…–it isn’t there.

When you create the new project, you’ll be asked if you want to create a test unit project.  Since one of the big selling points for using MVC is that you can do better testing, you should pick this option.

Once the solution has been created with the web project and the test project, go ahead and run the web project just to see that you got it all working.

The whole process of downloading, installing, and creating the first project took about a half an hour for me and worked flawlessly.

Now, when the web project was created, it installed using the Developer Server.  I can understand this being the default since some people may not have IIS installed, but for a production system, this is wrong.  You want to change the project so that it is running under IIS.  Otherwise, you will be developing under whatever permissions you have as a user instead of the permissions that IIS/.NET have available to them, which is what you will ultimately be running this application under.  Right?

Here’s how to change it.

  • Right click the project and select “Properties” from the context menu.
  • Select the “Web” tab.
  • Under “Servers” change the radio button from “Use Visual Studio Developer Server” to “Use local IIS Server” and press the “Create Virtual Directory” button to get it registered under IIS.

It is important to note that the files will not be moved from where they were created, but they will be run under IIS, which is important if you don’t want any surprises when you deploy your final application.

Well, that’s about it for getting started.  We’ll pick this up with more details on what exactly we have available to us in a future post.

Other places talking about the MVC 1.0 Release

ASP.NET MVC 1.0 Released! – Phil Haack attempts to infuse technology and software development with humor and a pragmatic eye… Attempts.

Download ASP.NET MVC 1.0 – ASP.NET MVC is released today. The RC1 and RC2 released were out over last month and today, at MIX, we will be unveiling ASP.NET MVC 1.0 RTW version that can be downloaded from There are over 40 videos resource …

ASP.NET MVC goes RTM before MIX09 – This is the blog of Simone Chiaretta, an Italian .NET developer, architect, Microsoft MVP, Subtext core member, ASP.NET MVC lover with a passion for mountain climbing.

Alexander Popov Blog – ASP.NET MVC 1.0 Released – Alexander Popov Blog – ASP.NET MVC 1.0 Released. and related. Archive. . Sun, Mon, Tue, Wed, Thu, Fri, Sat. 22, 23, 24, 25, 26, 27, 28. 1, 2, 3, 4, 5, 6, 7. 8, 9, 10, 11, 12, 13, 14 … ASP.NET · Asp.Net MVC …

ASP.NET MVC 1.0 released. Download now! | ithinkdifferrent – ASP.NET MVC has just been launched as version 1.0 after being in Beta for some time at MIX09 by Scott Guthrie. It requires .NET 3.5 SP1 and Visual Studio.

Your New Toy ASP.NET MVC 1.0 is Ready !!! | Semantic Web – After a long development process Microsoft announced stable release of ASP.NET MVC 1.0 some resources about ASP.NET MVC and official download link is.

ASP.NET MVC 1.0 Released – Nick Berardi’s Coder Journal – It was just announced at MIX09 that ASP.NET MVC 1.0 has been released for general use and is out of the Release Candidate phase. There has been no word on the changes form RC 2 to this release version. But I will keep this post updated …

ASP.NET MVC 1.0 Released!: digWin – Today Im happy to write that ASP.NET MVC 1.0 RTW (Release To Web) is now officially released. This was one of several announcements ScottGu made at the Mix 09 conference today, which I unfortunately missed because I was on a plane to …

Asp.Net MVC 1.0 went live…! – Derik Whittaker – So, the long awaited release of Asp.Net MVC has gone gold, it is in the books and out the door. This is a great achievement for Phil Haack and the MVC team. I am really glad to see this thing finally get out the door as I personally …

ASP.NET MVC 1.0 Released – ASP.NET MVC 1.0 Released. Wednesday, March 18, 2009 6:53 AM. I was talking with a colleague yesterday about the free MVC eBook that was released, and he noticed that the book was using MVC 1.0 and not the release candidates. …

ASP.NET MVC v1 is released – go download it now : Jeffrey Palermo … – Congratulations to the ASP.NET MVC team at Microsoft. They have just released the next version of ASP.NET. It is available for download here . Good job to Darcy Lussier for watching the site .

ASP.NET MVC 1.0 – Recent Downloads and Articles from the Microsoft Download Center.

ASP.NET MVC 1.0 Released « Pure Blue – So in the last couple of weeks I have been learning ASP.NET MVC after discovering that the final release was imminent and I have to admit that I am very impressed. The first and foremost difference would be that there is no longer the …

First draft hell » Blog Archive » ASP.NET MVC (finally) released! – ASP.NET MVC (finally) released! Grab your copy right away at March 18th, 2009 Posted in ASP.NET MVC Posted by Patrik. Leave a Reply. Name (required). Mail (will not be published) (required). Website …

DotNetShoutout – ASP.Net MVC 1.0 has just been released! – The months of waiting are over! ASP.Net MVC 1.0 has finally been released.

codegeeks » ASP.NET MVC RTM, Documentation, and Videos – ASP.NET MVC RTM, Documentation, and Videos. March 18th, 2009. Goto comments Leave a comment. For all of you who’ve been waiting long and hard, the time has finally come… ASP.NET MVC has been released! You can download the 1.0 release … – My .NET Blog : ASP.NET MVC 1.0 Released!!! – I am very excited to announce that Microsoft has officially released the RTM version of the ASP.NET MVC Framework during the Mix’09 developer’s conference. Make sure to download as soon as possible, and welcome to the ASP.

DotNetShoutout – ASP.NET MVC 1.0 has been released! – ASP.NET MVC 1.0 has been released! Get it while it’s HOT! :-)

ASP.NET MVC 1.0 Released – Windows Live – ASP.NET MVC 1.0 Released – Windows Live. … ?? 10:41 PM | View trackbacks (0) …


Other post in ASP.NET MVC

Related Post

Comments are closed.