Net Core proxy middleware to support Strangler fig pattern
First, you must add the strangler proxy middleware in your Startup.cs
.
public void Configure(IApplicationBuilder app, IWebHostEnvironment env)
{
...
app.UseStranglerProxyMiddleware();
...
}
And also you need to add destination proxy url in your proxy api appsettings.json
like this:
"StranglerProxy": {
"DestinationURL": "http://localhost:5001",
"ExcludedResources": [ ]
}
You can also filter out certain resources so the proxy would not try to match those and always go to the destination URL
"StranglerProxy": {
"DestinationURL": "http://localhost:5001",
"ExcludedResources": [ "test13", "Test14/Hi" ]
}
See also the list of contributors who participated in this project.
We use SemVer for versioning. For the versions available, see the tags on this repository.