Member-only story

Visual Studio Template OnionAPI — Release Notes

Version Update: NET 9 Support

Fuji Nguyen
3 min readJan 10, 2025
Template OnionAPI in Visual Studio Marketplace

Overview

The OnionAPI Visual Studio Template is designed to streamline the development of modern, scalable Web API by providing a pre-configured solution structure. This template adheres to best practices and design patterns, enabling developers to focus on building features while following clean architecture principles.

Features

Automatic Project Setup

The template generates a solution with five distinct projects, each prefixed with the chosen project name. Each project is configured with customizable namespaces:

  • Domain: Contains entities and common models integral to the application.
  • Application: Hosts interfaces, CQRS features, exceptions, and behaviors critical to the application’s functionality.
  • Infrastructure.Persistence: Built with Entity Framework, this project facilitates seamless database interactions.
  • Infrastructure.Shared: Includes shared services such as Mail Service, DateTime Service, and Mock utilities.
  • WebApi: Exposes REST API resources via controllers and provides Swagger endpoints for easy API interaction.

--

--

Fuji Nguyen
Fuji Nguyen

Written by Fuji Nguyen

DX Advocate, Open Source Contributor improving dev experience. Pickleball enthusiast who enjoys playing and coaching, sharing skills on and off the court.

No responses yet