Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 499933
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 13, 20262026-05-13T06:02:09+00:00 2026-05-13T06:02:09+00:00

I have sort of a philosophical question, which also need to consider the performance

  • 0

I have sort of a philosophical question, which also need to consider the performance impact.

We are designing a new system with many sub-services that are not related to each other, yet, some may use each other (We are using unity to avoid any decoupling).

My main question is:

  • Should we break them into separate DLL’s, where each service has his own dll (like product.services.serice1.dll,product.services.serice2.dll, etc.), or we should consolidate all those services into a single DLL, with difference name spaces, to seperate between them.
    It term of performance, is there any difference between the two? also, what is the most “Acceptable” standard that being endorsed by the community (and Microsoft)?

Thanks

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-13T06:02:09+00:00Added an answer on May 13, 2026 at 6:02 am

    If your services are meant to be used together, group them in the same assembly. I’ve seen systems with zillions dll loaded (and solutions with zillions projects in it) with not a single instance where it was needed to cherry pick one assembly over any other. That does not preclude you from having decoupling and sane separations in namespaces.

    As far as performance go, there’s no real impact wrt number of dll’s loaded (if you stay sane and don’t go for thousands of them), but the impact is HUGE in developement if you stick with the default behavior of VS who loves to copy every reference in every project’s bin/debug directory. On middle to big solutions (1000’s of classes) the build process will be a lot longer and more frustrating.

    Think of an assembly as a unit of deployment. If stuff is meant to be deployed together, stuff your stuff in the same assembly.

    As a warning on how frustrating a project split in too many assemblies can be, look at the NUnit distribution. Over 30 different dll’s, some you have to reference to be able to have unit tests, some you don’t and you end up hunting for the types you need.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I guess this is sort of a philosophical question, but I have some code
I'm teaching myself Scala and I have sort of a philosophical question. Is pattern
So in nokia we can have sort of Microsoft Silverlight installed to system. We
I have a sort of plug-in model in which various complex user controls are
I have some sort of recursive function, but I need to parse a string,
I am new to both MVC and Entity Framework and I have a question
I have sort of a funky question (that I hope hasn't been asked and
I have a sort function which was working fine but then I tried to
I have sort of an imagemap, which is basically a lot of absolutely positioned
I have sort of a simple question. I am writing an Objective-C program with

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.