Skip to content
Discussion options

You must be logged in to vote

E.g. what your Aspire configuration looks like & what you've tried to do, whether by "I want to have a wildcard in the middle of a hostname" you're referring to limiting incoming connections (accepted hosts) vs. trying to specify that as the host for outgoing requests.

If you're looking at it as a routing constraint (not matching requests that don't match that host pattern), that's what the ASP.NET Core feature linked above is tracking - dotnet/aspnetcore#19369. YARP isn't doing anything special when it comes to host routing - we're deferring to ASP.NET, so we don't currently support it out of the box.
If you drop down to code, you always have the option to write your own middleware that …

Replies: 1 comment 7 replies

Comment options

You must be logged in to vote
7 replies
@atrauzzi
Comment options

@MihaZupan
Comment options

@atrauzzi
Comment options

@MihaZupan
Comment options

Answer selected by MihaZupan
@davidfowl
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants