| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Name | Name | Last commit date | ||
|---|---|---|---|---|
This is demo project for my Multi-tenant ASP.NET Core presentation. It demonstrates multi-tenant solutions I have worked out for ASP.NET Core. I'm using the same demo also for presentations. Solutions provided here are not absolute truth. There are cases when something different is needed and then the code here serves as a good starting point.
There are multiple features and solutions demonstrated in demo application:
To demonstrate multi-tenant features I have built I'm using SQL Server LocalDB and MySQL databases. SQL Server LocalDB uses integrated security. For MySQL some user account is needed to access database. Those who plan to run this example on Linux must use some Linux version of SQL Server or SQL Server running on some other machine.
There are two web applications in the solution:
AspNetCoreMultitenant.Web defines three tenants:
AspNetCoreMultitenant.WebDangerous defines two tenants:
There are also some host name mappings needed to run this demo on local machine:
Web application uses port 5000 and it must be added to URL of all tenants:
Dangerous web application uses port 5001 and it must be added to URL of all tenants:
When using public server to host this application make sure you turn on HTTPS in application startup.
This solution has some important concepts to know:
| Back | FazBrowse Home | New Git URL |