Skip to content

Releases: z4kn4fein/stashbox-extensions-dependencyinjection

v5.7.0

20 Dec 15:39
Compare
Choose a tag to compare

Added

  • IServiceCollection based configuration for tenants
    builder.Host.UseStashboxMultitenant<HttpHeaderTenantIdExtractor>(
      options =>
      {
          // Root container configuration through the IStashboxContainer interface.
          options.RootContainer.Configure(opts => { /* configure the root container */ });
          
          // Configure root services through the IServiceCollection interface.
          options.ConfigureRootServices(services => 
              services.AddTransient<IDependency, DefaultDependency>());
      
          // Configure tenants.
          options.ConfigureTenant("TenantA", tenantContainer => 
              tenantContainer.Configure(opts => { /* configure the tenant container */ }))
              // Register tenant specific service overrides through the IServiceCollection interface.
              .ConfigureServices(services => 
                  services.AddTransient<IDependency, TenantASpecificDependency>());
      
          options.ConfigureTenant("TenantB", tenantContainer => 
              tenantContainer.Configure(opts => { /* configure the tenant container */ }))
              // Register tenant specific service overrides through the IServiceCollection interface.
              .ConfigureServices(services => 
                  services.AddTransient<IDependency, TenantBSpecificDependency>());
      });

v5.6.0

21 Aug 13:53
Compare
Choose a tag to compare

Changed

Fixed

  • #17 Stashbox breaks Blazor Server Side File Upload
  • #15 Make IStashboxContainer.Configure return IStashboxContainer

v5.5.4

26 Jul 00:45
Compare
Choose a tag to compare

Changed

  • Set the generic variance check turned off by default.

v5.5.3

26 Jul 00:42
Compare
Choose a tag to compare

Fixed

  • #13: Improper choice of base constructor in StashboxServiceDescriptor

v5.5.2

08 Apr 11:24
Compare
Choose a tag to compare

v5.5.1

02 Apr 16:12
Compare
Choose a tag to compare

Fixed

  • IServiceScopeFactory handling in the multitenant package.

v5.5.0

02 Apr 13:03
Compare
Choose a tag to compare
  • Bumped Stashbox version to v5.14.0.

v5.4.0

19 Nov 14:14
Compare
Choose a tag to compare

Added

v5.3.0

21 Jun 21:09
Compare
Choose a tag to compare
  • Bumped Stashbox version to v5.11.0, which moved several functions of IDependencyResolver to extension methods.

v5.2.2

13 Jun 19:10
Compare
Choose a tag to compare
  • Bumped Stashbox version to v5.10.2.