简体   繁体   中英

Programmatically create virtual directory on IIS for custom web appllication project template vs2010

I am working on multi project custom solution structure in VS2010. One of the projects is web application. I have a Wizard class inheriting from interface IWizard . In the UI form, users will enter the name for each project in the solution template.

When I load the multi project template, is it possible to create a virtual directory on IIS for a web application created?

Here is a good example of how to use Microsoft.Web.Administration for these purposes.

http://blogs.msdn.com/b/carlosag/archive/2006/04/17/microsoftwebadministration.aspx

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM