|
2 | 2 | title: "Create an ASP.NET Core web app in C#"
|
3 | 3 | description: "Learn how to create a simple Hello World web app in Visual Studio with C# and ASP.NET Core, step-by-step."
|
4 | 4 | ms.custom: "mvc,seodec18"
|
5 |
| -ms.date: 10/15/2019 |
| 5 | +ms.date: 11/06/2019 |
6 | 6 | ms.technology: vs-ide-general
|
7 | 7 | ms.prod: visual-studio-windows
|
8 | 8 | ms.topic: quickstart
|
@@ -114,6 +114,8 @@ Soon after, Visual Studio opens your project file.
|
114 | 114 |
|
115 | 115 | ## Create and run the app
|
116 | 116 |
|
| 117 | +::: moniker range="vs-2017" |
| 118 | + |
117 | 119 | 1. In the **Solution Explorer**, expand the **Pages** folder, and then choose **About.cshtml**.
|
118 | 120 |
|
119 | 121 | 
|
@@ -163,6 +165,41 @@ View the following animation to check the work that you completed in the previou
|
163 | 165 |
|
164 | 166 | Congratulations on completing this Quickstart! We hope you learned a little bit about C#, ASP.NET Core, and the Visual Studio IDE (integrated development environment).
|
165 | 167 |
|
| 168 | +::: moniker-end |
| 169 | + |
| 170 | +::: moniker range="vs-2019" |
| 171 | + |
| 172 | +1. In the **Solution Explorer**, expand the **Pages** folder, and then choose **Index.cshtml**. |
| 173 | + |
| 174 | +  |
| 175 | + |
| 176 | + This file corresponds to a page that's named **Home** in the web app, which runs in a web browser. |
| 177 | + |
| 178 | +  |
| 179 | + |
| 180 | + In the editor, you'll see HTML code for the text that appears on the **Home** page. |
| 181 | + |
| 182 | +  |
| 183 | + |
| 184 | +1. Change the "Welcome" text to read "**Hello World!**". |
| 185 | + |
| 186 | +  |
| 187 | + |
| 188 | +1. Choose **IIS Express** or press **Ctrl**+**F5** to run the app and open it in a web browser. |
| 189 | + |
| 190 | +  |
| 191 | + |
| 192 | + > [!NOTE] |
| 193 | + > If you get an error message that says, **Unable to connect to web server 'IIS Express'**, or an error message that mentions an SSL certificate, close Visual Studio. Next, open Visual Studio by using the **Run as administrator** option from the right-click context menu. Then, run the application again. |
| 194 | +
|
| 195 | +1. In the web browser, verify that the **Home** page includes your updated text. |
| 196 | + |
| 197 | +  |
| 198 | + |
| 199 | +1. Close the web browser. |
| 200 | + |
| 201 | +::: moniker-end |
| 202 | + |
166 | 203 | ## Next steps
|
167 | 204 |
|
168 | 205 | To learn more, continue with the following tutorial:
|
|
0 commit comments