Best practice Transfer files to webserver ASP.NET 2.0

A

aaapaul

What is the best way to transfer the necessary files of a website to
the webserver.

In VS2003 there was a possibility to say Project copy -> only files,
which are necessary for running !

I can´t find the same in VS 2005 !

greetings
aaapaul
 
L

Laurent Bugnion

Hi,
What is the best way to transfer the necessary files of a website to
the webserver.

In VS2003 there was a possibility to say Project copy -> only files,
which are necessary for running !

I can´t find the same in VS 2005 !

greetings
aaapaul

In VS2005, you have two models of website/web application: The default
"website" model, which is different from VS2003: You have no control
over the assembly (name, version), you cannot choose which files are
included, etc... In this model, you can copy the website using a FTP
program for example. All files will be copied to the webserver,
including source files (they will be compiled on demand on the server
itself!)

Alternatively, you can precompile the website using "Build / Publish"
menu. With this function, the assembly will be created locally and then
sent to the web server. You still cannot control it, but at least the
source files are not published.

If you like the VS2003 model, you can use the Web Application Project
add-on. Here, you have a "Publish" option (under the "Build" menu),
which allows you to copy the files to the webserver. You can also choose
"Only files needed to run this application". This is much more like
ASP.NET 1.1
http://webproject.scottgu.com/

*Caution*: The WAP is now part of Visual Studio 2005 Service pack 1. If
you want to install the service pack, you must first uninstall the WAP.

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

Members online

No members online now.

Forum statistics

Threads
473,744
Messages
2,569,484
Members
44,903
Latest member
orderPeak8CBDGummies

Latest Threads

Top