Horje
how to create a worker service Code Example
how to create a worker service
//Step 1: Publish the Worker service

cd "Path to the Worker service project"
dotnet restore
dotnet publish -o PathToThePublishFolder

//Step 2: Deploy and start with sc utility

sc.exe create DemoWorker binpath= PathToThePublishFolder\YourWorkerClassName.exe
sc.exe start YourWorkerClassName

//Step 3: Stop and delete with sc utility

sc.exe stop YourWorkerClassName 
sc.exe delete YourWorkerClassName 




Shell

Related
2019 VS MS build broken after install Code Example 2019 VS MS build broken after install Code Example
clone using token github Code Example clone using token github Code Example
linux view running jobs Code Example linux view running jobs Code Example
add homebrew to your path Code Example add homebrew to your path Code Example
ubuntu install without suggested packages Code Example ubuntu install without suggested packages Code Example

Type:
Code Example
Category:
Coding
Sub Category:
Code Example
Uploaded by:
Admin
Views:
9