You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: articles/azure-resource-manager/templates/create-visual-studio-deployment-project.md
+7-27Lines changed: 7 additions & 27 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,7 +2,7 @@
2
2
title: Create & deploy Visual Studio resource group projects
3
3
description: Use Visual Studio to create an Azure resource group project and deploy the resources to Azure.
4
4
ms.topic: how-to
5
-
ms.date: 03/20/2024
5
+
ms.date: 10/22/2024
6
6
---
7
7
8
8
# Creating and deploying Azure resource groups through Visual Studio
@@ -22,9 +22,9 @@ This article shows how to use [Visual Studio 2019 or later with the Azure develo
22
22
In this section, you create an Azure Resource Group project with a **Web app** template.
23
23
24
24
1. In Visual Studio, choose **File**>**New**>**Project**.
25
-
1.Select the **Azure Resource Group** project template and **Next**.
25
+
1.Search **resource group**, and then select the **Azure Resource Group (extended support)** project template and **Next**.
26
26
27
-
:::image type="content" source="./media/create-visual-studio-deployment-project/create-project.png" alt-text="Screenshot of Create a new project window highlighting Azure Resource Group and Next button.":::
27
+
:::image type="content" source="./media/create-visual-studio-deployment-project/add-app.png" alt-text="Screenshot of Create a new project window highlighting Azure Resource Group and Next button.":::
28
28
29
29
1. Give your project a name. The other default settings are probably fine, but review them to make they work for your environment. When done, select **Create**.
30
30
@@ -64,7 +64,7 @@ You can customize a deployment project by modifying the Resource Manager templat
64
64
65
65
:::image type="content" source="./media/create-visual-studio-deployment-project/navigate-json.png" alt-text="Screenshot of the Visual Studio editor with a selected element in the JSON Outline window.":::
66
66
67
-
1. You can add a resource by either selecting the **Add Resource** button at the top of the JSON Outline window, or by right-clicking **resources** and selecting **Add New Resource**.
67
+
1. You can add a resource by right-clicking **resources** and selecting **Add New Resource**.
68
68
69
69
:::image type="content" source="./media/create-visual-studio-deployment-project/add-resource.png" alt-text="Screenshot of the JSON Outline window highlighting the Add New Resource option.":::
70
70
@@ -92,35 +92,15 @@ You can customize a deployment project by modifying the Resource Manager templat
92
92
}
93
93
```
94
94
95
-
1. Navigate to the **HostingPlan** resource, and add a value for the **properties** with some properties.
96
-
97
-
```json
98
-
"properties": {
99
-
"name": "[parameters('hostingPlanName')]",
100
-
"numberOfWorkers": 1
101
-
}
102
-
```
103
-
104
-
You also need to define the `hostingPlanName` parameter:
105
-
106
-
```json
107
-
"hostingPlanName": {
108
-
"type": "string",
109
-
"metadata": {
110
-
"description": "Hosting paln name."
111
-
}
112
-
}
113
-
```
114
-
115
-
1. Open the **WebSite.parameters.json** file. You use the parameters file to pass in values during deployment that customize the resource being deployed. Give the hosting plan a name, and save the file.
95
+
1. Open the **WebSite.parameters.json** file from Solution Explorer. You use the parameters file to pass in values during deployment that customize the resource being deployed. Give the hosting plan a name, and save the file.
0 commit comments