Deploy on a virtual server

chime

Member
Joined
Jul 12, 2005
Messages
22
Location
wexford, Ireland
Programming Experience
3-5
Hi

Is there a way to deploy a web project on a specified virtual server.

Ideally I would like to add something to the installation process so that we can specify which virtual server to install it on.
However if this is not possible then maybe specifying it during the deployment process instead.

Thanks in advance
 
I'm not sure what you really mean, but what you can do is, you can put a value in the web configure file (web.config,in the project) to specify the name of the virtual server.
<add key="ServerName" value="SISS1" />
then you can get this by using the following function
ConfigurationSettings.AppSettings.GetValues("ServerName")
This set up is no need to be recompile every time you change it.
Hope this can help you,
Good luck
 
Back
Top