Deploy of a web application

  • Thread starter Thread starter Daniela Roman
  • Start date Start date
D

Daniela Roman

To deploy a simple web application what type of files do I need to copy
over?
I want to use a simple copy.
Thanks
 
Hi,

Daniela said:
To deploy a simple web application what type of files do I need to copy
over?
I want to use a simple copy.
Thanks

It depends (damn ;-)

There are 3 deployment models in ASP.NET 2.0:

- You can deploy the ASPX files and the corresponding code-behind files
(CS, VB.NET, ...) to the web server. The classes will be compiled on
demand. This is OK for websites where the content changes often, or for
testing purposes. However, some people dislike deploying the source
files to the web server.

- To avoid deploying the source files, you can publish your website. To
do this, use the corresponding menu in VS2005. This will precompile your
site and copy only the files needed to a folder of your choice (or even
diretly to the web server using FTP for example).

- If you use the Web Application Project template (available in VS2005
SP1 or from here http://webproject.scottgu.com/) then a DLL will be
created in the "bin" folder. You can copy the ASPX files and the "bin"
folder to the website.

Additionally to this, you of course need to copy all the resource files
(images, script, css...) to the website too.

HTH,
Laurent
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top