473,320 Members | 1,867 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,320 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 1759
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: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
0
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
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...

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.