Click to See Complete Forum and Search --> : moving and copying asp.net website files
Mike Pliam
June 8th, 2009, 10:36 AM
Relatively new to ASP.NET website development, using VS 2005 Std Edition, I am growing tired of rebuilding a whole new asp.net website solution and copying the old files from another site that I wish to develop on another machine or location. Furthermore, once deployed to the host server, I believe that the published site is automatically compiled and consequently has no editable underlying code (C# or VB).
How do you asp.net website developers deal with these problems? :D
eclipsed4utoo
June 10th, 2009, 09:07 AM
what do you mean by this...."I am growing tired of rebuilding a whole new asp.net website solution and copying the old files from another site that I wish to develop on another machine or location."?
Why are you creating new solutions just to put on another server?
Mike Pliam
June 11th, 2009, 08:41 PM
I have a working asp.net VB website on a remote server (my host server). I wish to further develop this site using several different local machines with differing operating systems.
I am in the process of deciding which is better for my purposes, C# or VB. Presently, I am inclined to go with C#. Now, to rebuild the site, I need to develop it in a project on one or more of my local machines. Let's say I have a development project on one local machine. This version is not only for development, but serves as the main backup in case of loss of the website code. But one local machine is at my home, the other at 2 different offices. I would like to simply save the project to a flash drive and carry it to another machine and continue to work on the project.
I have not figured out how to copy the development project from one machine to another. The OS are Win2K, WinXPPro and Vista. For one thing, Vista installation of Visual Studio 2005 won't recognize a C# or VB asp.net application, only a 'new website' project.
The only method so far that works flawlessly, albeit with considerable added effort, is to simply export each file from the remote server using FrontPage Export, then copy the code and paste it into a new website project on my local machine.
Seems ridiculous to me to have to do this. Perhaps you have a better method of dealing with multiple machine development.
FWIW: I have heard it said that anyone who takes more than a few words to describe something probably doesnt know what he's talking about. I couldn't agree more. :)
dannystommen
June 12th, 2009, 02:18 AM
You could use Visual SourceSafe.
All your files are stored on a server, they are synced to your local computer. It also has version control. You can save your files directly via visual studio.
Google on it and you will find more information.
Another option is to use TurtoiseSVN. In this case you also the files are stored on a server, only this variant works via windows and is usable for all kind of files, where visual sourcesafe is especially for visual studio.
codeguru.com
Copyright Internet.com Inc., All Rights Reserved.