dotnet命令运行时选择对应的appsettings.{xxx}.json
# 普通命令 dotnet xxxx.dll --urls http://*:{port} # 选择加载不同的json # Windows setx ASPNETCORE_ENVIRONMENT "{xxx}" # Linux export ASPNETCORE_ENVIRONMENT={xxx} # Docker -e "ASPNETCORE_ENVIRONMENT={xxx}"