-
Notifications
You must be signed in to change notification settings - Fork 25.2k
publish my app using all those 3 different predefined environment variables #2029
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
@sayedihashimi can you comment? |
let me know if you have the solution to this. thx |
In ASP.NET 4 the application configuration was strictly tied to the
Here you can see that it picks up For multi-environment setup you should create a file that contains the unique config values. Then on your server set the env variable You can also look at extending the ASP.NET Core config system by adding custom providers if the json file based provider doesn't suit your needs. More info on config at https://docs.asp.net/en/latest/fundamentals/configuration.html. I hope that helps answer the question here. If not please let me know and I'll expand. |
Thank you for your reply @sayedihashimi, great help. |
@benzhi2011 thanks. I agree that we should have a better story here. I've created aspnet/Tooling#841 to track the work. We can discuss there if you have any ideas. Can we close this issue? |
This is being tracked at tooling aspnet/Tooling#841 |
Cust asks:
The text was updated successfully, but these errors were encountered: