Open halter73 opened 2 years ago
Thanks for contacting us.
We're moving this issue to the .NET 7 Planning
milestone for future evaluation / consideration. We would like to keep this around to collect more feedback, which can help us with prioritizing this work. We will re-evaluate this issue, during our next planning meeting(s).
If we later determine, that the issue has no community involvement, or it's very rare and low-impact issue, we will close it - so that the team can focus on more important and high impact issues.
To learn more about what to expect next and how this issue will be handled you can read more about our triage process here.
We want
MapGroup
to support middleware via theIApplicationBuilder
interface so things likeUseResponseCompression()
,UseHttpLogging()
,UseForwardedHeaders()
,UseRequestLocalization()
, terminal middleware likeUseStaticFiles()
and more can be called on a group.Describe the solution you'd like
This still needs design, but there are a lot of open questions. We still need to figure out how we define a middleware that runs every time a route handler in a given group is hit. before running the endpoint and similar middleware from inner groups?