I am learning ASP.NET Core and would like to perform a single asynchronous initialisation task before spawning background services. The initialisation task sets up kafka topics etc. based upon information in the appsettings.{Environment}.json config.
Is this best done in the Configure
method of the Startup
class? (See answer)