diff --git a/aspnetcore/tutorials/min-web-api.md b/aspnetcore/tutorials/min-web-api.md index 9bac7ab69d..acb647f08a 100644 --- a/aspnetcore/tutorials/min-web-api.md +++ b/aspnetcore/tutorials/min-web-api.md @@ -16,7 +16,7 @@ By [Rick Anderson](https://twitter.com/RickAndMSFT) Minimal APIs are architected to create HTTP APIs with minimal dependencies. They are ideal for microservices and apps that want to include only the minimum files, features, and dependencies in ASP.NET Core. -This tutorial teaches the basics of building a miminal web API with ASP.NET Core. For a tutorial on creating a web API project based on [controllers](xref:web-api/index) that contains more features, see [Create a web API](xref:tutorials/first-web-api). +This tutorial teaches the basics of building a minimal web API with ASP.NET Core. For a tutorial on creating a web API project based on [controllers](xref:web-api/index) that contains more features, see [Create a web API](xref:tutorials/first-web-api). ## Overview @@ -87,7 +87,7 @@ This tutorial creates the following API: code -r ../TodoApi ``` -* When a dialogy asks if you want to trust the authors, select **Yes**. +* When a dialog box asks if you want to trust the authors, select **Yes**. * When a dialog box asks if you want to add required assets to the project, select **Yes**. The preceding command creates a new web minimal API project and opens it in Visual Studio Code. @@ -197,7 +197,7 @@ Copy and paste the **Request URL** in the browser: `https://localhost:/Wea ## Update the generated code -This tutorial focuses on creating a web API, so we'll delete the Swagger code and the `WeatherForecast` code. Replace the contents of the *program.cs* file with the following: +This tutorial focuses on creating a web API, so we'll delete the Swagger code and the `WeatherForecast` code. Replace the contents of the *Program.cs* file with the following: [!code-csharp[](min-web-api/samples/6.x/todo/Program.cs?name=snippet_min)] @@ -261,7 +261,7 @@ The sample app contains the following model: [!code-csharp[](min-web-api/samples/6.x/todo/Program.cs?name=snippet_model)] -A *model* is a class that represent data that the app manages. The model for this app is the `Todo` class. +A *model* is a class that represents data that the app manages. The model for this app is the `Todo` class. The sample app also contains the following database context class: