© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
C#C
C#•3y ago•
1 reply
bookuha

❔ Access appsettings.json in ASP.NET Web API in Azure published App Service

https://stackoverflow.com/questions/76005641/azure-hosted-asp-net-web-api-cannot-access-appsettings-json
Stack Overflow
Azure-hosted ASP.NET Web API cannot access appsettings.json
I'm trying to publish my .NET 7 Web API on Azure as App Service + Database.
Locally I execute the following code to get appsettings.json working in my dotnet publish (-ed) app:
var builder =
Azure-hosted ASP.NET Web API cannot access appsettings.json
C# banner
C#Join
We are a programming server aimed at coders discussing everything related to C# (CSharp) and .NET.
61,871Members
Resources

Similar Threads

Was this page helpful?
Recent Announcements

Similar Threads

❔ Access AppSettings.json in asp.net core
C#CC# / help
3y ago
❔ Access AppSettings from CSHTML in ASP.NET core
C#CC# / help
3y ago
✅ Authorization in ASP.NET Web Api
C#CC# / help
2y ago
❔ Azure ASP.NET web api defaultAzureCredentials Error (DevOps Help)
C#CC# / help
3y ago