Member-only story
Get started with the Visual Studio template OnionAPI to scaffold ASP.NET WebAPI project for .NET 7
I’ve enhanced the template to accommodate .NET 8. For detailed instructions and additional information, see Get started with the Visual Studio template OnionAPI to scaffold ASP.NET WebAPI project for .NET 8.
Fuji Nguyen
12/4/2023
Introduction
If you’re looking for a recipe for building advanced REST APIs, look no further than the OnionAPI template. It’s packed with all sorts of handy features and best practices to help you get up and running in no time. In fact, compared to starting a REST API project from scratch, the OnionAPI template can save you at least 40 hours of coding time. That’s a lot of time you can spend on other important tasks (like go out and enjoy a bowl of Vietnamse Pho noodle soup).
— Fuji Nguyen, Author of OnionAPI Template
NET 7 has been officially released on November 8, 2022, replacing the previous version of NET 6. Developers can use the new release of Visual Studio template OnionAPI v7 to scaffold NET 7 REST API projects based on the Clean Architecture pattern as described in Figure 1.

