C
C#15mo ago
Raki

❔ Where to store the app service app settings variable so I can access them based on environment

In azure app service, currently I'm maintaining the application setting variable. In the local how to save the same variable so in local it will fetch from the stored place and while I deployed it will get from the app service app settings. I found that using environment.Getenvironmentvariables() I can access the variable in production. But where to save the same in local for development purpose.
5 Replies
codesandplays
codesandplays15mo ago
app settings
codesandplays
codesandplays15mo ago
Configure apps - Azure App Service
Learn to configure common settings for an App Service app. App settings, app config, connection strings, platform, language stack, container, etc.
codesandplays
codesandplays15mo ago
Go this route 2) Or store values in environment variables on app service and in local machine too Whatever fits your use case
Raki
Raki15mo ago
Thanks it helped a lot
Accord
Accord15mo ago
Was this issue resolved? If so, run /close - otherwise I will mark this as stale and this post will be archived until there is new activity.
Want results from more Discord servers?
Add your server
More Posts
❔ Error CS0017Im doing a graded assignment and im working on it myself; Im stuck at this one line that is telling GIT Question for companySorry if this is a really noob question, but I don't want to bother my manager and also I've never w✅ Debugging razor component page isn`t workingCould you please tell me why the debugger on the .razor page may not work? On the page to which visu❔ How to read configuration based on environmentI have a stored my connection string as configuration in web.config. Now I have stored the same conn❔ PlayStation 2 startup recreationWondering how I can recreate the iconic PS2 startup, and whag framework would fit this question❔ Send using http post with multiple parameters, to an endpoint defined in C# with minimal APIsI've got an endpoint like so: ```csharp app.MapPost("/endpoint1", async ValueTask<IResult?> (string ❔ Does AssemblyLoadContext use dependencies that are already loaded in the default context?I'm not debugging any issues, I'm just trying to make sure I understand what I can expect this subsy✅ Can't use `gh webhooks forward`: "Error: you must be authenticated to run this command"I'm trying to forward github webhooks to a local server for testing purposes, following <https://doc❔ need some help for school assignment - changing image via variablehey, having problems building a microsoft form in c#, part of my assignment is to build a basic educ❔ Writing to StreamWriter FailsHi, I was experimenting with permanently saving things for the first time and ran into problems. Des