Skip to content

khan007/MultiTenancyServer.Samples

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

33 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Build status

MultiTenancyServer.Samples

See MultiTenancyServer README.

All examples will register two tenants (tenant1 and tenant2) along with three users with one user, alice, registered within both tenants. You should launch a sample project as an exe when debugging instead of via IIS Express so the /seed command line argument is passed in which will generate the Sqlite database(s) in the project folder and populate with the above mentioned tenants and users. All user passwords are Pass123$.

User Tenant Password
alice@contoso.com tenant1 & tenant2 Pass123$
bob@contoso.com tenant1 Pass123$
chris@contoso.com tenant2 Pass123$

ASP.NET Core Identity

Sample project: AspNetIdentityAndEFCore
Components: ASP.NET Core Identity and Entity Framework Core
Database model: single database with tenancy shadow columns

ASP.NET Core Identity using Int64

Sample project: Int64AspNetIdentityAndEFCore
Components: ASP.NET Core Identity and Entity Framework Core
Database model: single database with tenancy shadow columns

Identity Server 4

Sample project: IdentityServerWithAspIdAndEF
Components: Identity Server 4, ASP.NET Core Identity and Entity Framework Core
Database model: single database with tenancy shadow columns

Database per tenant

Sample project: DatabasePerTenantAspIdAndEF
Components: ASP.NET Core Identity and Entity Framework Core
Database model: database per tenant

About

MultiTenancyServer quick start examples.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C# 74.9%
  • HTML 24.2%
  • Other 0.9%