newbie question on Web Setup Project

  • Thread starter Thread starter Raymond Du
  • Start date Start date
R

Raymond Du

Hi,

In VS.Net, to create a new project, there is a "Setup and Deployment
Projects" project type and inside it there is a "Web Setup Project"
template. Can somebody explain what it is for?
I was told to deploy an ASP.Net application, all I have to do is to copy
aspx files from development to production servers.

Thanks in Advance
 
that is there if you want to create an exe that will install your web app
and database.
 
Eliyahu said:
There are other things that may need to be deployed. Dlls with
code-behind, images, scripts, stylesheets, configuration files are
the most obvious of them. A deployment project packages up nicely all
these things into one package. Also it takes care of uninstalling the
application.

Even more commonly used options would be:
- creation of virtual directories
- setting up IIS security
- configuring IIS default pages
- registering assemblies in the Global Assembly Cache
- etc.
 
Web Setup Project creates installer for you to deploy your web applications
to another computer, it can automatically create virtual directories and
configuring
IIS for you and you can configure it to do lots more custom actions... If at
any point
installation failes, it has capability to rollback all changes.. it also
provides an Uninstaller
so that you can remove your web application from Add/Remove programs snapin
from control
panel of your production computer...
 
There are other things that may need to be deployed. Dlls with code-behind,
images, scripts, stylesheets, configuration files are the most obvious of
them. A deployment project packages up nicely all these things into one
package. Also it takes care of uninstalling the application.

Eliyahu
 
Back
Top