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: learn-pr/aspnetcore/introduction-dotnet-aspire/includes/5-exercise-use-eshop.md
+21-5Lines changed: 21 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -9,7 +9,7 @@ In this unit, you'll install .NET Aspire and its prerequisites and then use the
9
9
The prerequisites for this .NET Aspire exercise are:
10
10
11
11
- .NET 8
12
-
- Visual Studio 2022 Preview
12
+
- Visual Studio 2022
13
13
- Docker Desktop
14
14
- .NET Aspire workload in Visual Studio
15
15
@@ -28,12 +28,12 @@ dotnet --version
28
28
You should see the version number of the .NET SDK you installed. For example:
29
29
30
30
```console
31
-
8.0.300-preview.24203.14
31
+
8.0.403
32
32
```
33
33
34
-
### Install Visual Studio 2022 Preview
34
+
### Install Visual Studio 2022
35
35
36
-
Follow this [Visual Studio 2022 Preview](https://visualstudio.microsoft.com/vs/preview/) link, and select **Download Preview**. After the download is complete, run the installer and follow the instructions.
36
+
Follow this [Visual Studio 2022](https://visualstudio.microsoft.com/vs/) link, and select **Download Visual Studio**. After the download is complete, run the installer and follow the instructions.
37
37
38
38
### Install Docker Desktop
39
39
@@ -119,8 +119,24 @@ Let's use the eShop reference application to demonstrate the .NET Aspire stack.
119
119
git clone https://github.com/dotnet/eShop.git
120
120
```
121
121
122
+
1. Change to the eShop directory:
123
+
124
+
```console
125
+
cd eShop
126
+
```
127
+
128
+
1. The eShop reference app is frequently updated. To ensure that you're using the correct version for this exercise, switch to the `dotnet8` tag:
129
+
130
+
```console
131
+
git checkout dotnet8
132
+
```
133
+
122
134
1. Start Visual Studio and then select **Open a project or solution**.
123
135
1. Browse to the folder where you cloned eShop, select the _eShop.Web.snlf_ file, and then select **Open**.
136
+
137
+
>[!IMPORTANT]
138
+
> Make sure you open the _eShop.Web.snlf_ file, not the _eShop.sln_ file.
139
+
124
140
1. Examine the solution structure in **Solution Explorer**. At the top level, the eShop code includes folders for tests, GitHub actions, and solution items. Expand the _src_ folder, which contains source code for the microservices:
125
141
126
142
:::image type="content" source="../media/eshop-solution-structure.png" lightbox="../media/eshop-solution-structure.png" alt-text="Screenshot showing the structure of the eShop solution in the Visual Studio Solution Explorer.":::
@@ -186,4 +202,4 @@ Let's run the app and use the .NET Aspire dashboard to examine a request:
0 commit comments