Deployment of ASP.net Application

  • Thread starter Thread starter Guest
  • Start date Start date
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
 
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
 
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
 
Back
Top