For those who don’t have VS 2008 yet, I created the VS 2005 templates

mvc2005

You will get two kind of solution/project templates (the same you get for VS 2008)

aspmvc

The MVC framework uses anonymous types extensively (for instance when you add Routes and set Defaults values for the route segments). You can see I provided an MvcDefaults class in the template which contains common properties like controller, action and id. You can either use that approach or install support for C# 3.0 in VS 2005.

Download ASP.NET MVC Visual Studio 2005 Templates (VSI format)

Enjoy!

11 Responses to “ASP.NET MVC Visual Studio 2005 Template”

  1. http:// Says:

    Hi,

    I have try to use MVCToolkit with this template and I am not able to find Html helper context. Do you have any idea?

    Thanks.

  2. matiaswoloski Says:

    I’m not sure if the MVCToolkit will work under 2005. I believe it uses anonymous types. You would have to rewrite the MVCToolkit to not use them or install the C# 3 extensions for VS 2005.

  3. http:// Says:

    Good job!
    thanks!

  4. Nicoláz Says:

    Hi, it seems that there is missing an assembly or maybe I should install something else, because when I try to build the project it complains about the namespace “System.Web.Mvc”. Any idea?

  5. matiaswoloski Says:

    You need to install the ASP.NET MVC
    http://www.asp.net/downloads/3.5-extensions/

  6. Nicoláz Says:

    Hi, I finally found the problem, I had installed 3.5 extension, but the problem was that I was referencing a wrong version of the assembly System.Web.Extensión. I was referencing 3.5 but the correct one was the 3.6.

    Regards,

  7. http:// Says:

    Does the ASP.Net MVC framework work in VB.Net?

  8. http:// Says:

    Hi. I tried to use your MVC, but when I creted the project I got the next error: “Project tempate Wizard
    A problem was encountered creating the sub project ‘MVCApplication’. The project file ‘c:\DocumentsAndSetting\abuiles\Localsettings\temp\vt3emkmt.stn\temp\MvcApplication.csproj’ cannot be opened

    The project type is not supported by this installation”

    What can i do?

    Thanks

  9. hangy Says:

    Hi,

    thanks for providing these templates to use ASP.NET MVC with Visual Studio 2005. Unfortunately, they do work for me (”Could not open project” because of unsupported project type stuff). Might this be a problem with me not having VS2005 SP1 installed? I have installed every possible version of ASP.NET 3.0 extensions, the MVC framework, C# 3.0 extensions for VS 2005 and ofc. C#/.NET 3.5 I could find, but that does not seem to fix it.

    TIA!
    -hangy

  10. http:// Says:

    Thanks but… Can U make the same tamplates, but for a Web Site (Web Site Templates)? Please… Thanks!

    Or, ASP-MVC only works with Web Applications???

  11. Arjun Says:

    Hi - I tried to download the template - but got a 404. Is there an alternate site

Leave a Reply