Skip to content

Commit 5f1687a

Browse files
authored
Clarify env var config in Azure Apps topic (dotnet#16225)
1 parent feebf7a commit 5f1687a

File tree

1 file changed

+10
-8
lines changed
  • aspnetcore/host-and-deploy/azure-apps

1 file changed

+10
-8
lines changed

aspnetcore/host-and-deploy/azure-apps/index.md

Lines changed: 10 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ description: This article contains links to Azure host and deploy resources.
55
monikerRange: '>= aspnetcore-2.1'
66
ms.author: bradyg
77
ms.custom: mvc
8-
ms.date: 11/07/2019
8+
ms.date: 12/16/2019
99
uid: host-and-deploy/azure-apps/index
1010
---
1111
# Deploy ASP.NET Core apps to Azure App Service
@@ -81,13 +81,13 @@ When an app setting is created or modified in the Azure Portal and the **Save**
8181

8282
::: moniker range=">= aspnetcore-3.0"
8383

84-
When an app uses the [Generic Host](xref:fundamentals/host/generic-host), environment variables aren't loaded into an app's configuration by default and the configuration provider must be added by the developer. The developer determines the environment variable prefix when the configuration provider is added. For more information, see <xref:fundamentals/host/generic-host> and the [Environment Variables Configuration Provider](xref:fundamentals/configuration/index#environment-variables-configuration-provider).
84+
When an app uses the [Generic Host](xref:fundamentals/host/generic-host), environment variables are loaded into the app's configuration when <xref:Microsoft.Extensions.Hosting.Host.CreateDefaultBuilder*> is called to build the host. For more information, see <xref:fundamentals/host/generic-host> and the [Environment Variables Configuration Provider](xref:fundamentals/configuration/index#environment-variables-configuration-provider).
8585

8686
::: moniker-end
8787

8888
::: moniker range="< aspnetcore-3.0"
8989

90-
When an app builds the host using [WebHost.CreateDefaultBuilder](/dotnet/api/microsoft.aspnetcore.webhost.createdefaultbuilder), environment variables that configure the host use the `ASPNETCORE_` prefix. For more information, see <xref:fundamentals/host/web-host> and the [Environment Variables Configuration Provider](xref:fundamentals/configuration/index#environment-variables-configuration-provider).
90+
When an app uses the [Web Host](xref:fundamentals/host/web-host), environment variables are loaded into the app's configuration when <xref:Microsoft.AspNetCore.WebHost.CreateDefaultBuilder*> is called to build the host. For more information, see <xref:fundamentals/host/web-host> and the [Environment Variables Configuration Provider](xref:fundamentals/configuration/index#environment-variables-configuration-provider).
9191

9292
::: moniker-end
9393

@@ -140,14 +140,16 @@ When swapping between deployment slots, any system using data protection won't b
140140
For more information, see <xref:security/data-protection/implementation/key-storage-providers>.
141141
<a name="deploy-aspnet-core-preview-release-to-azure-app-service"></a>
142142

143-
## Deploy ASP.NET Core 3.0 to Azure App Service
143+
## Deploy an ASP.NET Core app that uses a .NET Core preview
144144

145-
ASP.NET Core 3.0 is supported on Azure App Service. To deploy a preview release of a .NET Core version later than .NET Core 3.0, use one of the following techniques. These approaches are also used when the runtime is available but the SDK hasn't been installed on Azure App Service.
145+
To deploy an app that uses a preview release of .NET Core, see the following resources. These approaches are also used when the runtime is available but the SDK hasn't been installed on Azure App Service.
146146

147147
* [Specify the .NET Core SDK Version using Azure Pipelines](#specify-the-net-core-sdk-version-using-azure-pipelines)
148-
* [Deploy a self-contained preview app](#deploy-a-self-contained-preview-app).
149-
* [Use Docker with Web Apps for containers](#use-docker-with-web-apps-for-containers).
150-
* [Install the preview site extension](#install-the-preview-site-extension).
148+
* [Deploy a self-contained preview app](#deploy-a-self-contained-preview-app)
149+
* [Use Docker with Web Apps for containers](#use-docker-with-web-apps-for-containers)
150+
* [Install the preview site extension](#install-the-preview-site-extension)
151+
152+
See the [ASP.NET Core on App Service Dashboard](https://aspnetcoreon.azurewebsites.net/) for the version of ASP.NET Core available on Azure App service.
151153

152154
### Specify the .NET Core SDK Version using Azure Pipelines
153155

0 commit comments

Comments
 (0)