From 5eb37054f9706fdcac35902a3bc778a1a946d823 Mon Sep 17 00:00:00 2001 From: Rick Anderson <3605364+Rick-Anderson@users.noreply.github.com> Date: Thu, 20 Jun 2024 18:18:05 -1000 Subject: [PATCH] Update index.md (#32899) * Update index.md * Update index.md * Update aspnetcore/host-and-deploy/azure-apps/index.md Co-authored-by: Tom Dykstra --------- Co-authored-by: Tom Dykstra --- aspnetcore/host-and-deploy/azure-apps/index.md | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/aspnetcore/host-and-deploy/azure-apps/index.md b/aspnetcore/host-and-deploy/azure-apps/index.md index 0db3d29416..f972866c08 100644 --- a/aspnetcore/host-and-deploy/azure-apps/index.md +++ b/aspnetcore/host-and-deploy/azure-apps/index.md @@ -50,7 +50,7 @@ The platform architecture (x86/x64) of an App Services app is set in the app's s :::moniker range=">= aspnetcore-2.2" -Runtimes for 64-bit (x64) and 32-bit (x86) apps are present on Azure App Service. The [.NET Core SDK](/dotnet/core/sdk) available on App Service is 32-bit, but you can deploy 64-bit apps built locally using the [Kudu](https://github.com/projectkudu/kudu/wiki) console or the publish process in Visual Studio. For more information, see the [Publish and deploy the app](#publish-and-deploy-the-app) section. +ASP.NET Core apps can be published [framework-dependent](/dotnet/core/deploying/) because the runtimes for 64-bit (x64) and 32-bit (x86) apps are present on Azure App Service. The [.NET Core SDK](/dotnet/core/sdk) available on App Service is 32-bit, but you can deploy 64-bit apps built locally using the [Kudu](https://github.com/projectkudu/kudu/wiki) console or the publish process in Visual Studio. For more information, see the [Publish and deploy the app](#publish-and-deploy-the-app) section. :::moniker-end @@ -258,6 +258,8 @@ For a 64-bit deployment: ### Deploy the app framework-dependent +Apps published as framework-dependent are cross-platform and don't include the .NET runtime in the deployment. Azure App Service includes the .NET runtime. + # [Visual Studio](#tab/visual-studio) 1. Right-click the project in **Solution Explorer** and select **Publish**. Alternatively, select **Build** > **Publish {Application Name}** from the Visual Studio toolbar. @@ -291,6 +293,7 @@ For a 64-bit deployment: ### Deploy the app self-contained +Publishing an app as self-contained produces a platform-specific executable. The output publishing folder contains all components of the app, including the .NET libraries and target runtime. For more information, see [Publish self-contained]/dotnet/core/deploying/#publish-self-contained). Use Visual Studio or the .NET CLI for a [self-contained deployment (SCD)](/dotnet/core/deploying/#self-contained-deployments-scd). # [Visual Studio](#tab/visual-studio)