How to combine Minimal API’s Pipeline Branching with MapGet syntax?
Say I want to have 2 endpoints, /a
and /b
, while also utilizing the pipeline branching for both of those endpoints, for adding custom middleware for them.
Say I want to have 2 endpoints, /a
and /b
, while also utilizing the pipeline branching for both of those endpoints, for adding custom middleware for them.