473,756 Members | 1,818 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Question about source control

We are developing ASP.NET web application and using Visual source safe (VSS)
to control our source code
We developed a user control and it will been used by different project.

I know there have a function like sharing in VSS, which means you can link
the file in different project and once you updated that file in either
project, that file in other projects, which used that file, will been
updated automatically, too.

On the other hand, we can depoly the user control in DLL format and placed
in a centralized folder, then reference to that folder to use that user
control. If there have any update on the user control, we can just focus on
the source and re-deploy it in DLL after updated. However, VSS like also
have same function...

My question is, which way will be better? deploy the user control in DLL
format or use VSS to control the source code? It sees if we are using VSS to
control the source code, then deploy the user control in DLL format is
useless, right? I am very confused on it.

Assumed the user control is used internally and will not release to 3rd
party.

Thanks
Oct 23 '07 #1
3 1726
Personally I prefer to use Dlls for code that is shared amongst multiple
projects. This way you can minimize breaks in the build based on changes to
the shared code. Should someone be working on some major overhauls, you can
work on your section while referencing the existing libraries and update to
the new stuff when they are done.

I'd also recommend you switch to another source control system than VSS. I
started looking at other systems as soon as I read Microsoft's VSS Best
Practices
(http://msdn2.microsoft.com/en-us/lib...ssbest_general)
In it they recommend running processes weekly to detect and correct
problems with the database structure. If Microsoft says you need to check
that often, it's probably not a system you should trust your code to.

--
Andrew Faust
andrew[at]andrewfaust.com
http://www.andrewfaust.com
"ºa¤Ö" <ºa¤Ö@¤W«Ë¤½¥q. *»´äwrote in message
news:ue******** ******@TK2MSFTN GP04.phx.gbl...
We are developing ASP.NET web application and using Visual source safe
(VSS) to control our source code
We developed a user control and it will been used by different project.

I know there have a function like sharing in VSS, which means you can
link the file in different project and once you updated that file in
either project, that file in other projects, which used that file, will
been updated automatically, too.

On the other hand, we can depoly the user control in DLL format and
placed in a centralized folder, then reference to that folder to use that
user control. If there have any update on the user control, we can just
focus on the source and re-deploy it in DLL after updated. However, VSS
like also have same function...

My question is, which way will be better? deploy the user control in DLL
format or use VSS to control the source code? It sees if we are using VSS
to control the source code, then deploy the user control in DLL format is
useless, right? I am very confused on it.

Assumed the user control is used internally and will not release to 3rd
party.

Thanks
Oct 23 '07 #2
??
Hi Andrew,

But if someone, who update the user control, haven't checkin the file to the
VSS, it will not affect other developers until they download that files from
the VSS because they are still using existing files (local copy) to work on
their section

Right?

So any other comment, I also prefer to use Dlls, but when compare with VSS,
I cannot find a strong reason to support me to convert the user control in
DLL...

Thanks

"Andrew Faust" <an****@andrewf aust.com>
???????:E8***** *************** **************@ microsoft.com.. .
Personally I prefer to use Dlls for code that is shared amongst multiple
projects. This way you can minimize breaks in the build based on changes
to the shared code. Should someone be working on some major overhauls, you
can work on your section while referencing the existing libraries and
update to the new stuff when they are done.

I'd also recommend you switch to another source control system than VSS. I
started looking at other systems as soon as I read Microsoft's VSS Best
Practices
(http://msdn2.microsoft.com/en-us/lib...ssbest_general)
In it they recommend running processes weekly to detect and correct
problems with the database structure. If Microsoft says you need to check
that often, it's probably not a system you should trust your code to.

--
Andrew Faust
andrew[at]andrewfaust.com
http://www.andrewfaust.com
"ºa¤Ö" <ºa¤Ö@¤W«Ë¤½¥q. *»´äwrote in message
news:ue******** ******@TK2MSFTN GP04.phx.gbl...
>Weare developing ASP.NET web application and using Visual source safe
(VSS) to control our source code
We developed a user control and it will been used by different project.

I know there have a function like sharing in VSS, which means you can
link the file in different project and once you updated that file in
either project, that file in other projects, which used that file, will
been updated automatically, too.

On the other hand, we can depoly the user control in DLL format and
placed in a centralized folder, then reference to that folder to use that
user control. If there have any update on the user control, we can just
focus on the source and re-deploy it in DLL after updated. However, VSS
like also have same function...

My question is, which way will be better? deploy the user control in DLL
format or use VSS to control the source code? It sees if we are using VSS
to control the source code, then deploy the user control in DLL format is
useless, right? I am very confused on it.

Assumed the user control is used internally and will not release to 3rd
party.

Thanks

Oct 23 '07 #3
That's true. However, if you are going to keep files checked out for long
periods of time you negate a lot of the benefits (roll backs, backup
copies, etc) of source control.

However, if you really don't want to split them off to separate dlls and
instead want to share the files here's a page describing how to do it.
http://support.microsoft.com/kb/132922

--
Andrew Faust
andrew[at]andrewfaust.com
http://www.andrewfaust.com
"??" <ºa¤Ö@¤W«Ë¤½¥q. *»´äwrote in message
news:uP******** *******@TK2MSFT NGP03.phx.gbl.. .
Hi Andrew,

But if someone, who update the user control, haven't checkin the file to
the VSS, it will not affect other developers until they download that
files from the VSS because they are still using existing files (local
copy) to work on their section

Right?

So any other comment, I also prefer to use Dlls, but when compare with
VSS, I cannot find a strong reason to support me to convert the user
control in DLL...

Thanks

"Andrew Faust" <an****@andrewf aust.com>
???????:E8***** *************** **************@ microsoft.com.. .
>Personally I prefer to use Dlls for code that is shared amongst multiple
projects. This way you can minimize breaks in the build based on changes
to the shared code. Should someone be working on some major overhauls,
you can work on your section while referencing the existing libraries
and update to the new stuff when they are done.

I'd also recommend you switch to another source control system than VSS.
I started looking at other systems as soon as I read Microsoft's VSS
Best Practices
(http://msdn2.microsoft.com/en-us/lib...ssbest_general)
In it they recommend running processes weekly to detect and correct
problems with the database structure. If Microsoft says you need to
check that often, it's probably not a system you should trust your code
to.

--
Andrew Faust
andrew[at]andrewfaust.com
http://www.andrewfaust.com
"ºa¤Ö" <ºa¤Ö@¤W«Ë¤½¥q. *»´äwrote in message
news:ue******* *******@TK2MSFT NGP04.phx.gbl.. .
>>Weare developing ASP.NET web application and using Visual source safe
(VSS) to control our source code
We developed a user control and it will been used by different project.

I know there have a function like sharing in VSS, which means you can
link the file in different project and once you updated that file in
either project, that file in other projects, which used that file, will
been updated automatically, too.

On the other hand, we can depoly the user control in DLL format and
placed in a centralized folder, then reference to that folder to use
that user control. If there have any update on the user control, we can
just focus on the source and re-deploy it in DLL after updated.
However, VSS like also have same function...

My question is, which way will be better? deploy the user control in
DLL format or use VSS to control the source code? It sees if we are
using VSS to control the source code, then deploy the user control in
DLL format is useless, right? I am very confused on it.

Assumed the user control is used internally and will not release to 3rd
party.

Thanks

Oct 23 '07 #4

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

Similar topics

2
1500
by: JC Mugs | last post by:
I am having a conceptual problem. When working with a forms & Code sections which is correct method and how do they differ when working with fields? Code Private Sub CExt1_BeforeUpdate(Cancel As Integer) Me!CExt1 = Nz(, 0) * Nz(, 0) ; this one? CExt1 = Nz(, 0) * Nz(, 0) : Or this? End Sub
7
2056
by: vindaloo1 | last post by:
I'm using Access 2000 and I have a main form and a subform. When a control on the subform is updated I am trying to update a control on the mainform. But instead of updating the control on the main form's current record, it updates the main form's control on every record. This is the code I'm using for this: Set cnn = CurrentProject.Connection strSQL = "SELECT SUM(AmountPaid)AS SumAmountPaid FROM BillPayments WHERE " & _
1
2015
by: hmiller | last post by:
I'm sorry to populate the server with yet another question about linking multiple tables and queries, howerver I have not been able to find the right criteria. My problem. I am trying to either link 3 tables together in a select query, and maintain the editablity that I get when linking two tables and creating a form. I know there is a way to link 3 tables through multiple queries however I have yet to be able to get it to work.
34
2612
by: Mathieu Trentesaux | last post by:
Hello I downloaded Office 2007 for this reason : It seems, once again, that it is impossible to save any modification done in a VBA library, from the main project in Access. The save button remains desperatly grayed. It also seems impossible to open the library in another Access instance
7
2686
by: D. Patrick | last post by:
I need to duplicate the functionality of a java applet, and how it connects to a remote server. But, I don't have the protocol information or the java source code which was written years ago. So, I used a packet sniffer and saw the protocol (TCP), the port, IP address, etc. All is good. I tried 2 different versions of .NET code to duplicate the requests to the remote server. Again, I used the packet sniffer and my packets seemed...
5
2767
by: clintonb | last post by:
I'm a newbie when it comes to asp.net. All my prior experience is in making Windows applications in C++. In the past when I made windows applications, the project or target file would keep track of the dlls that are required by the project. This project file would then be checked into source control. So if another user got the project from source control, they would also know which dlls are required by the project. In ASP.net, it...
0
1402
by: dave | last post by:
We are using vsts with source control. So far performance is awesome (compared to vss). Question: I can setup workspaces to access particular groups of source folders. In Source Control Explorer i still see all folder/projects in source control. Is there a way to only show those folders/projects for the workspace selected?
0
1974
by: ChopStickr | last post by:
I have a custom control that is embedded (using the object tag) in an html document. The control takes a path to a local client ini file. Reads the file. Executes the program specified in the ini on the client's PC. After the program has ended the control looks in a client side temp folder (specified by the ini file) for an image created by the executed program. If the image is there, then the control moves the file to a public folder...
1
306
by: cypher_key | last post by:
I want to write a simple application for my own use. I've already have the data populated in a database and I have a data source setup. I can use the wizards to generate a master detail data form (I believe that's what it's called) and I get a form with input controls for each field in the table. My question is that 2 of the fields in the table are numeric IDs which are foreign keys to other tables. For example, I have a customerID and...
0
9456
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9275
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10034
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
1
9843
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
1
7248
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 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 a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6534
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5304
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
2
3358
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2666
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.