diff --git a/aspnetcore/tutorials/first-web-api.md b/aspnetcore/tutorials/first-web-api.md index de24fb04de..eed37300e4 100644 --- a/aspnetcore/tutorials/first-web-api.md +++ b/aspnetcore/tutorials/first-web-api.md @@ -46,7 +46,9 @@ The following diagram shows the design of the app. # [Visual Studio for Mac](#tab/visual-studio-mac) -[!INCLUDE[](~/includes/net-prereqs-mac-7.0.md)] +For Visual Studio for Mac, switch to the .NET 7 version of this tutorial. + + --- @@ -96,7 +98,7 @@ A NuGet package must be added to support the database used in this tutorial. # [Visual Studio for Mac](#tab/visual-studio-mac) -For macOS, switch to the .NET 7 version of this tutorial. +For Visual Studio for Mac, switch to the .NET 7 version of this tutorial. --- @@ -222,11 +226,13 @@ A *model* is a set of classes that represent the data that the app manages. The # [Visual Studio for Mac](#tab/visual-studio-mac) -* Control-click the **TodoAPI** project and select **Add** > **New Folder**. Name the folder `Models`. +For Visual Studio for Mac, switch to the .NET 7 version of this tutorial. + + --- @@ -242,8 +248,6 @@ The *database context* is the main class that coordinates Entity Framework funct # [Visual Studio](#tab/visual-studio) -## Add the TodoContext database context - * Right-click the `Models` folder and select **Add** > **Class**. Name the class *TodoContext* and click **Add**. # [Visual Studio Code / Visual Studio for Mac](#tab/visual-studio-code+visual-studio-mac)