Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Adding entries in IIS
Message
De
24/01/2010 04:02:30
 
 
À
23/01/2010 17:51:38
Information générale
Forum:
ASP.NET
Catégorie:
Autre
Versions des environnements
Environment:
VB 9.0
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
MS SQL Server
Application:
Web
Divers
Thread ID:
01445672
Message ID:
01445698
Vues:
34
>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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform