c# - Is it better to have more number of dll's -
i'm designing application. found make more modularize, number of dll's getting increased. better design have more number of dll's?
regards arundhaj
this common tricky question. don't overly fragmented dlls, makes quite hard (imo) track , deploy. prefer limited number of more chunky dlls.
in addition project/dll management, reduces amount of work "fusion" has when loading things.
you should aim reusable components, don't go mad making them too granular - consider "system.windows.forms.dll", example; quite lot in there!
vertically, obvious ones keep separate ui / repository / logic concerns; horizontally tend have 1 column of dlls per logical area - can still compartmentalize namespaces, don't have keep dll just 1 thing.
Comments
Post a Comment