Jason J
Jason J

Reputation: 31

What is the .NET Core equivalent of Windows Services

I have an existing Windows Service. On startup, it enters a loop where it reads from a queue and responds to messages placed on that queue. The application also needs to:

  1. Run automatically after it is deployed
  2. Should be able to be gracefully started and stopped manually from operations

My current solution is to implement this as a Windows Service and run on Windows Server. Is there an equivalent of this type of application in .NET Core or is there an equivalent of the SCM in Azure or AWS?

Upvotes: 0

Views: 1073

Answers (1)

ElasticCode
ElasticCode

Reputation: 7875

Hangfire An easy way to perform background processing in .NET and .NET Core applications. No Windows Service or separate process required.

Backed by persistent storage, open-source framework that helps you to create, process and manage your background jobs.

Check also this article about Runing Background Tasks in ASP.NET

Upvotes: 0

Related Questions