Skip to content

Commit e84d36f

Browse files
tdykstraRick-Andersonhalter73
authored
Call WebApplication.CreateBuilder(args) only once (#34492)
Co-authored-by: Rick Anderson <[email protected]> Co-authored-by: Stephen Halter <[email protected]>
1 parent 14ba459 commit e84d36f

File tree

1 file changed

+2
-0
lines changed
  • aspnetcore/fundamentals/configuration

1 file changed

+2
-0
lines changed

aspnetcore/fundamentals/configuration/index.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,8 @@ var builder = WebApplication.CreateBuilder(args);
5959
1. [appsettings.json](#appsettingsjson) using the [JSON configuration provider](#jcp).
6060
1. A fallback to the host configuration described in the [next section](#host).
6161

62+
Note: `WebApplication.CreateBuilder(args)` should only be called once in apps relying on IIS in-process hosting.<!--Delete this note in the .NET 10 version of the article. See <https://github.com/dotnet/aspnetcore/pull/59910>. -->
63+
6264
<a name="host"></a>
6365

6466
### Default host configuration sources

0 commit comments

Comments
 (0)