Code for Coffee Logo

Visual Studio MVC4 HTML5 Boilerplate Template

Posted on Jan 17, 2014

I’ve been working with ASP.NET MVC4 lately and decided to throw together a template for Visual Studio. This template works with Visual Studio 2010, 2012, and 2013. It provides a great quick start to any web application and includes the following based on Initializr’s HTML5 boilerplate generator:

  • Mobile first, responsive (via normalize.css)
  • Modernizr (2.6.2)
  • Minified jQuery (1.10.1)
  • IE Classes
  • Chrome Frame support (until Google kills it off)
  • Favicon
  • Apple Touch Icons

You can grab the code on github. Install it by placing the contents in your C:\Users\username\Documents\Visual Studio 20xx\Templates\ProjectTemplates\Visual C#</em> directory.  To get started with the template please take a look at how all of the views are setup.

Please feel free to report anything that doesn’t work here or on the github issues page.