Skip to content
| Marketplace
Sign in
Visual Studio>Templates>.NET 5 REST API Template
.NET 5 REST API Template

.NET 5 REST API Template

Jon Mikel Inza

|
7,967 installs
| (5) | Free
Accelerate the creation of .NET 5 API projects with minimal dependencies and a solution containing settings for DI/IoC, API versioning, automatic OpenAPI/Swagger documentation, separated layers, preconfigured mapping settings, preconfigured log settings, etc.
Download

Description

This extension allows to create a .NET 5.0 REST API ready to be used solution taking into account:

  • DI according to .NET 5 practices, inherited from .NET Core (without external dependencies)
  • exception handling settings according to .NET 5 practices (production and development error handlers)
  • AppSettings
  • mapping settings (based on Automapper)
  • OpenAPI basic configuration (can be enabled/disabled by configuration)
  • API Versioning (based on URL routes)
  • automatic OpenAPI versioning according to code
  • XML Comments included in Swagger

The created solution is layered according to architectural principles and gathering a set of good practices. The result is increased testability, evolutivity and maintainability.

Buy Me a Coffee at ko-fi.com

What does it look like?

Once the extension installed, you can use it directly from the start screen when you create a new project:

VS2019_NET5_RESTAPI_Create1.png

Creation Wizard - Step 1

VS2019_NET5_RESTAPI_Create2.png

Creation Wizard - Step 2

VS2019_NET5_RESTAPI_Create3-Wizard.png

The extension will create a VS solution and the projects to build a REST API in order to focus on value creation.

VS2019_NET5_RESTAPI_NewSolution.png

The provided settings through the wizard can be updated at any time in the configuration file (appsettings.json).

More details and a quick start at //jmidotnetfr.wordpress.com/2020/11/06/net-5-rest-api-template-for-visual-studio/.

.NET CLI

In addition to this Visual Studio version, you can find here the .NET CLI version.

Release notes

v5.0.1011

  • end of preview and first .NET 5 version

v5.0.1000-preview

  • code comments (XML Comments type) at DataContract level are included in the Swagger/OpenAPI generation

v5.0.962-preview

  • solution creation new UI to provide common settings
  • license updates (missing until now)
  • error fixes
  • delivery process updates
  • new VSIX project to review settings

v5.0.917-preview

  • small updates (RC2)
  • logo update
  • AppSettings DI error fix

v5.0.872-preview

  • .NET 5.0 RC updrage
  • log settings improvements
  • Services structure reviewed according to provided feedbacks

v5.0.863-preview

  • metadata updates and sync with the CLI version

v5.0.861-preview

  • preview version of the template technical upgrade
  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft