Skip to main content
Version: v0.1

Web API Project Template

Create Your First Arcus Web API Project

First, install the template from NuGet:

> dotnet new --install Arcus.Templates.WebApi

When installed, the template can be created with shortname: arcus-webapi:

> dotnet new arcus-webapi --name Arcus.Demo.WebAPI


Creates a starter web API project with by default configured:

  • Exception middleware to log unhandled exceptions thrown during request processing.
  • Content negotiation that only supports application/json.
  • OpenAPI docs generation and UI (only available locally).


And additional features available with options: