Multi-tenancy in WiseJ

0
0

Hi,

Just wondering, if multi-tenancy can be implemented in WiseJ? If so, please share sample project.

  • You must to post comments
0
0

I am planning to go for separate sub-domain for each client like tenant1.coulddomain.com, tenant2.clouddomain.com etc. Can some body share sample code to achieve this.

  • You must to post comments
0
0

We use option #3 and have a website that the users login to then the user has permissions to specific companies and roles within that company.  If the user has multiple companies then a drop down is shown at the top allowing the user to switch to another company.  What ever the user has last chosen becomes there default company each time they login until they change it again.

Works very well for us.

Tim

  • You must to post comments
0
0

You can implement multi tenancy in many different ways:

  1. IIS new site for each tenant – same app domain
  2. IIS new site for each tenant – dedicated app domain
  3. IIS same site for each tenant

Options 1 and 2 don’t require any change in your application and any project would work. You can use any of our samples in github or any of your Wisej apps.

Options 3 has to be implemented in your application. There is no sample project that would fit a custom architecture. It depends on how you provision your database and it depends on your data structure, etc.

Any concept that applies with any .NET (web or not web ) app works when using Wisej.

  • You must to post comments
0
0

My company uses #2 giving each tenant a dedicated app domain and IIS site.

Feel free to ask any specific questions. We append the tenant to the domain like customername.cloudxxxxxxx.com and then use Application.RequestUri to get customername.

  • You must to post comments
Showing 4 results
Your Answer

Please first to submit.