Mid ASP.NET Core

Settings reloading (on change) if supported?

JSON files support live reload:

builder.Configuration.AddJsonFile("appsettings.json", optional:

false, reloadOnChange: true);

IOptionsMonitor<T> automatically updates bound values when config changes.

🔁 Does not work with all sources (e.g., env vars, command line).

More from ASP.NET Core Tutorial

All questions for this course