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?