I have the following situation:
I have a Web application that accesses the data through a C # WebAPI. I need to apply the concept of multitenancy in it to allow my application to be accessed by multiple clients and that each client access your database individually.
Faced with this need, I researched the SOPt and found the following questions:
Web application for several people
Databases for Different Customers
As for the concept I understood, my question is about the deploy of my WebAPI and what would be the best practice:
Should I deploy and host a single API instance in IIS (and redirect access to the database via code)?
Or should I perform the individual Deploy, ie host numerous instances of the API in IIS, each accessing your database?
If the second option is the most feasible, is there any way to do this multiple deploy in a more automated way? Is there a cloud feature that enables this deploy escalation (Azure, Amazon, etc ...)?