Skip to content

Commit c232548

Browse files
authored
Merge pull request #195031 from alexwolfmsft/alexw-updated-vscode-workflow
Updated vscode publish workflow
2 parents ec5b127 + ef4bf47 commit c232548

File tree

6 files changed

+11
-5
lines changed

6 files changed

+11
-5
lines changed

articles/app-service/includes/tutorial-dotnetcore-sqldb-app/visual-studio-code-deploy-app-service-02.md

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,16 @@ ms.topic: include
55
ms.date: 02/03/2022
66
---
77

8-
1. Select the Azure icon on the left navigation and expand the subscriptions to find the **coreSqlXYZ** App Service you created previously.
8+
1. In the Visual Studio Code terminal, run the .NET CLI command below. This command generates a deployable `publish` folder for the app in the `bin/release/publish` directory.
99

10-
1. Right-click on the **App Service** node and select **Deploy to Web App**.
10+
```dotnetcli
11+
dotnet publish -c Release
12+
```
1113
12-
1. A prompt will appear to select the folder to deploy. If root of the project is already suggested, choose that option, otherwise select the **Browse** button to select the root folder from the file explorer.
14+
1. Right-click on the generated `publish` folder in the Visual Studio Code explorer and select **Deploy to Web App**.
1315
14-
When the deployment completes, you should see a VS Code notification prompting you to browse to the deployed app.
16+
1. A new workflow will open in the command palette at the top of the screen. Select the subscription you would like to publish your app to.
17+
18+
1. Select the App Service web app you created earlier.
19+
20+
If Visual Studio Code prompts you to confirm, click **deploy**. The deployment process may take a few moments. When the process completes, a notification should appear in the bottom right corner prompting you to browse to the deployed app.
12.7 KB
Loading
10.8 KB
Loading
8.59 KB
Loading
13.8 KB
Loading

articles/app-service/tutorial-dotnetcore-sqldb-app.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -157,7 +157,7 @@ We're now ready to deploy our .NET app to the App Service.
157157
| Instructions | Screenshot |
158158
|:----------------|-----------:|
159159
| [!INCLUDE [Deploy app service step 1](<./includes/tutorial-dotnetcore-sqldb-app/visual-studio-code-deploy-app-service-01.md>)] | :::image type="content" source="./media/tutorial-dotnetcore-sqldb-app/visual-studio-code-deploy-01-240px.png" alt-text="A screenshot showing how to install the Azure Account and App Service extensions in Visual Studio Code." lightbox="./media/tutorial-dotnetcore-sqldb-app/visual-studio-code-deploy-01.png"::: |
160-
| [!INCLUDE [Deploy app service step 2](<./includes/tutorial-dotnetcore-sqldb-app/visual-studio-code-deploy-app-service-02.md>)] | :::image type="content" source="./media/tutorial-dotnetcore-sqldb-app/visual-studio-code-deploy-02-240px.png" alt-text="A screenshot showing how to use the Azure App Service extension to deploy an app to Azure from Visual Studio Code." lightbox="./media/tutorial-dotnetcore-sqldb-app/visual-studio-code-deploy-02.png"::: |
160+
| [!INCLUDE [Deploy app service step 2](<./includes/tutorial-dotnetcore-sqldb-app/visual-studio-code-deploy-app-service-02.md>)] | :::image type="content" source="./media/tutorial-dotnetcore-sqldb-app/visual-studio-code-publish-folder-small.png" alt-text="A screenshot showing how to deploy using the publish folder." lightbox="./media/tutorial-dotnetcore-sqldb-app/visual-studio-code-publish-folder.png"::: :::image type="content" source="./media/tutorial-dotnetcore-sqldb-app/visual-studio-code-publish-workflow-small.png" alt-text="A screenshot showing the command palette deployment workflow." lightbox="./media/tutorial-dotnetcore-sqldb-app/visual-studio-code-publish-workflow.png"::: |
161161

162162
### [Deploy using Local Git](#tab/azure-cli-deploy)
163163

0 commit comments

Comments
 (0)