user552300
user552300

Reputation: 47

Windows Azure Platform and multitenancy

Please tell me what is the relation between Windows azure and multitenacy application?

How to make multi tenant application?

It possible to host multi tenant application in windows azure platform?

Upvotes: 3

Views: 366

Answers (2)

Doobi
Doobi

Reputation: 4842

Windows Azure does support multi tenancy, but you have to architect for it.

The most typical model I've seen used is a multi tenant web and business layer with a single tenant data store. You can debate multi tenant data, but single tenancy seems the preference from a risk perspective. If one client is compromised or corrupted, you don't want to affect all your customers.

You can do that quite easily by

  1. Ensuring that your web and business components are stateless.
  2. Use a common security layer
  3. Switch data context per request

The data context switching is the most complex part, but it could be something as simple as having a per user/role Entity Connection string if you're using EF, or a Partition naming pattern if you're using Table storage.

Upvotes: 1

dthorpe
dthorpe

Reputation: 36072

Windows Azure is a platform upon which you can build web applications and services. Windows Azure does not provide multi-tennancy support built-in (multiple separate clients using the same app instance but not sharing data between clients).

Your options are two write your application for single-tennancy and configure a new instance of that app for each client, or implement your app for multi-tennancy and handle user accounts and user separation internal to your app.

Upvotes: 1

Related Questions