Skip to content

compose: App Service - containerless/runtime-specific support #5050

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

Open
JeffreyCA opened this issue Apr 7, 2025 · 0 comments
Open

compose: App Service - containerless/runtime-specific support #5050

JeffreyCA opened this issue Apr 7, 2025 · 0 comments
Assignees
Labels
compose composability
Milestone

Comments

@JeffreyCA
Copy link
Contributor

JeffreyCA commented Apr 7, 2025

Notes

App settings/connection strings

From https://learn.microsoft.com/azure/app-service/configure-common?tabs=portal#configure-connection-strings:

For ASP.NET and ASP.NET Core developers, setting connection strings in App Service is like setting them in in Web.config. The values that you set in App Service override the ones in Web.config. You can keep development settings, such as a database file, in Web.config. You can keep production secrets, such as SQL database credentials, safely in App Service. The same code uses your development settings when you debug locally. It uses your production secrets when you deploy it to Azure.

For other language stacks, it's better to use app settings instead. Connection strings require special formatting in the variable keys to access the values.

There's one case where you might want to use connection strings instead of app settings for non-.NET languages. Certain Azure database types are backed up along with the app only if you configure a connection string for the database in your App Service app. For more information, see Create a custom backup. If you don't need this automated backup, use app settings.

May be relevant if configuring connection strings: dotnet/runtime#36123

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
compose composability
Projects
None yet
Development

No branches or pull requests

2 participants