dotnet/AspNetCore.Docs

suggest warning on doc page "Configuration in ASP.NET Core"

Opened this issue · 0 comments

Description

I think the page “Configuration in ASP.NET Core” https://learn.microsoft.com/en-us/aspnet/core/fundamentals/configuration/?view=aspnetcore-8.0 should have a big warning like

NOTE: While we mention WebApplication.CreateBuilder(args) many times on this page, KIDS, DON’T TRY THIS AT HOME.
You should ONLY CALL WebApplication.CreateBuilder ONCE. The reason is explained in the IIS Support blog post here: https://techcommunity.microsoft.com/blog/iis-support-blog/asp-net-core-503-server-has-been-shutdown/3830338

[Enter feedback here]

Page URL

https://learn.microsoft.com/en-us/aspnet/core/fundamentals/configuration/?view=aspnetcore-8.0

Content source URL

https://github.com/dotnet/AspNetCore.Docs/blob/main/aspnetcore/fundamentals/configuration/index.md

Document ID

ba2254a0-ea8e-9b28-e94b-edd0fc58c043

Article author

@tdykstra

Related Issues