Skip to content
| Marketplace
Sign in
Visual Studio>Tools>.NET 9 REST API Template
.NET 9 REST API Template

.NET 9 REST API Template

Jon Mikel Inza

|
145 installs
| (0) | Free
Accelerate the creation of .NET 9 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 .NET 9.0 REST API structured and layered solutions. It implements aspects like:

  • layered approach putting a strong focus on business/domain aspects (not DDD though)
  • factorized DI (reusable in tests)
  • default mapping settings
  • default validation mechanisms
  • default healthchecks wired mechanisms
  • OpenAPI basic configuration (enabled/disabled by configuration. Current version relies on Swashbuckle but upcoming versions will replace this dependency, according to .NET 9 philosophy)
  • API Versioning (based on URL routes)
  • automatic OpenAPI versioning according to code
  • XML Comments included in OpenAPI

The "Why" of this extension is to cover the need of business-oriented (or structured) templates. IDEs come with full of technical templates but they remain quite limited in some aspects, and require additional (and often repetitive) work in order to transform the proposed templates into usable business-oriented solutions.

The created Visual Studio solution template is the result of the evolution of many other templates and real project implementations (as well as .NET evolution). Choices are probably biased by those experiences and personal perspectives. This said, it solves tangible problems that backend projects and developers have to face.

The adopted architecture is not a full and strict Domain Driven solution to avoid a too extreme position and extend the usability of the template. However, it follows a business (or domain) oriented approach.

Feel free to provide feedback and use the template at will.

Buy Me a Coffee at ko-fi.com

.NET CLI

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

Release notes

v9.0.2357

  • .NET 9 upgrade
  • dependencies upgrades
  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft