From c03e516bad35ec19726f479eddd36a9774656f1e Mon Sep 17 00:00:00 2001 From: smandia Date: Wed, 8 Dec 2021 01:33:39 +0100 Subject: [PATCH] Fix for - 23979 (Update to find code in program.cs file in dot net 6 rather then start up ) (#24217) * Updated the intro info to include swagger tick box which was removed in previous updates * Helper fix for - 23979 updating additional information to make it more explicit since unchecked by default * fix for - 23979 Correct place to find and put default mapping and serve static files in dot net 6 * code review comments update Co-authored-by: Rick Anderson <3605364+Rick-Anderson@users.noreply.github.com> * Revert "fix for - 23979 Correct place to find and put default mapping and serve static files in dot net 6" This reverts commit b6d5d316c13e04c0dff7ff74772139399a262209. Co-authored-by: Rick Anderson <3605364+Rick-Anderson@users.noreply.github.com> --- aspnetcore/tutorials/first-web-api.md | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/aspnetcore/tutorials/first-web-api.md b/aspnetcore/tutorials/first-web-api.md index 4360721951..14aec30c12 100644 --- a/aspnetcore/tutorials/first-web-api.md +++ b/aspnetcore/tutorials/first-web-api.md @@ -69,7 +69,10 @@ For Visual Studio for Mac, see the .NET 5 version of this tutorial. * Enter *Web API* in the search box. * Select the **ASP.NET Core Web API** template and select **Next**. * In the **Configure your new project dialog**, name the project *TodoApi* and select **Next**. -* In the **Additional information** dialog, confirm that **Framework** is **.NET 6.0 (Long-term support)**, and select **Create**. +* In the **Additional information** dialog: + * Confirm the **Framework** is **.NET 6.0 (Long-term support)**. + * Confirm the checkbox for **Use controllers(uncheck to use minimal APIs)** is checked. + * Select **Create**. # [Visual Studio Code](#tab/visual-studio-code)