Table of Contents

Quick Start

Scaffold a layered Potato project using the official template.


Prerequisites


Step 1 — Create the solution from the template

Use the potatoapp template to generate a ready-to-run solution with Domain, Infrastructure, Application, and API projects.

dotnet new potatoapp -n MyApplication
cd MyApplication

This creates:

MyApplication/
  MyApplication.sln
  MyApplication.Domain/
  MyApplication.Infrastructure/
  MyApplication.Application/
  MyApplication.Api/

The template already wires up project references and package dependencies.


Step 2 — Restore and build

dotnet restore
dotnet build

Step 3 — Run the API

dotnet run --project MyApplication.Api

Open the printed URL to verify the API is running.


Next steps