Click or drag to resize

AutofacMultitenantWebHostBuilderExtensions Class

Extension methods for the IWebHostBuilder interface.
Inheritance Hierarchy
SystemObject
  Microsoft.AspNetCore.HostingAutofacMultitenantWebHostBuilderExtensions

Namespace:  Microsoft.AspNetCore.Hosting
Assembly:  Autofac.Integration.AspNetCore.Multitenant (in Autofac.Integration.AspNetCore.Multitenant.dll) Version: 1.0.2+6ab27ab5312159da2f50e4d8f88dfbca670fb09e
Syntax
public static class AutofacMultitenantWebHostBuilderExtensions

The AutofacMultitenantWebHostBuilderExtensions type exposes the following members.

Methods
  NameDescription
Public methodStatic memberUseAutofacMultitenantRequestServices
Adds the multitenant Autofac request services middleware, which ensures request lifetimes spawn from the container rather than a pre-resolved tenant lifetime scope. This allows tenant identification to occur at the time of request scope generation.
Top
See Also