views:

35

answers:

2

How can I deploy an web application on IIS via ASP.NET web application?

So instead of creating virtual directory, converting it to a application, etc I could just automate deployment via a web application?

how do I do that?

EDIT: no i do not want to deploy my application via visual studio, instead I want my web application itself to deploy a web application.

Example I use webapplication1, using webapplication1, I login to my control panel, I then setup the application to deploy within webapplication1, then I click deploy, and it deploys webapplicationX, webapplicationY, webapplicationN etc..

A: 

You can achieve this by creating a new Visual Studio project of type "Setup and Deployment", and use the "Web Setup" type. This will create an .msi installer that will automatically create the web app for you within IIS.

Sachin Shanbhag
not what I want to do, I want to deploy a web application from within a web application. See Edit above.
K001
+2  A: 

There are five types of setup and deployment projects in VS.NET, but three are of significant importance that are "SetUp Project", "Web Setup Project" and "Merge Module Project".

Go to this

AsifQadri
not what I want to do, I want to deploy a web application from within a web application. See Edit above.
K001