694 B
694 B
Visual Studio
- Create a new project.
- Select Worker Service. Select Next.
- Provide a project name in the Project name field or accept the default project name. Select Next.
- In the Additional information dialog, Choose a Framework. 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.
dotnet new worker -o ContosoWorker