Building a MVC2 Template, Part 1, Introduction

6 Comments

In this series of blog posts I will attempt to document all my efforts, from start to finish, for building a reusable Asp.Net Mvc2 Application Template. My goal in this endeavor is to establish a Visual Studio application template that can be easily used upon request and uses best practices and technologies.

Some of the technologies being used are not the absolute latest.  For this project I plan on using the following:

My goals for the end of the project are:

  • To have a Visual Studio application template that facilitates rapid application development with these features
    • Automated code generation based upon the designed data model
    • Extendable membership/role/profile providers
    • Data validation on client and server
    • Single code updates to the core are reflected in all releases
    • Complete suite of test cases
    • A coding utopia!
  • Automated builds from version control
  • Automated deployment from version control

By the end of the project, we’ll see how close I can get and if other more pressing projects trump this one.

In the next installment we’ll setup Subversion and add the initial auto-generated application code to source control.

Shout it


Kick It on DotNetKicks.com
Digg This
Reddit This
Stumble Now!
Buzz This
Vote on DZone
Share on Facebook
Bookmark this on Delicious
Kick It on DotNetKicks.com
Shout it
Share on LinkedIn
Bookmark this on Technorati
Post on Twitter
Google Buzz (aka. Google Reader)

6 Comments (+add yours?)

  1. Alexander Nyquist
    Mar 23, 2010 @ 10:56:03

    Great idea. Are you planning on a very basic template or a more robust one like MVCTurbine?

    It would be great to include Teleriks ASP.NET MVC Controls and MVCContrib.

  2. Eric
    Mar 23, 2010 @ 11:47:42

    I’m planning on a fairly simple template. I was kicking around the idea last night of possibly adding jqGrid and MVCContrib. I’ll look at the Teleriks controls too.

  3. luke
    Mar 25, 2010 @ 02:32:20

    Automatic minification and combining of css and js files would be good.

  4. Eric
    Mar 25, 2010 @ 09:34:17

    Luke, I have been mulling over the same thought. I suspect this will make it into the template.

  5. Alexander Nyquist
    Apr 06, 2010 @ 03:33:15

    For minifcation, I thin Justin Etheredges Bundler is a good choice. Its available on Github: http://github.com/jetheredge/bundler/downloads

  6. Eric
    Apr 06, 2010 @ 09:36:50

    Alexander, that’s the one I have bookmarked to revisit. Right now I’m working through the code for the custom providers.

Leave a Reply

Comment moderation is enabled. Your comment may take some time to appear.