I'm looking for advice from people who are using C# in a production
environment with multiple developers. How do you reuse your code between
projects? Do you organize your class files into namespaces and reuse
them at the source level? Or do you maintain versioned assemblies?
Any asistance you can offer would be greatly appreciated.
--
There are 10 kinds of people. Those who understand binary and those who
don't. http://code.acadx.com
(Pull the pin to reply) 6 3679
We use projects defined with their own namespaces, an simply include them in
the relevant solutions we need them in.
The source itself is shared via Sourcesafe.
"Frank Oquendo" <fr****@acadxpi n.com> wrote in message
news:uX******** ********@TK2MSF TNGP11.phx.gbl. .. I'm looking for advice from people who are using C# in a production environment with multiple developers. How do you reuse your code between projects? Do you organize your class files into namespaces and reuse them at the source level? Or do you maintain versioned assemblies?
Any asistance you can offer would be greatly appreciated.
-- There are 10 kinds of people. Those who understand binary and those who don't.
http://code.acadx.com (Pull the pin to reply)
I organize class files into namespaces and try to distribute them among
several projects (say, one project for presentation layer, one for business
logic, one for utility classes etc.)
--
Dmitriy Lapshin [C# / .NET MVP]
X-Unity Test Studio http://x-unity.miik.com.ua/teststudio.aspx
Bring the power of unit testing to VS .NET IDE
"Frank Oquendo" <fr****@acadxpi n.com> wrote in message
news:uX******** ********@TK2MSF TNGP11.phx.gbl. .. I'm looking for advice from people who are using C# in a production environment with multiple developers. How do you reuse your code between projects? Do you organize your class files into namespaces and reuse them at the source level? Or do you maintain versioned assemblies?
Any asistance you can offer would be greatly appreciated.
-- There are 10 kinds of people. Those who understand binary and those who don't.
http://code.acadx.com (Pull the pin to reply)
Thats pretty much what I do myself. I have a Common
project which is an ever-growing library of utility
classes, with related classes using their own namespace
under the Common namespace.
Ie
Common.EmailToo ls
Common.LogFiles
Common.WebServi ceTools
etc etc
Ben Fidge -----Original Message----- We use projects defined with their own namespaces, an
simply include them inthe relevant solutions we need them in.
The source itself is shared via Sourcesafe.
"Frank Oquendo" <fr****@acadxpi n.com> wrote in message news:uX******* *********@TK2MS FTNGP11.phx.gbl ... I'm looking for advice from people who are using C# in
a production environment with multiple developers. How do you reuse
your code between projects? Do you organize your class files into
namespaces and reuse them at the source level? Or do you maintain versioned
assemblies? Any asistance you can offer would be greatly
appreciated. -- There are 10 kinds of people. Those who understand
binary and those who don't.
http://code.acadx.com (Pull the pin to reply)
.
We use them at a 'binary' level, with loosely versioned assemblies.
"Frank Oquendo" <fr****@acadxpi n.com> wrote in message
news:uX******** ********@TK2MSF TNGP11.phx.gbl. .. I'm looking for advice from people who are using C# in a production environment with multiple developers. How do you reuse your code between projects? Do you organize your class files into namespaces and reuse them at the source level? Or do you maintain versioned assemblies?
Any asistance you can offer would be greatly appreciated.
-- There are 10 kinds of people. Those who understand binary and those who don't.
http://code.acadx.com (Pull the pin to reply)
"Robert Hooker" <rh*****@rhooke r.com> wrote in message news:uQ******** ******@TK2MSFTN GP09.phx.gbl... We use them at a 'binary' level, with loosely versioned assemblies.
Can you please elaborate on the "loosely versioned"?
Do they have a strong name?
What do they have in AssemblyVersion attribute?
Ivan
we use versioned assemblies --
whatever works for you
"Frank Oquendo" <fr****@acadxpi n.com> wrote in message
news:uX******** ********@TK2MSF TNGP11.phx.gbl. .. I'm looking for advice from people who are using C# in a production environment with multiple developers. How do you reuse your code between projects? Do you organize your class files into namespaces and reuse them at the source level? Or do you maintain versioned assemblies?
Any asistance you can offer would be greatly appreciated.
-- There are 10 kinds of people. Those who understand binary and those who don't.
http://code.acadx.com (Pull the pin to reply)
This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: James Cameron |
last post by:
Hi I'm developing a program and the client is worried about future
reuse of the code. Say 5, 10, 15 years down the road. This will be a
major factor in selecting the development language. Any comments on
past experience, research articles, comments on the matter would be
much appreciated. I suspect something like C would be the best based
on comments I received from the VB news group.
Thanks for the help in advance
James Cameron
|
by: DPfan |
last post by:
What's exactly the meaning of "code reuse" in C++?
Why such kind of reuse have more advantages over the counterpart in other
language like in C?
How is "code reuse" realized in C++? By composition mainly? What're
others?
Thanks in advance for your comments!
|
by: patrick t music-images dt nl |
last post by:
Hi,
I'm evaluating Visual Studio and the .NET concept for his company, which
is currently using Borland C++ Builder.
Now I tried to create components/controls etc. in .NET and I can reuse
it very easily by adding the control to the toolbox. This is great and
more 'safe' to do than in Borland.
But... although I'm nice, I'm not so nice that I am willing to give away
|
by: Simon |
last post by:
Hi all,
I'm hoping that some of you clever chaps could offer me some advice on code
reuse.
You see, whenever I make applications, I typically only find very limited
|
by: CR |
last post by:
I've noticed that the trend these days is to declare variables in the
middle of code instead of at the top. What is the advantage of this?
It seems like it makes it hard to reuse variables.
Here is how all the examples I've seen so far create an OleDbCommand
Object:
Dim cmd as new OleDbCommand("Select * FROM Table1",cnn)
I had to figure out that it was the same as this:
| |
by: Simon |
last post by:
Hi all,
I'm hoping that some of you clever chaps could offer me some advice on code
reuse.
You see, whenever I make applications, I typically only find very limited
|
by: sailor.gu |
last post by:
Hi all guys,
As an embeded programmer with five year C experience,
I did read many great books related with design, coding,
test,debug,algorithms, compiler, design, os, pm and others.
I always dream to achieve a refined and reusable design and
implementation.
I am very interested with code reuse.
|
by: Bart Simpson |
last post by:
I remember reading on parashift recently, that "Composition is for code
reuse, inheritance is for flexibility" see
(http://www.parashift.com/c++-faq-lite/smalltalk.html#faq-30.4)
This confused me somewhat as I have always thought you get code reuse
"for free" with inheritance. Am I missing something?. Will someone care
to explain ??
|
by: Jeff Dege |
last post by:
I'm working with a group that's been doing C++ coding for quite a long
time, now, and in that environment we've pretty much worked out
development practices that serve us well.
We've been doing more and more, over the last few years, in C# and
ASP.NET. Some web apps, some background services.
In our C++ code base, we have a fair number of statically-linked
libraries that contain code we share between projects. At this point, in
our...
|
by: RichB |
last post by:
I am just trying to get to grips with C# and OOP, and one of the benefits
would seem to be code reuse. However I am not sure where to draw the line. I
have the following section of code:
if (ev.locationList != null)
{
//isListNull = true ensures that we do not recheck the list
every time we add a new item
bool isListNull = false;
|
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...
| |
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...
|
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,...
|
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
|
by: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own....
Now, this would greatly impact the work of software developers. The idea...
|
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();...
|
by: TSSRALBI |
last post by:
Hello
I'm a network technician in training and I need your help.
I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs.
The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols.
I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
| |
by: 6302768590 |
last post by:
Hai team
i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
|
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
| |