Archive, ASP.NET, Visual Studio
     

Using ASP.NET MVC From Visual Web Developer Express 2008

Today marked the released of the first preview of MVC for ASP.NET. While it works just fine from the free Visual Web Developer Express 2008, this release is missing a project template to help you get up an running quickly.

So, I have thrown together a project template to allow you get get starting using MVC from VWD Express. Unlike VWD Express’ big brother, VWD Express seems unable to create Web Application, only Web Sites. So this template has a slightly modified layout from the one available from Visual Studio.

Image Hosted by ImageShack.us

Since Web Site projects can only arbitrarily host classes in the App_Code directory, I have placed the Models and Controllers there. The Views are located in an appropriately named directory off of the site root.

There are two versions of this template, one for C# and one for VB.NET.

  • ASP.NET MVC Web Site For C#
  • ASP.NET MVC Web Site For VB.NET

    Download the template of your choice to the Visual Studio 2008\Templates\ProjectTemplates\Visual Web Developer directory located in your “My Documents” directory. After doing so, simply start VWD Express and you will notice a new template available when you go to create a new web site.

    Image Hosted by ImageShack.us

    This was just something that I threw together really quickly, and is not intended to be a demonstration of MVC. It is simply a starting point for getting started quickly with MVC. If you should encounter any difficulties with this, please let me know.

  • Update 6/15/2008:
    A more recent article of mine http://jason.whitehorn.ws/2008/06/15/Updated-Using-ASPNET-MVC-From-Visual-Web-Developer-Express-2008.aspx
    discusses a better way to use ASP.NET MVC with Visual Web Developer.

    Never miss an article! Subscribe to my newsletter and I'll keep you updated with the latest content.

     

    About Jason

    Jason is an experienced Entrepreneur & Software Developer with a demonstrated history of working in the oil & energy industry. Skilled in Leadership, Mobile Development, Data Synchronization, and SaaS Architecture. Strong engineering professional with a Bachelor of Science (B.S.) in Computer Science from Arkansas State University.
    View all posts by Jason →

    Leave a Reply

    Your email address will not be published. Required fields are marked *