diff --git a/aspnetcore/fundamentals/middleware/index.md b/aspnetcore/fundamentals/middleware/index.md index 7cb4afef2090..a20172d38934 100644 --- a/aspnetcore/fundamentals/middleware/index.md +++ b/aspnetcore/fundamentals/middleware/index.md @@ -262,7 +262,7 @@ The following table shows the requests and responses from `http://localhost:1234 | `localhost:1234` | `Hello from non-Map delegate.` | | `localhost:1234/?branch=main` | `Branch used = main` | - also branches the request pipeline based on the result of the given predicate. Unlike with `MapWhen`, this branch is rejoined to the main pipeline if it doesn't short-circuit or contain a terminal middleware: + also branches the request pipeline based on the result of the given predicate. Unlike with `MapWhen`, this branch is rejoined to the main pipeline if it doesn't contain a terminal middleware: [!code-csharp[](~/fundamentals/middleware/index/snapshot/Chain60/ProgramUseWhen.cs?highlight=4-5)] diff --git a/aspnetcore/tutorials/razor-pages/razor-pages-start.md b/aspnetcore/tutorials/razor-pages/razor-pages-start.md index b35c93619d3b..e59b36a723f2 100644 --- a/aspnetcore/tutorials/razor-pages/razor-pages-start.md +++ b/aspnetcore/tutorials/razor-pages/razor-pages-start.md @@ -180,7 +180,7 @@ The following code enables various [Middleware](xref:fundamentals/middleware/ind * `app.UseRouting();` : Adds route matching to the middleware pipeline. For more information, see . * `app.UseAuthorization();` : Authorizes a user to access secure resources. This app doesn't use authorization, therefore this line could be removed. * `app.MapRazorPages();`: Configures endpoint routing for Razor Pages. -* `app.MapStaticAssets();` : Optimize the delivery of static assets in an app such as such as HTML, CSS, images, and JavaScript to be served. For more information, see . +* `app.MapStaticAssets();` : Optimize the delivery of static assets in an app, such as HTML, CSS, images, and JavaScript. For more information, see . * `app.Run();` : Runs the app. ## Troubleshooting with the completed sample