dazinator / Dotnettency

Mutlitenancy for dotnet applications
MIT License
111 stars 23 forks source link

Per Tenant Configuration #53

Closed dazinator closed 5 years ago

dazinator commented 5 years ago

At the moment, there is a way to configure services per tenant, and middleware per tenant- but no easy way of keeping track of configuration per tenant.

I intend to extend dotnettency to allow you to build per tenant IConfiguration.

It may even make sense to extend the delegates for building a tenants pipeline or services, with a parameter for the tenants Configuration - perhaps via an extension method. As you often want to add services or middleware based on Configuration.