Deployment of ASP.net Application

G

Guest

Hi,
I want to deploy my ASP.net 2.0 application to production server.
I'm planning to copy my folders to the production server and create a
virtual directory for that.
Is it possible to copy only aspx files and not code behind aspx.vb on the
server??

Thanks
 
M

Mark Fitzpatrick

If you're using VS.Net, you should have a publish or copy web choice. This
will allow you to set if you want to copy only the files needed to run the
code, in which case no .cs files get deployed and thee .aspx files do. You
can't just copy over the files manually as the .cs files will be needed to
compile and run unless you deploy.

Hope this helps,
Mark Fitzpatrick
Microsoft MVP - FrontPage
 
G

Guest

Thank you Mark,
your reply helped me alot...

Mark Fitzpatrick said:
If you're using VS.Net, you should have a publish or copy web choice. This
will allow you to set if you want to copy only the files needed to run the
code, in which case no .cs files get deployed and thee .aspx files do. You
can't just copy over the files manually as the .cs files will be needed to
compile and run unless you deploy.

Hope this helps,
Mark Fitzpatrick
Microsoft MVP - FrontPage
 

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,999
Messages
2,570,243
Members
46,835
Latest member
lila30

Latest Threads

Top