473,395 Members | 1,516 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,395 software developers and data experts.

Generic Development/Production Question

Say I have a project that I have hosted locally. I have a separate machine
which is our production environment. To do our deploys, we've been
copying/pasting the folder from our local machines and overwriting the
production folder(s) after backing them up. This works ok. Both folders
have the same name. Now, say we're weeks into developing/redesigning a
portion of the website. Client requests a change to the production site.
We can't roll out our development code as it's unfinished. We need to make
a change to the production site.

How can I run these two code bases in parallel, locally? Is this even
possible? Right now the best I can come up with is to backup my development
code in some other location, place the production code in the local folder,
rebuild and pray that paths don't cross. It just feels very very kludgy.
I'm hoping I'm missing something (or many things) entirely. Seems very
likely. For the record, we're still using 1.1.

Thanks
Jan 12 '07 #1
8 1217
you should be using some sort of source control software. if you don't
have vss or team studio look at the open source cvs (see sourceforge.net)

-- bruce (sqlwork.com)

James wrote:
Say I have a project that I have hosted locally. I have a separate machine
which is our production environment. To do our deploys, we've been
copying/pasting the folder from our local machines and overwriting the
production folder(s) after backing them up. This works ok. Both folders
have the same name. Now, say we're weeks into developing/redesigning a
portion of the website. Client requests a change to the production site.
We can't roll out our development code as it's unfinished. We need to make
a change to the production site.

How can I run these two code bases in parallel, locally? Is this even
possible? Right now the best I can come up with is to backup my development
code in some other location, place the production code in the local folder,
rebuild and pray that paths don't cross. It just feels very very kludgy.
I'm hoping I'm missing something (or many things) entirely. Seems very
likely. For the record, we're still using 1.1.

Thanks

Jan 12 '07 #2
Right, we still use VSS 6.0d or whatever the version number is. How does
that come into effect here? We don't want to roll it back? Are you saying
have two different applications entirely? That would necessitate two
different names obviously. Can you give an archaic design diagram?

"bruce barker" <no****@nospam.comwrote in message
news:eq**************@TK2MSFTNGP02.phx.gbl...
you should be using some sort of source control software. if you don't
have vss or team studio look at the open source cvs (see sourceforge.net)

-- bruce (sqlwork.com)

James wrote:
>Say I have a project that I have hosted locally. I have a separate
machine which is our production environment. To do our deploys, we've
been copying/pasting the folder from our local machines and overwriting
the production folder(s) after backing them up. This works ok. Both
folders have the same name. Now, say we're weeks into
developing/redesigning a portion of the website. Client requests a
change to the production site. We can't roll out our development code as
it's unfinished. We need to make a change to the production site.

How can I run these two code bases in parallel, locally? Is this even
possible? Right now the best I can come up with is to backup my
development code in some other location, place the production code in the
local folder, rebuild and pray that paths don't cross. It just feels
very very kludgy. I'm hoping I'm missing something (or many things)
entirely. Seems very likely. For the record, we're still using 1.1.

Thanks

Jan 12 '07 #3
With VSS 6.0, it was typical to branch the code after
each production release and store it separately from
the "working version".

If you need to change production code, you
had to make it in two different places.

--
Robbe Morris - 2004-2006 Microsoft MVP C#
I've mapped the database to .NET class properties and methods to
implement an multi-layered object oriented environment for your
data access layer. Thus, you should rarely ever have to type the words
SqlCommand, SqlDataAdapter, or SqlConnection again.
http://www.eggheadcafe.com/articles/..._generator.asp

"James" <mi*******@gmail.comwrote in message
news:%2****************@TK2MSFTNGP06.phx.gbl...
Right, we still use VSS 6.0d or whatever the version number is. How does
that come into effect here? We don't want to roll it back? Are you
saying have two different applications entirely? That would necessitate
two different names obviously. Can you give an archaic design diagram?

"bruce barker" <no****@nospam.comwrote in message
news:eq**************@TK2MSFTNGP02.phx.gbl...
>you should be using some sort of source control software. if you don't
have vss or team studio look at the open source cvs (see sourceforge.net)

-- bruce (sqlwork.com)

James wrote:
>>Say I have a project that I have hosted locally. I have a separate
machine which is our production environment. To do our deploys, we've
been copying/pasting the folder from our local machines and overwriting
the production folder(s) after backing them up. This works ok. Both
folders have the same name. Now, say we're weeks into
developing/redesigning a portion of the website. Client requests a
change to the production site. We can't roll out our development code as
it's unfinished. We need to make a change to the production site.

How can I run these two code bases in parallel, locally? Is this even
possible? Right now the best I can come up with is to backup my
development code in some other location, place the production code in
the local folder, rebuild and pray that paths don't cross. It just
feels very very kludgy. I'm hoping I'm missing something (or many
things) entirely. Seems very likely. For the record, we're still using
1.1.

Thanks

Jan 13 '07 #4
+1 for CVS, or better yet, Subversion.

If you need to run code bases in parallel, you can create a branch, but
you can merge changes from one branch to another, so bugfixes etc. can
be easily shared.

On Jan 13, 4:00 am, "Robbe Morris [C# MVP]" <joeb...@joe.comwrote:
With VSS 6.0, it was typical to branch the code after
each production release and store it separately from
the "working version".

If you need to change production code, you
had to make it in two different places.

--
Robbe Morris - 2004-2006 Microsoft MVP C#
I've mapped the database to .NET class properties and methods to
implement an multi-layered object oriented environment for your
data access layer. Thus, you should rarely ever have to type the words
SqlCommand, SqlDataAdapter, or SqlConnection again.http://www.eggheadcafe.com/articles/..._generator.asp

"James" <minork...@gmail.comwrote in messagenews:%2****************@TK2MSFTNGP06.phx.gb l...
Right, we still use VSS 6.0d or whatever the version number is. How does
that come into effect here? We don't want to roll it back? Are you
saying have two different applications entirely? That would necessitate
two different names obviously. Can you give an archaic design diagram?
"bruce barker" <nos...@nospam.comwrote in message
news:eq**************@TK2MSFTNGP02.phx.gbl...
you should be using some sort of source control software. if you don't
have vss or team studio look at the open source cvs (see sourceforge.net)
-- bruce (sqlwork.com)
James wrote:
Say I have a project that I have hosted locally. I have a separate
machine which is our production environment. To do our deploys, we've
been copying/pasting the folder from our local machines and overwriting
the production folder(s) after backing them up. This works ok. Both
folders have the same name. Now, say we're weeks into
developing/redesigning a portion of the website. Client requests a
change to the production site. We can't roll out our development code as
it's unfinished. We need to make a change to the production site.
>How can I run these two code bases in parallel, locally? Is this even
possible? Right now the best I can come up with is to backup my
development code in some other location, place the production code in
the local folder, rebuild and pray that paths don't cross. It just
feels very very kludgy. I'm hoping I'm missing something (or many
things) entirely. Seems very likely. For the record, we're still using
1.1.
>Thanks- Hide quoted text -- Show quoted text -
Jan 13 '07 #5
you should label and branch your code when you do a release.

-- bruce (sqlwork.com)

James wrote:
Right, we still use VSS 6.0d or whatever the version number is. How does
that come into effect here? We don't want to roll it back? Are you saying
have two different applications entirely? That would necessitate two
different names obviously. Can you give an archaic design diagram?

"bruce barker" <no****@nospam.comwrote in message
news:eq**************@TK2MSFTNGP02.phx.gbl...
>you should be using some sort of source control software. if you don't
have vss or team studio look at the open source cvs (see sourceforge.net)

-- bruce (sqlwork.com)

James wrote:
>>Say I have a project that I have hosted locally. I have a separate
machine which is our production environment. To do our deploys, we've
been copying/pasting the folder from our local machines and overwriting
the production folder(s) after backing them up. This works ok. Both
folders have the same name. Now, say we're weeks into
developing/redesigning a portion of the website. Client requests a
change to the production site. We can't roll out our development code as
it's unfinished. We need to make a change to the production site.

How can I run these two code bases in parallel, locally? Is this even
possible? Right now the best I can come up with is to backup my
development code in some other location, place the production code in the
local folder, rebuild and pray that paths don't cross. It just feels
very very kludgy. I'm hoping I'm missing something (or many things)
entirely. Seems very likely. For the record, we're still using 1.1.

Thanks

Jan 14 '07 #6
Subversion has got to be the absolute worst source code
control system I've ever used. I spend more time
f'ing with it just to get the right things added, checked in,
deleted, etc. than anything else I've ever used.

Open Source = Open Crap

--
Robbe Morris - 2004-2006 Microsoft MVP C#
I've mapped the database to .NET class properties and methods to
implement an multi-layered object oriented environment for your
data access layer. Thus, you should rarely ever have to type the words
SqlCommand, SqlDataAdapter, or SqlConnection again.
http://www.eggheadcafe.com/articles/..._generator.asp

"Flinky Wisty Pomm" <Pa********@gmail.comwrote in message
news:11**********************@s34g2000cwa.googlegr oups.com...
+1 for CVS, or better yet, Subversion.

If you need to run code bases in parallel, you can create a branch, but
you can merge changes from one branch to another, so bugfixes etc. can
be easily shared.

On Jan 13, 4:00 am, "Robbe Morris [C# MVP]" <joeb...@joe.comwrote:
>With VSS 6.0, it was typical to branch the code after
each production release and store it separately from
the "working version".

If you need to change production code, you
had to make it in two different places.

--
Robbe Morris - 2004-2006 Microsoft MVP C#
I've mapped the database to .NET class properties and methods to
implement an multi-layered object oriented environment for your
data access layer. Thus, you should rarely ever have to type the words
SqlCommand, SqlDataAdapter, or SqlConnection
again.http://www.eggheadcafe.com/articles/..._generator.asp

"James" <minork...@gmail.comwrote in
messagenews:%2****************@TK2MSFTNGP06.phx.g bl...
Right, we still use VSS 6.0d or whatever the version number is. How
does
that come into effect here? We don't want to roll it back? Are you
saying have two different applications entirely? That would
necessitate
two different names obviously. Can you give an archaic design diagram?
"bruce barker" <nos...@nospam.comwrote in message
news:eq**************@TK2MSFTNGP02.phx.gbl...
you should be using some sort of source control software. if you don't
have vss or team studio look at the open source cvs (see
sourceforge.net)
>-- bruce (sqlwork.com)
>James wrote:
Say I have a project that I have hosted locally. I have a separate
machine which is our production environment. To do our deploys,
we've
been copying/pasting the folder from our local machines and
overwriting
the production folder(s) after backing them up. This works ok. Both
folders have the same name. Now, say we're weeks into
developing/redesigning a portion of the website. Client requests a
change to the production site. We can't roll out our development code
as
it's unfinished. We need to make a change to the production site.
>>How can I run these two code bases in parallel, locally? Is this
even
possible? Right now the best I can come up with is to backup my
development code in some other location, place the production code in
the local folder, rebuild and pray that paths don't cross. It just
feels very very kludgy. I'm hoping I'm missing something (or many
things) entirely. Seems very likely. For the record, we're still
using
1.1.
>>Thanks- Hide quoted text -- Show quoted text -
Jan 14 '07 #7
Seems to be a concensus about branching. Neophyte relative to that. So
assume I have

c:\inetpub\wwwroot\ABC

and it contains my web app. Now I deploy that to a web server, and the
application has the same name. Then I've "branched" my code, which I'll
research but assume means that I'm just adding another "app" to source
control. Now I need to change production code. How do I go about it? If I
"get the latest version" using VSS 6.0d, I'd overwrite my development copy,
wouldn't I? Or do I check in the latest version, nuke the folder locally
and do a massive GET from VSS for the "old" version? Just curious what the
common practice is here, much appreciated.

Thanks

"bruce barker" <no****@nospam.comwrote in message
news:%2****************@TK2MSFTNGP06.phx.gbl...
you should label and branch your code when you do a release.

-- bruce (sqlwork.com)

James wrote:
>Right, we still use VSS 6.0d or whatever the version number is. How does
that come into effect here? We don't want to roll it back? Are you
saying have two different applications entirely? That would necessitate
two different names obviously. Can you give an archaic design diagram?

"bruce barker" <no****@nospam.comwrote in message
news:eq**************@TK2MSFTNGP02.phx.gbl...
>>you should be using some sort of source control software. if you don't
have vss or team studio look at the open source cvs (see
sourceforge.net)

-- bruce (sqlwork.com)

James wrote:
Say I have a project that I have hosted locally. I have a separate
machine which is our production environment. To do our deploys, we've
been copying/pasting the folder from our local machines and overwriting
the production folder(s) after backing them up. This works ok. Both
folders have the same name. Now, say we're weeks into
developing/redesigning a portion of the website. Client requests a
change to the production site. We can't roll out our development code
as it's unfinished. We need to make a change to the production site.

How can I run these two code bases in parallel, locally? Is this even
possible? Right now the best I can come up with is to backup my
development code in some other location, place the production code in
the local folder, rebuild and pray that paths don't cross. It just
feels very very kludgy. I'm hoping I'm missing something (or many
things) entirely. Seems very likely. For the record, we're still
using 1.1.

Thanks
Jan 15 '07 #8
Does it occurs in the same module ? If not, you could also break your
ASP.NET application into several DLLs being then able to deploy an updated
DLL for a single module (compiling to a single DLL in 1.1 is a VS limitation
not an ASP.NET limitation). Worked quite well for us (but we generally add
new stuff instead of working extensively on something while having a request
change on this same module).

The other option is to "branch" using your source code control as answered
in other threads...

Patrice

"James" <mi*******@gmail.coma écrit dans le message de news:
%2****************@TK2MSFTNGP02.phx.gbl...
Say I have a project that I have hosted locally. I have a separate
machine which is our production environment. To do our deploys, we've
been copying/pasting the folder from our local machines and overwriting
the production folder(s) after backing them up. This works ok. Both
folders have the same name. Now, say we're weeks into
developing/redesigning a portion of the website. Client requests a change
to the production site. We can't roll out our development code as it's
unfinished. We need to make a change to the production site.

How can I run these two code bases in parallel, locally? Is this even
possible? Right now the best I can come up with is to backup my
development code in some other location, place the production code in the
local folder, rebuild and pray that paths don't cross. It just feels very
very kludgy. I'm hoping I'm missing something (or many things) entirely.
Seems very likely. For the record, we're still using 1.1.

Thanks

Jan 15 '07 #9

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: Mike Jansen | last post by:
We're doing .NET development for PocketPC, BizTalk, and miscellaneous other things. One of the difficulties has been keeping references to assemblies intact in a project when the referenced...
5
by: Bill Willyerd | last post by:
I have been looking for some documentation that would support or reject my opinion on Production -vs- Development naming conventions. I believe that each environment should be housed on separate...
6
by: Klaus Jensen | last post by:
Hi! I have a pretty traditional setup where I develop on my local PC and the use "Copy Project" to deploy to the production enviroment.. In web.config I need different values for...
4
by: TC | last post by:
Hello All, I apology for posting to many groups but I wasn't sure which group would be best targeted with my question. I have inherited an ASP.Net application that requires some maintenance &...
5
by: Anders Borum | last post by:
Hello! Whilst refactoring an application, I was looking at optimizing a ModelFactory with generics. Unfortunately, the business objects created by the ModelFactory doesn't provide public...
4
by: Richard Levasseur | last post by:
(Forewarning, most of these problems and solutions come from being the only developer in a 1 server department with no budget, few resources, unresponsive IT, and non-technical managers, so thats...
29
by: Tony Girgenti | last post by:
Hello. I'm developing and testing a web application using VS.NET 2003, VB, .NET Framework 1.1.4322, ASP.NET 1.1.4322 and IIS5.1 on a WIN XP Pro, SP2 computer. I'm using a web form. How do I...
1
by: bay_dar | last post by:
We are wondering what is the best way to go about managing production and development versions of our ASP.NET applications. We often publish a production version of a .NET application but then we...
8
by: situ | last post by:
Hello all, i have Database1 and database2, is it possible to make database connection to database2 by running stored procedure on database1. Thanks and Regards Situ
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.