Building .NET 8 Web API for a Warehouse Application Using Visual Studio Template OnionAPI

Fuji Nguyen
Scrum and Coke
Published in
14 min readDec 12, 2023

--

Imagine you’ve been tasked with developing a Web API to support an order fulfillment system for a warehouse, and the technology stack involves .NET Core and a relational database. How would you begin? This tutorial is designed to guide you through the process of developing a .NET 8 Web API using the power and convenience of Visual Studio Template OnionAPI.

The tutorial will walk you through the intricacies of managing customer order fulfillment within a warehouse domain. The domain model encompasses crucial entities such as customers, addresses, orders, and products. By dissecting and understanding the specific needs of this domain, you’ll not only grasp the fundamental principles of Clean Architecture but also gain practical insights into developing a REST API tailored for warehouse management.

In this tutorial, we’ll delve into various topics, including:

  • Initiating the project swiftly with a Visual Studio Template OnionAPI
  • Design the data model and establish relationships between entities using Entity Framework Core

--

--

Fuji Nguyen
Scrum and Coke

DX Advocate, OpenSource Contributor, Pickleball Player - Improves software dev experience, contributes to opensource projects, and plays pickleball for leisure.