I am familiar w/ loading an appsettings.json section into a strongly typed object in .NET Core startup.cs. For example:
public class CustomSection
{
publ
Go with this structure format:
"MobileConfigInfo": {
"Values": {
"appointment-confirmed": "We've booked your appointment. See you soon!",
"appointments-book": "New Appointment",
"appointments-null": "We could not locate any upcoming appointments for you.",
"availability-null": "Sorry, there are no available times on this date. Please try another."
}
}
Make your setting class look like this:
public class CustomSection
{
public Dictionary Values {get;set;}
}
then do this
services.Configure((settings) =>
{
Configuration.GetSection("MobileConfigInfo").Bind(settings);
});