Skip to content

How to load proxy configuration from both the configuration as from code? #516

Answered by Tratcher
PieterBoeren asked this question in Q&A
Discussion options

You must be logged in to vote

Only one source is currently supported.

For convention based config we do have IProxyConfigFilter that you can implement and have run on each provided cluster or route, either from code or config.

public class CustomConfigFilter : IProxyConfigFilter
{
public Task ConfigureClusterAsync(Cluster cluster, CancellationToken cancel)

Will that work for you?

Replies: 2 comments 3 replies

Comment options

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

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

@samsp-msft
Comment options

@PieterBoeren
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