ASP.NET Core: compile once, host everywhere