ASP.NET Forums/General ASP.NET/ASP.NET Core/Switching environment when publishing asp.net core web api/Switching environment when publishing asp.net core web api