I'm working with .NET Core 5 in a monolithic application, it has many IHostedServices that affect performance and I wanted to convert them all to microservices. I can't find any examples of microservices that run automatically at an interval. What would be the correct way to implement this?
Edit:
I want to separate my application from hosted services, I thought about creating another .NET Core application just to run each of these hosted services. Would it be correct to create a clean project using the same database running only with the hosted service?