Aspnetcore.docs: Add more details in the middleware section for Map**

Created on 11 Nov 2019  Â·  5Comments  Â·  Source: dotnet/AspNetCore.Docs

Issue description

I think we should add more details for MapWhen in the middleware section. As it stops executing the rest of the pipeline when the delegate returns true. I do not think this is in the docs and this can be confusing for new people.

Whereas UseWhen will not stop the execution and I can not find in the docs either.

Can I submit PR?


Document Details

⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

doc-enhancement

All 5 comments

Possibly a duplicate of (or an add on to) https://github.com/aspnet/AspNetCore.Docs/issues/15497.

Next time Can you create an issue from the doc page? That will connect the doc to the issue. Go to the bottom of the page and select This page .

image

@Nothing-Works yes, please provide a PR that address this and #4 on #15497

cc @serpent5

The title of this thread should read
Add more details in the middleware section for Map* #15662
instead of
Add more deatils in the middleware section for Map
* #15662

I think this can be closed. It was covered in #15497.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

madelson picture madelson  Â·  3Comments

Raghumu picture Raghumu  Â·  3Comments

Mattacks picture Mattacks  Â·  3Comments

sonichanxiao picture sonichanxiao  Â·  3Comments

Rick-Anderson picture Rick-Anderson  Â·  3Comments