JSkimming / AspNet.Identity.EntityFramework.Multitenant

Multi-tenant support for ASP.NET Identity using Entity Framework
Apache License 2.0
132 stars 61 forks source link

How to specify "per owin context" configuration? #20

Open aseemflowingly opened 8 years ago

aseemflowingly commented 8 years ago

Both your samples, specify the userstore and usermanager created from the "AccountController", but is there a way to specify those per owin context instead?

public void ConfigureAuth(IAppBuilder app)
{
   app.CreatePerOwinContext(ApplicationDbContext.Create);
    app.CreatePerOwinContext<ApplicatonUserStore>(??);
}
JamesItSolutionsLtd commented 7 years ago

Did anyone find a solution for this.