How to set aspnetcore_environment in publish file?

后端 未结 6 783
盖世英雄少女心
盖世英雄少女心 2020-12-28 12:13

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_envir

6条回答
  •  执念已碎
    2020-12-28 12:45

    Simple way to set it in visual studio IDE.

    Project > Properties> Debug > Environment variables

    Please do not use environment variables of machine level instead scope to the application , there is a possibility of other application doing same, changing may affect other application.

提交回复
热议问题