Skip to content

Professional ASP.NET MVC templates 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.

License

Notifications You must be signed in to change notification settings

yellowfeather/Templates

 
 

Repository files navigation

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.

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

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.

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

About

Professional ASP.NET MVC templates 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.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • C# 65.8%
  • HTML 18.4%
  • CSS 9.3%
  • JavaScript 4.0%
  • Nginx 1.5%
  • PowerShell 0.6%
  • Other 0.4%