Reading appsettings.json - Blazor Purchase Orders - Part 27

Опубликовано: 12 Март 2026
на канале: Christopher Bell
1,299
24

A C# project using Blazor to create a simple Purchase Order System, incorporating Syncfusion controls and using Dapper to link to a SQL database.

Towards the end of the previous video, 'Deploying to Azure', I speculated that it would be useful to use the fact that we could read different values of the same constant from appsettings.json and appsettings.Development.json depending on whether the app was being run in production or development mode. In this video we will look at how this can be achieved.

References:
Blazorcode.uk : https://blazorcode.uk/purchaseorders/...
Tim Corey: Intro to AppSettings in .NET Core :    • Intro to AppSettings in .NET Core - Appset...  
Syncfusion: https://www.syncfusion.com/products/c...