From d77c5a34bbae601ea9a5506e46bb162960cadd9b Mon Sep 17 00:00:00 2001 From: Rick Anderson <3605364+Rick-Anderson@users.noreply.github.com> Date: Wed, 18 Sep 2024 14:50:01 -1000 Subject: [PATCH] ASP.NET Core Extensions and Generic host removed /7 (#33235) * Update for minimal host Fixes #33234 * Update index.md --- aspnetcore/host-and-deploy/azure-apps/index.md | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/aspnetcore/host-and-deploy/azure-apps/index.md b/aspnetcore/host-and-deploy/azure-apps/index.md index fe85e27cfa94..3dce797bae26 100644 --- a/aspnetcore/host-and-deploy/azure-apps/index.md +++ b/aspnetcore/host-and-deploy/azure-apps/index.md @@ -82,7 +82,7 @@ App settings in the Azure Portal permit you to set environment variables for the When an app setting is created or modified in the Azure Portal and the **Save** button is selected, the Azure App is restarted. The environment variable is available to the app after the service restarts. -When an app uses the [Generic Host](xref:fundamentals/host/generic-host), environment variables are loaded into the app's configuration when is called to build the host. For more information, see and the [Environment Variables Configuration Provider](xref:fundamentals/configuration/index#environment-variables). +Environment variables are loaded into the app's configuration when [CreateBuilder](/dotnet/api/microsoft.aspnetcore.builder.webapplication.createbuilder) is called to build the host. For more information, see the [Environment Variables Configuration Provider](xref:fundamentals/configuration/index#environment-variables). :::moniker-end :::moniker range="< aspnetcore-3.0" @@ -239,9 +239,6 @@ When the operation completes, the latest .NET Core preview is installed. Verify > > The command returns `True` when the x64 preview runtime is installed. -> [!NOTE] -> **ASP.NET Core Extensions** enables additional functionality for ASP.NET Core on Azure App Services, such as enabling Azure logging. The extension is installed automatically when deploying from Visual Studio. If the extension isn't installed, install it for the app. - **Use the preview site extension with an ARM template** If an ARM template is used to create and deploy apps, the `Microsoft.Web/sites/siteextensions` resource type can be used to add the site extension to a web app. In the following example, the ASP.NET Core 5.0 (x64) Runtime site extension (`AspNetCoreRuntime.5.0.x64`) is added to the app: