Understanding ASP.NET Core Initialization