If you update appsettings.json in production and nothing changes…
✔ Fix
builder.Configuration.AddJsonFile(
"appsettings.json",
optional: false,
reloadOnChange: true
);
💡 Bonus
Works even in Kubernetes (mounted config map).
Related posts:

ASP.NET Core: Fix a File Upload That Times Out on Slow Connections Only Because Kestrel's Minimum Da...

C#: Fix a Nullable Reference Type Warning That Silently Never Appears Because the Project Enabled Nu...
