How to set aspnetcore_environment in publish file?
问题 I have ASP.NET Core application (Web Api). The documentation has explained working with multiple environments, however it failed to explain how to set aspnetcore_environment when publishing the web site. So lets say if i have 3 environments Development , Staging and Production In classic ASP.NET Web Application i used to create 3 build configurations. Development , Staging and Production ( Like shown in picture below). and then 3 .pubxml files, one for each configuration. Do i need to use the