Click here to Skip to main content
Sign Up to vote bad
good
See more: C#ASP.NET
Hi ,
 
we planning to design a project which has 5 modules.As an upcoming developer,i don't know how to design a project and how exactly it happens in big scale companies.
 
I would like to use many no. of dll's with few classes.Is this better way of designing or shall i go with few dll with more classes.
 
One dll with many classes or more dll's with fewer classes,which performs better.

Suggest me,books or pdf to learn real world project design scenario.
 
Please help me..
 
Thanking you all.
 
S.V.Hyd
Posted 24 Sep '11 - 1:51


2 solutions

That depends on what you want to do with your dll's.
Let's say you create a custom control for your project and want to re-use it in different projects. In this case you would create a dll which contains your custom control. Now in your other projects you simply have to reference your dll and you're set to go. If you didn't make a dll out of your control you'd have to reference the entire different project, which does not seem like a good idea.
So basically the amount of dll's you need depends upon how much of your code you want to use in other projects.
 
Here are some articles on good design[^]. The first five are all about SOLID principles. The remainder is about how to structure your dll's (or at least one way to do it). Hope it helps.
  Permalink  
Comments
Mehdi Gholam - 24 Sep '11 - 11:48
My 5!
Naerling - 24 Sep '11 - 11:51
Thanks :)
Usually, classes are grouped by functionality or purpose. Many times a single dll will suffice. The only time I have multiple dlls is if the code is a 3rd party library or if the code is shared among several assemblies.
  Permalink  

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
Your Filters
Interested
Ignored
     
0 Arun Vasu 339
1 OriginalGriff 320
2 Sergey Alexandrovich Kryukov 315
3 Tadit Dash 221
4 CPallini 178
0 Sergey Alexandrovich Kryukov 9,955
1 OriginalGriff 7,589
2 CPallini 4,028
3 Rohan Leuva 3,422
4 Maciej Los 2,949


Advertise | Privacy | Mobile
Web01 | 2.6.130523.1 | Last Updated 24 Sep 2011
Copyright © CodeProject, 1999-2013
All Rights Reserved. Terms of Use
Layout: fixed | fluid