diff --git a/aspnetcore/tutorials/first-web-api-mac/_static/1.png b/aspnetcore/tutorials/first-web-api-mac/_static/1.png index 997c118017..d0e810989b 100644 Binary files a/aspnetcore/tutorials/first-web-api-mac/_static/1.png and b/aspnetcore/tutorials/first-web-api-mac/_static/1.png differ diff --git a/aspnetcore/tutorials/first-web-api-mac/_static/2.png b/aspnetcore/tutorials/first-web-api-mac/_static/2.png index a8b4fcbcb9..49e4b08f86 100644 Binary files a/aspnetcore/tutorials/first-web-api-mac/_static/2.png and b/aspnetcore/tutorials/first-web-api-mac/_static/2.png differ diff --git a/aspnetcore/tutorials/first-web-api-mac/_static/folder.png b/aspnetcore/tutorials/first-web-api-mac/_static/folder.png index 005602ec51..76a7c4f54a 100644 Binary files a/aspnetcore/tutorials/first-web-api-mac/_static/folder.png and b/aspnetcore/tutorials/first-web-api-mac/_static/folder.png differ diff --git a/aspnetcore/tutorials/first-web-api-mac/_static/sln.png b/aspnetcore/tutorials/first-web-api-mac/_static/sln.png index 574fb83c3e..77ac414c8d 100644 Binary files a/aspnetcore/tutorials/first-web-api-mac/_static/sln.png and b/aspnetcore/tutorials/first-web-api-mac/_static/sln.png differ diff --git a/aspnetcore/tutorials/first-web-api.md b/aspnetcore/tutorials/first-web-api.md index 396e0745d4..f83f2db218 100644 --- a/aspnetcore/tutorials/first-web-api.md +++ b/aspnetcore/tutorials/first-web-api.md @@ -94,7 +94,7 @@ The following diagram shows the design of the app. ![macOS New solution](first-web-api-mac/_static/sln.png) -* Select **.NET Core App** > **ASP.NET Core Web API** > **Next**. +* Select **.NET Core** > **App** > **API** > **Next**. ![macOS New project dialog](first-web-api-mac/_static/1.png) @@ -122,7 +122,7 @@ Press Ctrl+F5 to run the app. In a browser, go to following URL: [https://localh # [Visual Studio for Mac](#tab/visual-studio-mac) -Select **Run** > **Start With Debugging** to launch the app. Visual Studio for Mac launches a browser and navigates to `https://localhost:`, where `` is a randomly chosen port number. An HTTP 404 (Not Found) error is returned. Append `/api/values` to the URL (change the URL to `https://localhost:/api/values`). +Select **Run** > **Start Debugging** to launch the app. Visual Studio for Mac launches a browser and navigates to `https://localhost:`, where `` is a randomly chosen port number. An HTTP 404 (Not Found) error is returned. Append `/api/values` to the URL (change the URL to `https://localhost:/api/values`). --- @@ -241,6 +241,8 @@ These methods implement two GET endpoints: * `GET /api/todo` * `GET /api/todo/{id}` +Stop the app if it's still running. Then run it again to include the latest changes. + Test the app by calling the two endpoints from a browser. For example: * `https://localhost:/api/todo`