aspnet-mvc-boilerplate - Boilerplate.Templates 1.5.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.

PM> Install-Package Boilerplate.Templates -Version 1.5.0 -Source https://www.myget.org/F/aspnet-mvc-boilerplate/api/v3/index.json

Copy to clipboard

nuget.exe install Boilerplate.Templates -Version 1.5.0 -Source https://www.myget.org/F/aspnet-mvc-boilerplate/api/v3/index.json

Copy to clipboard

dotnet add package Boilerplate.Templates --version 1.5.0 --source https://www.myget.org/F/aspnet-mvc-boilerplate/api/v3/index.json

Copy to clipboard
<PackageReference Include="Boilerplate.Templates" Version="1.5.0" />
Copy to clipboard
source https://www.myget.org/F/aspnet-mvc-boilerplate/api/v3/index.json

nuget Boilerplate.Templates  ~> 1.5.0
Copy to clipboard

choco install Boilerplate.Templates --version 1.5.0 --source https://www.myget.org/F/aspnet-mvc-boilerplate/

Copy to clipboard
Import-Module PowerShellGet
Register-PSRepository -Name "aspnet-mvc-boilerplate" -SourceLocation "https://www.myget.org/F/aspnet-mvc-boilerplate/api/v3/index.json"
Install-Module -Name "Boilerplate.Templates" -RequiredVersion "1.5.0" -Repository "aspnet-mvc-boilerplate"
Copy to clipboard

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 dotnet 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

  • Added API Versioning support for Swagger.
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
153 total downloads
0 downloads for version 1.5.0
Package size 61.37 KB
Download
Found on the current feed only

Package history

Version Size Last updated Downloads Mirrored?
Recommended release 1.5.0 61.37 KB Fri, 21 Apr 2017 15:38:48 GMT 0
1.5.0-beta-0252 61.61 KB Fri, 21 Apr 2017 16:17:14 GMT 0
1.5.0-beta-0251 61.38 KB Fri, 21 Apr 2017 16:01:20 GMT 0
1.5.0-beta-0250 61.38 KB Fri, 21 Apr 2017 15:50:34 GMT 0
1.5.0-beta-0248 61.38 KB Fri, 21 Apr 2017 15:27:21 GMT 0
1.5.0-beta-0247 61.38 KB Fri, 21 Apr 2017 11:53:55 GMT 1
1.5.0-beta-0246 61.39 KB Fri, 21 Apr 2017 11:43:39 GMT 0
1.5.0-beta-0245 61.38 KB Fri, 21 Apr 2017 11:33:40 GMT 1
1.5.0-beta-0244 61.39 KB Fri, 21 Apr 2017 11:23:35 GMT 0
1.5.0-beta-0243 61.38 KB Fri, 21 Apr 2017 11:13:21 GMT 0
1.4.0 59.96 KB Fri, 14 Apr 2017 16:23:41 GMT 0
1.4.0-beta-0241 59.98 KB Fri, 14 Apr 2017 16:13:35 GMT 1
1.4.0-beta-0240 59.9 KB Fri, 14 Apr 2017 16:03:40 GMT 1
1.3.1-beta-0239 59.9 KB Fri, 14 Apr 2017 15:53:15 GMT 1
1.3.1-beta-0238 59.87 KB Thu, 13 Apr 2017 16:24:21 GMT 1
1.3.1-beta-0237 59.85 KB Thu, 13 Apr 2017 16:09:03 GMT 1
1.3.1-beta-0236 60.04 KB Thu, 13 Apr 2017 15:58:17 GMT 1
1.3.1-beta-0235 60.07 KB Thu, 13 Apr 2017 15:47:24 GMT 1
1.3.1-beta-0234 60.05 KB Thu, 13 Apr 2017 14:49:11 GMT 0
1.3.1-beta-0233 60.11 KB Mon, 10 Apr 2017 16:03:54 GMT 0
1.3.1-beta-0232 60.12 KB Mon, 10 Apr 2017 15:47:50 GMT 1
1.3.1-beta-0231 60.15 KB Mon, 10 Apr 2017 15:32:17 GMT 1
1.3.0 62.51 KB Thu, 06 Apr 2017 16:26:01 GMT 0
1.3.0-beta-0229 62.53 KB Thu, 06 Apr 2017 16:14:49 GMT 1
1.3.0-beta-0228 62.04 KB Wed, 05 Apr 2017 17:52:59 GMT 2
1.3.0-beta-0227 62.02 KB Mon, 03 Apr 2017 14:06:48 GMT 1
1.2.0 61.66 KB Fri, 24 Mar 2017 16:46:46 GMT 6
1.2.0-beta-0226 61.68 KB Wed, 29 Mar 2017 10:07:53 GMT 2
1.2.0-beta-0223 61.68 KB Fri, 24 Mar 2017 16:45:04 GMT 2
1.2.0-beta-0221 61.97 KB Thu, 23 Mar 2017 17:27:04 GMT 2
1.1.2-beta-0214 62.7 KB Tue, 21 Mar 2017 21:40:06 GMT 2
1.1.2-beta-0196 62.7 KB Wed, 01 Mar 2017 18:33:36 GMT 10
1.1.2-beta-0195 62.7 KB Wed, 01 Mar 2017 18:16:53 GMT 4
1.1.2-beta-0192 62.7 KB Wed, 01 Mar 2017 17:33:17 GMT 5
1.1.2-beta-0191 62.7 KB Tue, 28 Feb 2017 08:58:52 GMT 4
1.1.2-beta-0190 62.7 KB Wed, 22 Feb 2017 17:28:52 GMT 4
1.1.1 62.44 KB Sun, 19 Feb 2017 08:48:18 GMT 4
1.1.1-beta-0189 62.45 KB Tue, 21 Feb 2017 19:28:37 GMT 3
1.1.1-beta-0188 62.45 KB Tue, 21 Feb 2017 19:03:48 GMT 3
1.1.1-beta-0185 62.46 KB Tue, 21 Feb 2017 17:36:02 GMT 3
1.1.1-beta-0184 62.46 KB Tue, 21 Feb 2017 17:17:47 GMT 5
1.1.1-beta-0183 62.46 KB Sun, 19 Feb 2017 09:05:20 GMT 4
1.1.1-beta-0181 62.46 KB Sun, 19 Feb 2017 08:32:31 GMT 4
1.1.0 62.38 KB Sat, 18 Feb 2017 18:52:32 GMT 4
1.1.0-beta-0179 62.39 KB Sat, 18 Feb 2017 18:36:24 GMT 3
1.1.0-beta-0178 62.39 KB Sat, 18 Feb 2017 18:17:35 GMT 4
1.1.0-beta-0177 62.39 KB Sat, 18 Feb 2017 18:02:02 GMT 4
1.1.0-beta-0176 62.39 KB Sat, 18 Feb 2017 17:45:46 GMT 4
1.1.0-beta-0175 62.39 KB Sat, 18 Feb 2017 17:30:39 GMT 4
1.0.0 61.96 KB Sat, 18 Feb 2017 11:47:22 GMT 3
1.0.0-beta-0174 62 KB Sat, 18 Feb 2017 13:15:44 GMT 4
1.0.0-beta-0172 61.98 KB Sat, 18 Feb 2017 11:31:37 GMT 4
1.0.0-alpha-0144 11.54 MB Sat, 04 Feb 2017 08:22:20 GMT 14
1.0.0-alpha-0132 11.73 MB Wed, 01 Feb 2017 14:45:32 GMT 6
1.0.0-alpha-0131 11.73 MB Wed, 01 Feb 2017 14:29:11 GMT 5
1.0.0-alpha-0130 11.65 MB Wed, 01 Feb 2017 14:03:00 GMT 4
1.0.0-alpha-0125 11.67 MB Thu, 19 Jan 2017 09:38:41 GMT 8