Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Adding entries in IIS
Message
From
24/01/2010 04:02:30
 
 
To
23/01/2010 17:51:38
General information
Forum:
ASP.NET
Category:
Other
Environment versions
Environment:
VB 9.0
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
MS SQL Server
Application:
Web
Miscellaneous
Thread ID:
01445672
Message ID:
01445698
Views:
35
>Has anyone ever done something in .NET to create new site entries in IIS? I am looking for something that will allow me to add from my application a new entry in IIS for a Web site by specifying the home directory, the application pool, the IP used, the type of scripting and the .NET Framework version that has to be used.

You don't say what version of IIS.
For IIS 7.0 check the Microsoft.Web.Administration namespace:
http://msdn.microsoft.com/en-us/library/microsoft.web.administration.aspx
Some simple examples here:http://learn.iis.net/page.aspx/165/how-to-use-microsoftwebadministration/

If it's an earlier version there are a few options:
http://msdn.microsoft.com/en-us/library/ms525885.aspx
http://msdn.microsoft.com/en-us/library/ms524505.aspx
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform