© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
C#C
C#•3y ago•
6 replies
danno8524

❔ Access AppSettings from CSHTML in ASP.NET core

I am trying to read from my AppSettings.json file but am getting undefined returned. What am I missing here?
AppSettings1.png
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
Get values from appsettings in .NET Core
C#CC# / help
15mo ago
❔ Accessing StorageConnectionString from AppSettings.json Asp.net core 6.0
C#CC# / help
3y ago
asp net cshtml javascript file
C#CC# / help
4y ago