@@ -65,53 +65,53 @@ If you build locally, download and install the [Azure CLI](/cli/azure/install-az
65
65
66
66
1. Set an environment variable named *ConnectionString*, and set it to the access key to your App Configuration store.
67
67
68
- #### [Windows command prompt](#tab/windowscommandprompt)
69
-
70
- To build and run the app locally using the Windows command prompt, run the following command and restart the command prompt to allow the change to take effect:
71
-
72
- ```console
73
- setx ConnectionString "connection-string-of-your-app-configuration-store"
74
- ```
75
-
76
- ### [ PowerShell] ( #tab/powershell )
77
-
78
- If you use Windows PowerShell, run the following command:
79
-
80
- ``` powershell
81
- $Env:ConnectionString = "connection-string-of-your-app-configuration-store"
82
- ```
83
-
84
- ### [ macOS] ( #tab/unix )
85
-
86
- If you use macOS, run the following command:
87
-
88
- ``` console
89
- export ConnectionString='connection-string-of-your-app-configuration-store'
90
- ```
91
-
92
- ### [ Linux] ( #tab/linux )
93
-
94
- If you use Linux, run the following command:
95
-
96
- ``` console
97
- export ConnectionString='connection-string-of-your-app-configuration-store'
98
- ```
99
-
100
- ---
68
+ #### [Windows command prompt](#tab/windowscommandprompt)
69
+
70
+ To build and run the app locally using the Windows command prompt, run the following command and restart the command prompt to allow the change to take effect:
71
+
72
+ ```console
73
+ setx ConnectionString "connection-string-of-your-app-configuration-store"
74
+ ```
75
+
76
+ ### [PowerShell](#tab/powershell)
77
+
78
+ If you use Windows PowerShell, run the following command:
79
+
80
+ ```powershell
81
+ $Env:ConnectionString = "connection-string-of-your-app-configuration-store"
82
+ ```
83
+
84
+ ### [macOS](#tab/unix)
85
+
86
+ If you use macOS, run the following command:
87
+
88
+ ```console
89
+ export ConnectionString='connection-string-of-your-app-configuration-store'
90
+ ```
91
+
92
+ ### [Linux](#tab/linux)
93
+
94
+ If you use Linux, run the following command:
95
+
96
+ ```console
97
+ export ConnectionString='connection-string-of-your-app-configuration-store'
98
+ ```
99
+
100
+ ---
101
101
102
- 2 . To build the app by using the .NET Core CLI, run the following command in the command shell:
102
+ 1 . To build the app by using the .NET Core CLI, run the following command in the command shell:
103
103
104
104
```console
105
105
dotnet build
106
106
```
107
107
108
- 3 . After the build completes successfully, run the following command to run the web app locally:
108
+ 1 . After the build completes successfully, run the following command to run the web app locally:
109
109
110
110
```console
111
111
dotnet run
112
112
```
113
113
114
- 4 . Open a browser window and go to `http://localhost:5000`, which is the default URL for the web app hosted locally.
114
+ 1 . Open a browser window and go to `http://localhost:5000`, which is the default URL for the web app hosted locally.
115
115
116
116
:::image type="content" source="./media/quickstarts/aspnet-core-app-launch-local.png" alt-text="Screenshot that shows Quickstart app launch local page.":::
117
117
0 commit comments