-
HI All, I just started with using ReverseProxy, got package 1.0.0-preview.8.21065.1 and the property Match from ProxyRoute class is readonly and property Destinations from class Cluster is readonly. I am trying to use the Code example from repo and not able to create routes/clusters because of this. Is there any other way to do that? I believe the example samples given in the repo may not work in the latest package as they are recently checked in and the build is not yet published. Please suggest if there is any other workaround for now. Thanks |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
The repo samples use the latest checked in version. For the released previews you should check the docs or the samples from that release branch. reverse-proxy/samples/ReverseProxy.Code.Sample/Startup.cs Lines 35 to 42 in 5e90b78 There was a breaking change here for preview 9 to use C# 9 record types. You can try that by downloading the daily builds from here: |
Beta Was this translation helpful? Give feedback.
The repo samples use the latest checked in version. For the released previews you should check the docs or the samples from that release branch.
reverse-proxy/samples/ReverseProxy.Code.Sample/Startup.cs
Lines 35 to 42 in 5e90b78
There was a breaking change here for preview 9 to use C# 9 record types. You can try that by downloading the daily builds from here:
https://github.com/microsoft/reverse-proxy/blob/main/docs/DailyBuilds.md