IIS Automation
am 27.09.2007 09:52:09 von MaterialisedHi All,
We are trying to automate the deployment of clients websites using IIS.
At the moment we can create a new virtual directory on the server using:
//Create a virtual directory
System.EnterpriseServices.Internal.IISVirtualRoot vr = new
System.EnterpriseServices.Internal.IISVirtualRoot();
string sError;
vr.Create("IIS://localhost/W3SVC/1/Root",@"C:\Demos\WebServi ces\","WebServices",out
sError);
Does anyone know how we can actually create a new website, binding it to
the default port?
Regards
Mick Walker