Reference: https://andrewlock.net/reducing-latency-by-pre-building-singletons-in-asp-net-core/
The link above walks through a useful alternative to other app-startup features in .NET Core. He also provides descriptions of those other features.
It is useful when operations need to be performed only one time before the application runs: IWebHost.Run().