We are developing a web application using ASP.NET Core MVC hosted inside IIS, which implement some business scenarios for CRM. But we have couple of background jobs and long running jobs to do synchronization with external systems. So not sure if those background jobs and the scheduled jobs are suitable to be running inside our ASP.NET Core MVC web application hosted inside IIS?
Now when we were developing "Classic" ASP.NET MVC (before the ASP.NET Core MVC), we were always told that such web projects are not designed for running long running tasks and/or scheduled tasks, where console applications are best for these types of tasks. For example IIS will go to sleep mode so background jobs might not get fired at the desired time if no one is using the web application + if we run long running tasks inside IIS they might get timed-out before the tasks complete.
So is the above case still valid inside ASP.NET Core MVC web projects? or the ASP.NET Core is suitable for running scheduled and/or long running tasks?
Thanks