Summary
ASP.NET Core and the .NET CLI already contain all the tools to get them running on various platforms and to set it up to get it ready for Azure and IIS, as well as Nginx. This is super easy and well described in the documentation.
Currently, we have WebHostBuilder
, which creates the hosting environment of the applications. In version 3.0, we have HostBuilder
, which is able to create a hosting environment that is completely independent of any web context.
ASP.NET Core 6.0 has a feature to run tasks in the background inside the application. To learn more about that, read the next chapter.