Skip to content

Middleware to implement Strangler fig pattern in your .NET Core application.

License

Notifications You must be signed in to change notification settings

exeal-es/StranglerProxy

Repository files navigation

Exeal.StranglerProxy

Maintenance NuGet version CircleCI CodeFactor

Net Core proxy middleware to support Strangler fig pattern

⚡ How does it works?

strangler-fig-proxy

📝 Usage

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" ]
}

⛏️ Built Using

⚖️ License

MIT

Maintainers

See also the list of contributors who participated in this project.

Versioning

We use SemVer for versioning. For the versions available, see the tags on this repository.

About

Middleware to implement Strangler fig pattern in your .NET Core application.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published