Hi,
I want to set IIS host heades programatic (.NET-Code).
I have a Website, which enables personalized access through subdomain. I use host headers for that purpose. Because of having about 1 to 5 host header changes each day, I decided to write a tool (ASP.NET Website) for administration.
Now my question: Is it possible to administrate IIS through .NET-Code? Is there a library that support access to the IIS administration ... maybe that way:
IISWrapper iis = new IISWrapper();
iis.AddHostHeader( string websiteID, string hostheaderWert, int port );
or
iis.DeleteHostHeader( string websiteID, string hostheaderWert, int port );
Thanks in advance
Regards rollek
I want to set IIS host heades programatic (.NET-Code).
I have a Website, which enables personalized access through subdomain. I use host headers for that purpose. Because of having about 1 to 5 host header changes each day, I decided to write a tool (ASP.NET Website) for administration.
Now my question: Is it possible to administrate IIS through .NET-Code? Is there a library that support access to the IIS administration ... maybe that way:
IISWrapper iis = new IISWrapper();
iis.AddHostHeader( string websiteID, string hostheaderWert, int port );
or
iis.DeleteHostHeader( string websiteID, string hostheaderWert, int port );
Thanks in advance
Regards rollek