asp.net mvc - Deploying the same site N times -


with our company, sell service our customers, website let customers enter parameters , informations, , then, can query web service previous informations computed. these web sites hosted on our servers.

we have on our servers 1 database per client (dbo.client1, dbo.client2...) same schema.

and provide different url each client :

expl : www.client1.service.com www.client1.ws.com/compute www.client2.service.com www.client2.ws.com/compute

but i'm wondering how deploy web services , web site?

do have deploy 1 web service , 1 website per client (with different web config)? , maybe create multiple deployment scripts ?

or possible imagine 1 instance of each (web service , web site), listening on several addresses, , creating different connection string according entry point of request (is possible mvc or wcf ?)

any other idea ?

i don't know best practice here.

thank you.

if read question 1 day, solve problem using multi-tenant solution, allow me deploy 1 instance of site.

the site handle webrequest, , according host, connect different database.


Comments

Popular posts from this blog

java - Static nested class instance -

c# - Bluetooth LE CanUpdate Characteristic property -

JavaScript - Replace variable from string in all occurrences -