aspnet-mvc-boilerplate - Boilerplate.Templates 1.2.0

Project and item templates containing common boilerplate code so you don't have to write it yourself. Includes special security, performance and best practice features.


ASP.NET MVC Boilerplate Banner

ASP.NET-MVC-Boilerplate in the Visual Studio 'New Project' dialogue

AppVeyor Build status Gitter

A professional ASP.NET MVC template for building secure, fast, robust and adaptable web applications or sites. It provides the minimum amount of code required on top of the default MVC template provided by Microsoft. Find out more at RehanSaeed.com, the Visual Studio Gallery or at The Open Web Security Project (OWASP). You can also follow me on Twitter at @RehanSaeedUK.

Why Do I Need It?

The default MVC template that Visual Studio gives you does not make best use of the tools available. It's insecure, slow, and really has a very basic feature list (That's the point of it). ASP.NET MVC Boilerplate provides you with a few more pieces of the puzzle to get you started quicker. It makes liberal use of comments and even gives you a checklist of tasks which you need to perform to make it even better. The main benefits of using this template are:

  • Security
  • Performance
  • Search Engine Optimization (SEO)
  • Accessibility
  • Browser Compatibility
  • Resilience and Error Handling
  • Easier Debugging and Performance Testing Tools
  • Patterns and Practices
  • Atom Feed
  • Search
  • Social Media Support

Project Templates

Both ASP.NET 4.6 MVC 5 and ASP.NET Core MVC 6 are supported with their own project templates.

ASP.NET Core MVC 6

Preview Image

ASP.NET-MVC-6-Boilerplate Preview Image

Technology Map

The ASP.NET Core MVC 6 project template contains the following features:

ASP.NET MVC 6 Boilerplate Technology Map

Feature Selection Wizard

The ASP.NET Core MVC 6 project template comes with a feature selection wizard where literally everything can be turned on or off with the click of a button for a truly personalized project.

ASP.NET MVC 6 Boilerplate Technology Map

ASP.NET Core MVC 6 API

Preview Image

ASP.NET MVC 6 API Boilerplate Preview Image

Technology Map

The ASP.NET Core MVC 6 API project template contains the following features:

ASP.NET MVC 6 API Boilerplate Technology Map

Dotnet New

This template is not available from Visual Studio (yet!) but from the new dotnet new command line tool. Find out more about dotnet new here.

ASP.NET 4.6 MVC 5

Preview Image

ASP.NET-MVC-6-Boilerplate Preview Image

Technology Map

The ASP.NET 4.6 MVC 5 project template contains the following features:

ASP.NET-MVC-5-Boilerplate Technology Map

How Can I Get It?

Name Information Download
dotnet new NuGet package (For API template only) 1. You must have the latest version of the dotnet tooling. This comes with Visual Studio 2017 or from dot.net.
2. Run dotnet new --install Boilerplate.Templates::* to install the project template.
3. Run dotnet new bapi --help to see how to select the feature of the project.
4. Run dotnew new bapi --name "MyTemplate" along with any other custom options to create a project from the template.
Boilerplate.Templates NuGet Package
Visual Studio Extension (VSIX) Install extension, then create project. Visual Studio Gallery
Visual Studio Extension (VSIX) Follow instructions to add feed to Visual Studio. My-Get Development Feed
Git Clone Clone the git repository. git clone https://github.com/ASP-NET-MVC-Boilerplate/Templates

Release Notes & To-Do List

You can find release notes for each version here and a To-Do list of new features and enhancements coming soon in the projects tab.

Sites Built Using The Template

Add your site here, just raise an issue.

Contributions and Thanks

Upgraded template to VS 2017 csproj project system.

Owners
Muhammad Rehan Saeed
Authors
Muhammad Rehan Saeed (RehanSaeed.com)
Project URL
https://github.com/ASP-NET-MVC-Boilerplate/Templates
License
MIT
Tags
ASP.NET Core MVC 6 Boilerplate Muhammad Rehan Saeed Framework
113 total downloads
0 downloads for version 1.2.0
Package size 61.66 KB
Download
Found on the current feed only

Package history

Version Size Last updated Downloads Mirrored?
Recommended release 1.2.0 61.66 KB Fri, 24 Mar 2017 16:46:46 GMT 0
1.2.0-beta-0223 61.68 KB Fri, 24 Mar 2017 16:45:04 GMT 0
1.2.0-beta-0221 61.97 KB Thu, 23 Mar 2017 17:27:04 GMT 0
1.1.2-beta-0214 62.7 KB Tue, 21 Mar 2017 21:40:06 GMT 0
1.1.2-beta-0196 62.7 KB Wed, 01 Mar 2017 18:33:36 GMT 9
1.1.2-beta-0195 62.7 KB Wed, 01 Mar 2017 18:16:53 GMT 3
1.1.2-beta-0192 62.7 KB Wed, 01 Mar 2017 17:33:17 GMT 2
1.1.2-beta-0191 62.7 KB Tue, 28 Feb 2017 08:58:52 GMT 3
1.1.2-beta-0190 62.7 KB Wed, 22 Feb 2017 17:28:52 GMT 2
1.1.1 62.44 KB Sun, 19 Feb 2017 08:48:18 GMT 3
1.1.1-beta-0189 62.45 KB Tue, 21 Feb 2017 19:28:37 GMT 2
1.1.1-beta-0188 62.45 KB Tue, 21 Feb 2017 19:03:48 GMT 2
1.1.1-beta-0185 62.46 KB Tue, 21 Feb 2017 17:36:02 GMT 2
1.1.1-beta-0184 62.46 KB Tue, 21 Feb 2017 17:17:47 GMT 2
1.1.1-beta-0183 62.46 KB Sun, 19 Feb 2017 09:05:20 GMT 2
1.1.1-beta-0181 62.46 KB Sun, 19 Feb 2017 08:32:31 GMT 2
1.1.0 62.38 KB Sat, 18 Feb 2017 18:52:32 GMT 2
1.1.0-beta-0179 62.39 KB Sat, 18 Feb 2017 18:36:24 GMT 2
1.1.0-beta-0178 62.39 KB Sat, 18 Feb 2017 18:17:35 GMT 2
1.1.0-beta-0177 62.39 KB Sat, 18 Feb 2017 18:02:02 GMT 2
1.1.0-beta-0176 62.39 KB Sat, 18 Feb 2017 17:45:46 GMT 2
1.1.0-beta-0175 62.39 KB Sat, 18 Feb 2017 17:30:39 GMT 2
1.0.0 61.96 KB Sat, 18 Feb 2017 11:47:22 GMT 2
1.0.0-beta-0174 62 KB Sat, 18 Feb 2017 13:15:44 GMT 2
1.0.0-beta-0172 61.98 KB Sat, 18 Feb 2017 11:31:37 GMT 2
1.0.0-alpha-0144 11.54 MB Sat, 04 Feb 2017 08:22:20 GMT 12
1.0.0-alpha-0132 11.73 MB Wed, 01 Feb 2017 14:45:32 GMT 3
1.0.0-alpha-0131 11.73 MB Wed, 01 Feb 2017 14:29:11 GMT 2
1.0.0-alpha-0130 11.65 MB Wed, 01 Feb 2017 14:03:00 GMT 3
1.0.0-alpha-0125 11.67 MB Thu, 19 Jan 2017 09:38:41 GMT 5
1.0.0-alpha-0124 11.67 MB Thu, 19 Jan 2017 09:22:34 GMT 3
1.0.0-alpha-0123 11.67 MB Mon, 09 Jan 2017 17:28:29 GMT 2
1.0.0-alpha-0122 11.67 MB Mon, 09 Jan 2017 16:49:41 GMT 4
1.0.0-alpha-0121 11.67 MB Mon, 02 Jan 2017 10:56:27 GMT 2
1.0.0-alpha-0120 11.67 MB Mon, 02 Jan 2017 09:51:41 GMT 2
1.0.0-alpha-0119 11.67 MB Mon, 02 Jan 2017 09:35:21 GMT 3
1.0.0-alpha-0118 11.67 MB Mon, 02 Jan 2017 09:18:53 GMT 2
1.0.0-alpha-0117 11.67 MB Sat, 31 Dec 2016 15:27:20 GMT 3
1.0.0-alpha-0116 11.66 MB Sat, 31 Dec 2016 14:18:03 GMT 2
0.1.0-alpha-beta-0171 11.94 MB Sat, 18 Feb 2017 11:15:04 GMT 2
0.1.0-alpha-beta-0170 11.93 MB Sat, 18 Feb 2017 10:43:47 GMT 3
0.1.0-alpha-beta-0169 11.93 MB Fri, 17 Feb 2017 16:38:19 GMT 2
0.1.0-alpha-beta-0167 11.93 MB Wed, 15 Feb 2017 17:32:51 GMT 2
0.1.0-alpha-beta-0166 11.93 MB Wed, 15 Feb 2017 16:27:07 GMT 2
0.1.0-alpha- 11.93 MB Thu, 16 Feb 2017 17:21:02 GMT 2