Hi 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\WebServices\","WebServices",out
sError);

Does anyone know how we can actually create a new website, binding it to
the default port?

Regards
Mick Walker