Where to put code to run after startup is completed : <p>I have an aspnetcore app.</p>

<p>During startup, it does the usual startup actions.</p>

<p>After these are complete, I need to do some verification to ensure it was set up correctly.  In particular, I need to call a stored procedure in the database using the default connection string.  In other words, I need to create a class that uses dependency injection so that needs to be complete before it is called.</p>

<p>Just not sure where to put such code in StartUp.</p>
