c# - How can I configure IIS 6 programmatically? -
i see there nice library microsoft.web.administration allows configure iis 7. appears microsoft.web.administration doesn't work iis6, trying see if can provide alternative suggestions.
i building windows form application allow implement properties required configure (website, virtual directories, application pools...etc).
to configure iis6 have revert system.directory services.
string iispath = "iis://localhost/w3svc/1/root"; directoryentry iisrootentry = new directoryentry(iispath); and take there.
hope helps,
Comments
Post a Comment