Back

Explore Courses Blog Tutorials Interview Questions
0 votes
2 views
in Linux by (18.4k points)
So I have the app that is composed of the API and the Windows service (wrapped by Topshelf) that is continuously hearing for the events using the RabbitMQ and processes data on demand.

For education and fun, I'm trying to rewrite this into my equivalent setup that would run on .NET Core and UNIX (e.g. in my docker container on AWS)

What would be a proper way to implement something equivalent to my windows service like that (forever-running background process) using .NET Core if I want to keep it cross-platform?

1 Answer

0 votes
by (36.8k points)

See your Worker Services (.NET Core 3.x):

You need to create one from this new Visual Studio 2019 Worker Service project template, or by using this .NET CLI:

dotnet new worker

Want to be a Linux expert? Come and join this Linux course

Do check out the video below

 

Related questions

0 votes
1 answer
0 votes
1 answer
asked Dec 25, 2020 in Linux by blackindya (18.4k points)
0 votes
1 answer
0 votes
1 answer
asked Dec 10, 2020 in Linux by blackindya (18.4k points)

Browse Categories

...