deploying asp.net applications

K

Kilo Bravo

When you finally move your web application from the developement server to
the production server what files should you actually upload? Are the source
files necessary? Or just the dll. Why did microsoft not build a simple way
into VS.net to deploy this stuff on the web??? I can't even find clear
instructions anywhere, I can't be the only one whoever asked these
questions.

KB
 
A

Angrez Singh

Hi,

Steps for deploying the application on production server :
1. Create a directory on the server and corresponding virtual
directory.
2. Put you dll's in the bin folder inside this directory ( the folder
must be named bin ). No other source files are neccessary.
3. Copy the directory structure as it was on the development server.
Don't copy the .aspx.cs files. Only copy .cs file.

Thats one method, other is using xcopy command. Just google on it for
more information.

HTH
Regards,
Angrez
 
H

hashimisayed

There is an easy way to this. Go to Project->Copy Project. In the
dialog, choose the deployment method and select "Only files needed to
run this application".

sayed
 

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

Forum statistics

Threads
473,995
Messages
2,570,226
Members
46,815
Latest member
treekmostly22

Latest Threads

Top