473,380 Members | 1,352 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,380 software developers and data experts.

Help:How to do the version control of ASP.Net application?

Hi,

I have a web site built in ASP.Net 1.1 running on production server. It's the version 1.0.
Now I need to build the version 2.0 for this web site. The version 2.0 will be built based
on the code of version 1.0.

Since it take some time to have the version 2.0 ready for production, the code of version 1.0
needs to be kept somewhere for possible bug fix. At this point, the only feasible idea I have is:
1) create a new project for version 2.0 on machine A with same project name and copy code of
version 1.0 over.
2) keep the code of version 1.0 on machine B.
3) when there are bugs found on version 1.0 on production server, fix the bug in the code on
machine B and post new code to production server, then make the same change in the
code on machine A so that the version 2.0 will contain these bug fixes.

The reason I need to keep the code of version 1.0 on another machine is that new code in
version 2.0 may be not finished and untested when bug occurs on production server. I cannot
fix the bug on machine A and post the new DLL containing unfinished and untested code to
production server.

Even this idea will work, but I don't like it since I have to do the same job on both machines.

I use Visual Studio 2003 and C# for this web site.

Would you please tell me are there better ways I can do this?

Thank you

hb
Jul 20 '06 #1
2 1761
Hongbo,
for this kind of task, you're going to need a source control
application. Most of these apps support versioning control, along with
code diff and merge capabilities. Some examples are Sourcegear Vault,
Subversion (free) , or if you're willing to go to VS.NET 2005, Team
System.

Happy Coding!
Hongbo wrote:
Hi,

I have a web site built in ASP.Net 1.1 running on production server. It's the version 1.0.
Now I need to build the version 2.0 for this web site. The version 2.0 will be built based
on the code of version 1.0.

Since it take some time to have the version 2.0 ready for production, the code of version 1.0
needs to be kept somewhere for possible bug fix. At this point, the only feasible idea I have is:
1) create a new project for version 2.0 on machine A with same project name and copy code of
version 1.0 over.
2) keep the code of version 1.0 on machine B.
3) when there are bugs found on version 1.0 on production server, fix the bug in the code on
machine B and post new code to production server, then make the same change in the
code on machine A so that the version 2.0 will contain these bug fixes.

The reason I need to keep the code of version 1.0 on another machine is that new code in
version 2.0 may be not finished and untested when bug occurs on production server. I cannot
fix the bug on machine A and post the new DLL containing unfinished and untested code to
production server.

Even this idea will work, but I don't like it since I have to do the same job on both machines.

I use Visual Studio 2003 and C# for this web site.

Would you please tell me are there better ways I can do this?

Thank you

hb
------=_NextPart_000_000A_01C6AC14.B5DC12A0
Content-Type: text/html; charset=iso-8859-1
Content-Transfer-Encoding: quoted-printable
X-Google-AttachSize: 3275

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2800.1555" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2>Hi,</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>I have a web site built in ASP.Net 1.1 running on
production server. It's the version 1.0.</FONT></DIV>
<DIV><FONT face=Arial size=2>Now I need to build the version 2.0 for this web
site. The version 2.0 will be built based</FONT></DIV>
<DIV><FONT face=Arial size=2>on the code of version 1.0.</FONT><FONT face=Arial
size=2</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>Since it take some time to have the version 2.0
ready for production, the code of version 1.0</FONT></DIV>
<DIV><FONT face=Arial size=2>needs to </FONT><FONT face=Arial size=2>be kept
somewhere for possible&nbsp;bug fix. At this point, the only feasible idea I
have is: </FONT></DIV>
<DIV><FONT face=Arial size=2>1) create a new </FONT><FONT face=Arial
size=2>project for version 2.0 on machine A with same project name and copy code
of</FONT></DIV>
<DIV><FONT face=Arial size=2>version 1.0 over.</FONT></DIV>
<DIV><FONT face=Arial size=2>2) keep the code </FONT><FONT face=Arial size=2>of
version 1.0 on </FONT><FONT face=Arial size=2>machine B. </FONT></DIV>
<DIV><FONT face=Arial size=2>3) when there are bugs found on version 1.0 on
production server, fix the bug&nbsp;in the code on</FONT></DIV>
<DIV><FONT face=Arial size=2>&nbsp;&nbsp;&nbsp; machine B and post new code to
production server, then make the same change in the </FONT></DIV>
<DIV><FONT face=Arial size=2>&nbsp;&nbsp;&nbsp; code on machine A so that the
version 2.0 will contain these bug fixes.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>The reason I need to keep the code of version 1.0
on another machine is that new code in </FONT></DIV>
<DIV><FONT face=Arial size=2>version 2.0 may be not finished and untested when
bug occurs on production server. I cannot</FONT></DIV>
<DIV><FONT face=Arial size=2>fix the bug on machine A and post the new DLL
containing unfinished and untested code to</FONT></DIV>
<DIV><FONT face=Arial size=2>production server.</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>Even this idea will work, but I don't like it since
I have to do the same job on both machines.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>I use Visual Studio 2003 and C# for this web site.
</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>Would you please tell me are there better ways I
can do this?</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>Thank you</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>hb</FONT></DIV></BODY></HTML>

------=_NextPart_000_000A_01C6AC14.B5DC12A0--
Jul 21 '06 #2
Thank you!
"JustinBlat" <pi*******@yahoo.comwrote in message
news:11**********************@i3g2000cwc.googlegro ups.com...
Hongbo,
for this kind of task, you're going to need a source control
application. Most of these apps support versioning control, along with
code diff and merge capabilities. Some examples are Sourcegear Vault,
Subversion (free) , or if you're willing to go to VS.NET 2005, Team
System.

Happy Coding!
Hongbo wrote:
Hi,

I have a web site built in ASP.Net 1.1 running on production server.
It's the version 1.0.
Now I need to build the version 2.0 for this web site. The version 2.0
will be built based
on the code of version 1.0.

Since it take some time to have the version 2.0 ready for production,
the code of version 1.0
needs to be kept somewhere for possible bug fix. At this point, the only
feasible idea I have is:
1) create a new project for version 2.0 on machine A with same project
name and copy code of
version 1.0 over.
2) keep the code of version 1.0 on machine B.
3) when there are bugs found on version 1.0 on production server, fix
the bug in the code on
machine B and post new code to production server, then make the same
change in the
code on machine A so that the version 2.0 will contain these bug
fixes.

The reason I need to keep the code of version 1.0 on another machine is
that new code in
version 2.0 may be not finished and untested when bug occurs on
production server. I cannot
fix the bug on machine A and post the new DLL containing unfinished and
untested code to
production server.

Even this idea will work, but I don't like it since I have to do the
same job on both machines.

I use Visual Studio 2003 and C# for this web site.

Would you please tell me are there better ways I can do this?

Thank you

hb
------=_NextPart_000_000A_01C6AC14.B5DC12A0
Content-Type: text/html; charset=iso-8859-1
Content-Transfer-Encoding: quoted-printable
X-Google-AttachSize: 3275

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2800.1555" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2>Hi,</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>I have a web site built in ASP.Net 1.1
running on
production server. It's the version 1.0.</FONT></DIV>
<DIV><FONT face=Arial size=2>Now I need to build the version 2.0 for
this web
site. The version 2.0 will be built based</FONT></DIV>
<DIV><FONT face=Arial size=2>on the code of version 1.0.</FONT><FONT
face=Arial
size=2</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>Since it take some time to have the version
2.0
ready for production, the code of version 1.0</FONT></DIV>
<DIV><FONT face=Arial size=2>needs to </FONT><FONT face=Arial size=2>be
kept
somewhere for possible&nbsp;bug fix. At this point, the only feasible
idea I
have is: </FONT></DIV>
<DIV><FONT face=Arial size=2>1) create a new </FONT><FONT face=Arial
size=2>project for version 2.0 on machine A with same project name and
copy code
of</FONT></DIV>
<DIV><FONT face=Arial size=2>version 1.0 over.</FONT></DIV>
<DIV><FONT face=Arial size=2>2) keep the code </FONT><FONT face=Arial
size=2>of
version 1.0 on </FONT><FONT face=Arial size=2>machine B. </FONT></DIV>
<DIV><FONT face=Arial size=2>3) when there are bugs found on version 1.0
on
production server, fix the bug&nbsp;in the code on</FONT></DIV>
<DIV><FONT face=Arial size=2>&nbsp;&nbsp;&nbsp; machine B and post new
code to
production server, then make the same change in the </FONT></DIV>
<DIV><FONT face=Arial size=2>&nbsp;&nbsp;&nbsp; code on machine A so
that the
version 2.0 will contain these bug fixes.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>The reason I need to keep the code of
version 1.0
on another machine is that new code in </FONT></DIV>
<DIV><FONT face=Arial size=2>version 2.0 may be not finished and
untested when
bug occurs on production server. I cannot</FONT></DIV>
<DIV><FONT face=Arial size=2>fix the bug on machine A and post the new
DLL
containing unfinished and untested code to</FONT></DIV>
<DIV><FONT face=Arial size=2>production server.</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>Even this idea will work, but I don't like
it since
I have to do the same job on both machines.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>I use Visual Studio 2003 and C# for this
web site.
</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>Would you please tell me are there better
ways I
can do this?</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>Thank you</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>hb</FONT></DIV></BODY></HTML>

------=_NextPart_000_000A_01C6AC14.B5DC12A0--

Jul 21 '06 #3

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

Similar topics

1
by: Eric in somewhere | last post by:
How to install J2SE 1.4.2 with NetBeans IDE on WindowsME? When I install it till 6%, a DOS window opened and then closed, then the process stop here. How can fix it? Please help.
6
by: ritagoldman101 | last post by:
Pls help - how to find Domain owner For most people this may be an easy question...but not for me. How can I find out who the owner of a domain is so I can write to her / him and ask if she /...
1
by: Alan & Sharron Brown | last post by:
'Help - How can you run 2 versions of Access on 1 pc' I would like to run Access 97 and Access 2003 on the same PC but have error
0
by: YiTian_Ken | last post by:
Help!!How to use MSMQ in WebForm? I can not send any Message from MSMQ?
6
by: hb | last post by:
Hi, Would you please tell me how to detect if the client's browser is closed? I need such event to trigger a database modification. Thank you hb
2
by: Alex Su | last post by:
Hello all, I'm new to VB.net and have just built a small application that makes use of some VB6 ocx such as mscomm32.ocx for data communication with a machine. The application runs OK but when I...
4
by: txican | last post by:
the HTML is: ---------------------------------------------- <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd"> <html> <head> <title>foo</title>...
4
by: jadeivel756 | last post by:
I BADLY NEED YOUR HELP...... HELP... hOW TO Pass value to a struct type and permanently store the data after youve given the data.The programming language is C. My problem is that as I exit the...
0
by: rafeig77 | last post by:
I want help How I can align rectangles differ in its tow dimensions inside big rectangle with lesser waste in area ? for mor information align.rar - 1.8 Kb or: copy this code to text file...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
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: 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
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
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...

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.