.NET & C# ยท ASP.NET Core
How should configuration and options pattern be used in production?
Use user secrets locally and a managed secret store in production. Choose IOptions, IOptionsSnapshot, or IOptionsMonitor based on lifetime and reload requirements.