Skip to content
Branch: master
Find file Copy path
1 contributor

Users who have contributed to this file

61 lines (52 sloc) 2.75 KB



  • Allow resetting option cache per-tenant. This is a breaking change.
  • Host strategy can match entire domain as a special case (prior it only matched a single host segment).
  • Added a sample project demonstrating a common login page shared by all tenants.
  • Overhauled documentation.
  • Updated unit and integration tests.


  • Fixed bug in Identity where UserLogins primary key was not adjusted for multitenant usage.
  • Updated and Fixed the IdentityDataIsolation sample project.
  • General code and test cleanup.


  • Fixed bug where the TenantInfo constructor did not save the passed Items collection.
  • Tested for compatibility with ASP.NET Core 2.2.
  • Updated samples for ASP.NET Core 2.2.
  • Cleaned up library dependencies to target ASP.NET Core 2.1 or greater.

2.0.0 General Changes

  • Changed TenantContext to MultiTenantContext which includes TenantInfo, StrategyInfo, and StoreInfo properties.
  • Namespace changes (e.g. use of Microsoft.Extensions.DependencyInjection namespace for Configure and ConfigureServices methods).
  • Additional and improved unit tests.
  • Updated sample project dependencies.
  • Various other internal improvements to code and bug fixes.

2.0.0 MultiTenant Store Enhancements

  • TryUpdate method added to IMultiTenantStore interface.
  • Added EFCoreStore which allows an Entity Framework Core database context as the tenant store.
  • Added sample project demonstrating use of EFCoreStore.
  • Custom can be configured with custom dependenct injection lifetime (single, scoped, or transient) via WithStore method overloads.
  • Custom stores automatically receive logging and error support via internal use of MultiTenantStoreWrapper.

2.0.0 MultiTenant Strategy Enhancements

  • Use of async/await for strategy execution for improved performance.
  • Custom strategies can be configured with custom dependenct injection lifetime (single, scoped, or transient) via WithStrategy method overloads.
  • Moved route configuration for RouteStrategy from UseMultiTenant to WithRouteStrategy.


  • Added variants of MultiTenantIdentityDbContext which allows more flexible integration with Identity (Thanks Cpcrook!)
  • Added sample project for data isolation with Identity
  • Minor refactoring and more unit tests
  • Various bug fixes


  • Fixed bug affecting per-tenant data isolation using a shared database
  • Added sample project for data isolation
  • Added new constructors for MultiTenantDbContext and MultiTenantIdentityDbContext


  • Remote authentication support
  • Strategy improvements
  • Store improvements
  • Per-tenant options improvements
  • Logging support
  • Updated samples
  • Improved unit and integration tests
  • Switch to Apache 2.0 license


  • Initial release
You can’t perform that action at this time.