Base solution for your next web application
Starts in:
01 DAYS
01 HRS
01 MIN
01 SEC
Open Closed

How to read appsettings.json in AppService #3964


User avatar
0
ajayak created

How can I read appsettings.json in AppService. Is there any way I can strongly type the appSettings.json configuration as in ASP.NET Core?


1 Answer(s)
  • User Avatar
    0
    ismcagdas created
    Support Team

    Hi @ajayak,

    You can use <a class="postlink" href="https://github.com/aspnetzero/aspnet-zero-core/blob/dev/aspnet-core/src/MyCompanyName.AbpZeroTemplate.Core/Configuration/AppConfigurations.cs">https://github.com/aspnetzero/aspnet-ze ... rations.cs</a>.