Skip to content

Commit 6ec7ac8

Browse files
Merge pull request #47744 from CamSoper/fix-aspire-intro
fix .NET Aspire version
2 parents 71dac53 + 5b8f2bc commit 6ec7ac8

File tree

1 file changed

+21
-5
lines changed

1 file changed

+21
-5
lines changed

learn-pr/aspnetcore/introduction-dotnet-aspire/includes/5-exercise-use-eshop.md

Lines changed: 21 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ In this unit, you'll install .NET Aspire and its prerequisites and then use the
99
The prerequisites for this .NET Aspire exercise are:
1010

1111
- .NET 8
12-
- Visual Studio 2022 Preview
12+
- Visual Studio 2022
1313
- Docker Desktop
1414
- .NET Aspire workload in Visual Studio
1515

@@ -28,12 +28,12 @@ dotnet --version
2828
You should see the version number of the .NET SDK you installed. For example:
2929

3030
```console
31-
8.0.300-preview.24203.14
31+
8.0.403
3232
```
3333

34-
### Install Visual Studio 2022 Preview
34+
### Install Visual Studio 2022
3535

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.
3737

3838
### Install Docker Desktop
3939

@@ -119,8 +119,24 @@ Let's use the eShop reference application to demonstrate the .NET Aspire stack.
119119
git clone https://github.com/dotnet/eShop.git
120120
```
121121

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+
122134
1. Start Visual Studio and then select **Open a project or solution**.
123135
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+
124140
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:
125141

126142
:::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:
186202

187203
## Learn more
188204

189-
- [eShop Reference Application - "Northern Mountains"](https://github.com/dotnet/eshop)
205+
- [eShop Reference Application - "Adventure Works"](https://github.com/dotnet/eshop)

0 commit comments

Comments
 (0)