Back to Aspnetcore

Visual Studio

aspnetcore/includes/worker-template-instructions.md

latest676 B
Original Source

Visual Studio

  1. Create a new project.
  2. Select Worker Service. Select Next.
  3. Provide a project name in the Project name field or accept the default project name. Select Create.
  4. In the Create a new Worker service dialog, select Create.

.NET CLI

Use the Worker Service (worker) template with the dotnet new command from a command shell. In the following example, a Worker Service app is created named ContosoWorker. A folder for the ContosoWorker app is created automatically when the command is executed.

dotnetcli
dotnet new worker -o ContosoWorker