Skip to content

Custom dispatcher and exclude endpoints #1612

Answered by Tratcher
MDzyga asked this question in General
Discussion options

You must be logged in to vote

I put breakpoint inside Use method and debugger doesn't stop there.

But the request still gets proxied? I agree that doesn't make sense, all proxied requests would go through MapReverseProxy and your middleware.

If you're not using the routing system anyways, try the direct proxying API instead, it's much closer to what you were using in proxykit. https://microsoft.github.io/reverse-proxy/articles/direct-forwarding.html

Replies: 16 comments 11 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by karelz
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
4 replies
@Tratcher
Comment options

@MDzyga
Comment options

@Tratcher
Comment options

@MDzyga
Comment options

Comment options

You must be logged in to vote
4 replies
@karelz
Comment options

@MDzyga
Comment options

@karelz
Comment options

@MDzyga
Comment options

Comment options

You must be logged in to vote
3 replies
@Tratcher
Comment options

@MDzyga
Comment options

@MDzyga
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: Idea This issue is a high-level idea for discussion.
4 participants
Converted from issue

This discussion was converted from issue #1522 on March 17, 2022 17:58.