Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Code benhind not on live server

Status
Not open for further replies.

beaniebear

Programmer
Sep 14, 2001
93
GB
I have an inherited a asp.net website where the code behind is not on the live server. I have made a change to the code behind on the development server and have rebuilt the website. But I'm not sure what I need to copy over to the live server to reflect the change there? Sorry if this is really basic, any help much appreciated, thanks.
 
But I'm not sure what I need to copy over to the live server to reflect the change there?
What is on the live server now? Just copy the same files over from the dev box after compilation.
 
there shouldn't be code files on the production server. .net is a compiled language, once the code is updated, compile and deploy.

Jason Meckley
Programmer
Specialty Bakers, Inc.
 
If you made any changes to the aspx pages then just move those files over. If you made changes to the code behind files then you will need to build the site/project and move the assemblie files (dll) files in the bin directory.

Or you can publish the site from vs ide which will move everything over for you. Becarful if your web.config file is differnet on your machine and the production server then you will want to back up the file on your production machine else it will be overwritten with the one on your machine.

Ordinary Programmer
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top