Skip to content

Commit 9433367

Browse files
authored
Merge pull request #3175 from TerryGLee/tglee-getstartfix
[getting started] apply fixes as gleaned from a recent user study
2 parents f5b76ed + 8866082 commit 9433367

File tree

3 files changed

+60
-13
lines changed

3 files changed

+60
-13
lines changed

docs/ide/quickstart-aspnet-core.experimental.md

Lines changed: 20 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
title: "Use Visual Studio to create an ASP.NET Core web app in C#"
33
description: "Learn how to create a simple Hello World web app in Visual Studio with C# and ASP.NET Core, step-by-step."
44
ms.custom: mvc
5-
ms.date: 09/23/2018
5+
ms.date: 10/29/2018
66
ms.prod: visual-studio-dev15
77
ms.technology: vs-acquisition
88
ms.prod: visual-studio-dev15
@@ -22,26 +22,41 @@ experiment_id: "bef9e21b-00d0-4b"
2222

2323
In this 5-10 minute introduction to how to use Visual Studio, you'll create a simple "Hello World" web app by using an ASP.NET project template and the C# programming language.
2424

25+
## Before you begin
26+
27+
### Install Visual Studio
28+
2529
If you haven't already installed Visual Studio, go to the [Visual Studio downloads](https://visualstudio.microsoft.com/downloads/?utm_medium=microsoft&utm_source=docs.microsoft.com&utm_campaign=button+cta&utm_content=download+vs2017) page to install it for free.
2630

31+
### Update Visual Studio
32+
33+
If you've already installed Visual Studio, make sure that you are running the most recent release. For more information about how to update your installation, see the [Update Visual Studio 2017 to the most recent release](../install/update-visual-studio.md) page.
34+
35+
### Choose your theme (optional)
36+
37+
This quickstart tutorial includes screenshots that use the dark theme. If you aren't using the dark theme but would like to, see the [Personalize the Visual Studio IDE and Editor](quickstart-personalize-the-ide.md) page to learn how.
38+
2739
## Create a project
2840

29-
First, you'll create an ASP.NET Core web application project. Here's how.
41+
To start, you'll create an ASP.NET Core web application project. Here's how.
3042

3143
1. Open Visual Studio 2017.
3244

3345
1. From the top menu bar, choose **File** > **New** > **Project**.
3446

3547
1. In the left pane of the **New Project** dialog box, expand **Visual C#**, and then choose **.NET Core**. In the middle pane, choose **ASP.NET Core Web Application**. Then, name your file `HelloWorld` and choose **OK**.
3648

37-
1. In the **New ASP.NET Core Web Application** dialog box, verify that **ASP.NET Core 2.0** appears in the top drop-down menu. Then, choose **Web Application** and choose **OK**.
49+
1. In the **New ASP.NET Core Web Application** dialog box, select **ASP.NET Core 2.0** or later from the top drop-down menu, and then select **Web Application**.
50+
51+
> [!NOTE]
52+
> If you don't see **ASP.NET Core 2.0** or later from the top drop-down menu, make sure that you are running the most recent release of Visual Studio. For more information about how to update your installation, see the [Update Visual Studio 2017 to the most recent release](../install/update-visual-studio.md) page.
3853
3954
![View the animated .gif file that shows how to create a C# ASP.NET Core project in Visual Studio](../ide/media/csharp-aspnet-animated-create-project.gif)
4055

4156
Soon after, Visual Studio opens your project file.
4257

4358
> [!NOTE]
44-
> If you don't see the **.NET Core** project template category, choose the **Open Visual Studio Installer** link in the left pane.
59+
> If you don't see the **.NET Core** project template category, choose the **Open Visual Studio Installer** link in the left pane. (Depending on your display settings, you might have to scroll to see it.)
4560
>
4661
> ![Open Visual Studio Installer from the new project dialog box](../ide/media/open-visual-studio-installer.png)
4762
>
@@ -74,7 +89,7 @@ Next, you'll create and run your "Hello World" web app. Here's how.
7489
![View the animated .gif file that shows how to create and run a C# ASP.NET Core web app in Visual Studio](../ide/media/csharp-aspnet-animated-hello-world.gif)
7590

7691
> [!NOTE]
77-
> If you get an error message that says, **Unable to connect to web server 'IIS Express'**, close Visual Studio and then open it by using the **Run as administrator** option from the right-click or context menu. Then, run the application again.
92+
> 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 or context menu. Then, run the application again.
7893
7994
1. In the web browser, verify that the **About** page includes your updated text.
8095

docs/ide/quickstart-aspnet-core.md

Lines changed: 23 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
title: "Use Visual Studio to create an ASP.NET Core web app in C#"
33
description: "Learn how to create a simple Hello World web app in Visual Studio with C# and ASP.NET Core, step-by-step."
44
ms.custom: mvc
5-
ms.date: 07/20/2018
5+
ms.date: 10/29/2018
66
ms.prod: visual-studio-dev15
77
ms.technology: vs-acquisition
88
ms.prod: visual-studio-dev15
@@ -22,11 +22,23 @@ experiment_id: "bef9e21b-00d0-4b"
2222

2323
In this 5-10 minute introduction to how to use Visual Studio, you'll create a simple "Hello World" web app by using an ASP.NET project template and the C# programming language.
2424

25+
## Before you begin
26+
27+
### Install Visual Studio
28+
2529
If you haven't already installed Visual Studio, go to the [Visual Studio downloads](https://visualstudio.microsoft.com/downloads/?utm_medium=microsoft&utm_source=docs.microsoft.com&utm_campaign=button+cta&utm_content=download+vs2017) page to install it for free.
2630

31+
### Update Visual Studio
32+
33+
If you've already installed Visual Studio, make sure that you are running the most recent release. For more information about how to update your installation, see the [Update Visual Studio 2017 to the most recent release](../install/update-visual-studio.md) page.
34+
35+
### Choose your theme (optional)
36+
37+
This quickstart tutorial includes screenshots that use the dark theme. If you aren't using the dark theme but would like to, see the [Personalize the Visual Studio IDE and Editor](quickstart-personalize-the-ide.md) page to learn how.
38+
2739
## Create a project
2840

29-
First, you'll create an ASP.NET Core web application project. The project type comes with all template files to create a web app, before you've even added anything!
41+
To start, you'll create an ASP.NET Core web application project. The project type comes with all template files to create a web app, before you've even added anything!
3042

3143
1. Open Visual Studio 2017.
3244

@@ -37,7 +49,7 @@ First, you'll create an ASP.NET Core web application project. The project type c
3749
![Create the new ASP.NET Core Web Application project for C#](../ide/media/csharp-aspnet-choose-template-name-file.png)
3850

3951
> [!NOTE]
40-
> If you don't see the **.NET Core** project template category, choose the **Open Visual Studio Installer** link in the left pane.
52+
> If you don't see the **.NET Core** project template category, choose the **Open Visual Studio Installer** link in the left pane. (Depending on your display settings, you might have to scroll to see it.)
4153
>
4254
> ![Open Visual Studio Installer from the new project dialog box](../ide/media/open-visual-studio-installer.png)
4355
>
@@ -47,7 +59,12 @@ First, you'll create an ASP.NET Core web application project. The project type c
4759
>
4860
> (You might have to close Visual Studio before you can continue installing the new workload.)
4961
50-
1. In the **New ASP.NET Core Web Application** dialog box, verify that **ASP.NET Core 2.0** appears in the top drop-down menu. Then, choose **Web Application** and choose **OK**.
62+
1. In the **New ASP.NET Core Web Application** dialog box, select **ASP.NET Core 2.0** or later from the top drop-down menu.
63+
64+
> [!NOTE]
65+
> If you don't see **ASP.NET Core 2.0** or later, make sure that you are running the most recent release of Visual Studio. For more information about how to update your installation, see the [Update Visual Studio 2017 to the most recent release](../install/update-visual-studio.md) page.
66+
67+
1. Next, choose **Web Application**, and then choose **OK**.
5168

5269
![New ASP.NET Core Web Application dialog box](../ide/media/quickstart-aspnet-core20.png)
5370

@@ -88,7 +105,7 @@ Soon after, Visual Studio opens your project file.
88105
1. Press **Ctrl**+**F5** to run the app and open it in a web browser.
89106

90107
> [!NOTE]
91-
> If you get an error message that says, **Unable to connect to web server 'IIS Express'**, close Visual Studio and then open it by using the **Run as administrator** option from the right-click or context menu. Then, run the application again.
108+
> 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 or context menu. Then, run the application again.
92109
93110
1. At the top of the web page, choose **About**.
94111

@@ -111,4 +128,4 @@ To learn more, continue with the following tutorial:
111128
112129
## See also
113130

114-
[Publish your web app to Azure App Service by using Visual Studio](..//deployment/quickstart-deploy-to-azure.md)
131+
[Publish your web app to Azure App Service by using Visual Studio](../deployment/quickstart-deploy-to-azure.md)

docs/ide/tutorial-csharp-aspnet-core.md

Lines changed: 17 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
title: "Get started with C# and ASP.NET Core in Visual Studio"
33
description: "Learn how to create an ASP.NET Core web app in Visual Studio with C#, step-by-step."
44
ms.custom: ""
5-
ms.date: 09/17/2018
5+
ms.date: 10/29/2018
66
ms.prod: visual-studio-dev15
77
ms.technology: vs-acquisition
88
ms.prod: visual-studio-dev15
@@ -21,8 +21,20 @@ ms.workload:
2121

2222
In this tutorial for C# development with ASP.NET Core using Visual Studio, you'll create a C# ASP.NET Core web app, make changes to it, explore some features of the IDE, and then run the app.
2323

24+
## Before you begin
25+
26+
### Install Visual Studio
27+
2428
If you haven't already installed Visual Studio, go to the [Visual Studio downloads](https://visualstudio.microsoft.com/downloads/?utm_medium=microsoft&utm_source=docs.microsoft.com&utm_campaign=button+cta&utm_content=download+vs2017) page to install it for free.
2529

30+
### Update Visual Studio
31+
32+
If you've already installed Visual Studio, make sure that you are running the most recent release. For more information about how to update your installation, see the [Update Visual Studio 2017 to the most recent release](../install/update-visual-studio.md) page.
33+
34+
### Choose your theme (optional)
35+
36+
This tutorial includes screenshots that use the dark theme. If you aren't using the dark theme but would like to, see the [Personalize the Visual Studio IDE and Editor](quickstart-personalize-the-ide.md) page to learn how.
37+
2638
## Create a project
2739

2840
First, you'll create a ASP.NET Core project. The project type comes with all the template files you'll need for a fully functional website, before you've even added anything!
@@ -41,7 +53,7 @@ If you don't see the **ASP.NET Core Web Application** project template, you can
4153

4254
#### Option 1: Use the New Project dialog box
4355

44-
1. Select the **Open Visual Studio Installer** link in the left pane of the **New Project** dialog box.
56+
1. Select the **Open Visual Studio Installer** link in the left pane of the **New Project** dialog box. (Depending on your display settings, you might have to scroll to see it.)
4557

4658
![Select the Open Visual Studio Installer link from the New Project dialog box](../ide/media/open-visual-studio-installer-mycoreapp.png)
4759

@@ -67,6 +79,9 @@ If you don't see the **ASP.NET Core Web Application** project template, you can
6779

6880
![New ASP.NET Core Web Application dialog box](../ide/media/new-project-csharp-aspnet-razor-web-app.png)
6981

82+
> [!NOTE]
83+
> If you don't see **ASP.NET Core 2.0** or later from the top drop-down menu, make sure that you are running the most recent release of Visual Studio. For more information about how to update your installation, see the [Update Visual Studio 2017 to the most recent release](../install/update-visual-studio.md) page.
84+
7085
### About your solution
7186

7287
This solution follows the **Razor Page** design pattern. It is different than the [Model-View-Controller (MVC)](/aspnet/core/tutorials/first-mvc-app/start-mvc?view=aspnetcore-2.1&tabs=aspnetcore2x) design pattern in that its streamlined to include the model and controller code within the Razor Page itself.

0 commit comments

Comments
 (0)