Assembly Sharing

A have a design question. I wrote a couple of C # applications. Most of these applications have their own sql or access database, but then they also use a common database, but they are completely different applications that have their own responsibilities in their own business domains.

Some people I spoke to believe in the following: Applications must be silos. They should not separate anything. No sharing of assemblies, components, or databases.

I need some advice on this. When it is acceptable to share, or it is never a good idea.

thank

+3
source share
6 answers

, -... , , , .

, , (.. "" ), ( ). , Project Project Project B, , Project B Project A, . SOA; - WCF, public mex/wsdl API ( ).

, , .

+2

, "dll"? ...

, ?

+1

, .

, , . , , , , , "t " ".

, , - , .NET. , , .

, , . , , , , , , . , , , .

+1

( , .) - , . : , ( ), , , . , .

0

dll - , . , , .

. , , , . dll hell. .NET - DLL - . , , DLL.

. , .

EDIT:

If you mean teams working in silos and not sharing the code, then Dr. Jokepu is right: joint development of efforts between individuals and teams is a definite “necessity”.

0
source

Sharing assemblies in applications makes sense only from a theoretical point of view. In practice, this brings a whole bunch of problems. Avoid sharing assemblies; locally host all assemblies.

0
source

Source: https://habr.com/ru/post/1698512/


All Articles