Re: Deploy of a web application
- From: "Laurent Bugnion [MVP]" <galasoft-lb@xxxxxxxxxx>
- Date: Sun, 25 Feb 2007 16:36:30 +0100
Hi,
Daniela Roman wrote:
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
--
Laurent Bugnion [MVP ASP.NET]
Software engineering, Blog: http://www.galasoft-LB.ch
PhotoAlbum: http://www.galasoft-LB.ch/pictures
Support children in Calcutta: http://www.calcutta-espoir.ch
.
- Follow-Ups:
- Re: Deploy of a web application
- From: Daniela Roman
- Re: Deploy of a web application
- References:
- Deploy of a web application
- From: Daniela Roman
- Deploy of a web application
- Prev by Date: Re: question about public function
- Next by Date: Re: Deploy of a web application
- Previous by thread: Deploy of a web application
- Next by thread: Re: Deploy of a web application
- Index(es):
Relevant Pages
|