.NET Core - Set Environment Variable in Azure Deployment Task

前端 未结 3 1479
离开以前
离开以前 2021-02-18 18:01

I\'m currently trying to use the launchSettings.json file to manage the environment variables of the application, so my Setup.cs file can manage the en

3条回答
  •  清歌不尽
    2021-02-18 18:54

    Because ASPNETCORE_ENVIRONMENT is an environment variable, you can just specify it on Azure.

    See the Stack Overflow answer on How and where to define an environment variable on Azure.

提交回复
热议问题