appsettings.json
and environments
#19709
Unanswered
xperiandri
asked this question in
Q&A
Replies: 2 comments 4 replies
-
Thanks for the question. You can always read the browser's address bar parameters, or using the OnLaunched parameters to change the current environment. |
Beta Was this translation helpful? Give feedback.
1 reply
-
@xperiandri For local development we created different launchSettings (in Properties > launchSettings.json)
This |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
How can I use different complementary
appsettings.{environment}.json
for different environmentsNow what I do is
However, I want the app to work with production, staging, and development environments.
Is it possible to achieve this without using custom platforms with custom compile-time variables and rebuilding app using conditional compilation?
Beta Was this translation helpful? Give feedback.
All reactions