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 9299543
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 18, 20262026-06-18T22:35:07+00:00 2026-06-18T22:35:07+00:00

I’m working on reorganizing a .NET solution with 65 different projects, this includes multiple

  • 0

I’m working on reorganizing a .NET solution with 65 different projects, this includes multiple web projects for different products.

I’m looking at doing something like this…

Company.Domain
Company.Repository
Company.Services (where services = business logic)
...etc. etc.

My question is, what are your thoughts on the Company.Services project getting too big with many nested namespaces { i .e. Workflow, SharePoint, Clinical, etc. etc. }

Would it be better to have a different assembly for each service area?

Company.Services.Workflow
Company.Services.SharePoint
Company.Services.Clinical
... etc. etc.

My thoughts are that breaking each service layer out into its own assembly would create an excessive amount of projects. But I also have concerns that having one services assembly could get pretty big.

  • 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-06-18T22:35:09+00:00Added an answer on June 18, 2026 at 10:35 pm

    First of all, splitting up the project into more assemblies increases compile time and maintenance efforts. So don’t just split because you can do it. Split where you want to isolate concepts.

    Then again, splitting a project into assemblies helps to understand and reify the dependencies. For example you can’t have circular dependencies between projects, whereas nothing stops you from having circular dependencies within a single project. Those circular dependencies can be an indication of a flaw in your design.

    Another thing: if you split, try to think how you split – “vertically” or “horizontally”. Consider an application consisting of multiple sub-domains like Sales, CRM and ERP.

    Vertically: isolate layers into assemblies. Having all repositories in one assembly, all domain logic in another and all services in a third assembly certainly helps to understand dependencies as I mentioned above. But this means that you spread every isolated domain in your system across all assemblies. Ie. every assembly contains logic needed by Sales, CRM, ERP.

    Horizontally: isolate domains/domain-parts into assemblies. E.g. put everything related to sales in one assembly, everything related to CRM in another, everything related to ERP in a third etc. Concepts that all those assemblies need or that need to be shared across them are moved to infrastructure projects. This approach helps to isolate functionality.

    You can combine both strategies and that’s what you’re suggesting:

    Company.Services.Workflow
    Company.Services.SharePoint
    Company.Services.Clinical
    

    “Company.Services” is a vertical split, whereas I think “.Workflow”, “.SharePoint”, “.Clinical” are horizontal splits. That can easily lead to a massive amount of projects, basically NxM, where N is the number of layers and M is the number of domains. I’d be careful with that.

    Personally I like to split vertically, isolating (sub-)domain into projects, and to move infrastructure/shared concepts to their own projects.

    This approach supports reuse and configurable product lines where different clients receive different configurations of the project.

    The infrastructure projects can be reused by other projects, which is nice. And the sub-domain projects can be combined as needed to form a full application. For example, only deploy the CRM module if the application needs CRM functionality.

    A concrete example, I have a larger project consisting of:

    Infrastructure:

    • Company.Commons
    • Company.Domain
    • Company.Messaging
    • Company.Persistence
    • Company.Web.Mvc
    • and so on

    Domains:

    • Company.Sales
    • Comapny.CRM
    • Company.ERP
    • Company.POS
    • etc.

    NB: There can be dependencies between domain projects, e.g. the Sales module uses things from CRM.

    As a final note: again, don’t split for spitting’s sake. It makes most sense if the project is large enough and you have certain requirements (reusability, configurability…).

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

Sidebar

Related Questions

I'm parsing an RSS feed that has an ’ in it. SimpleXML turns this
I have a string like this: La Torre Eiffel paragonata all’Everest What PHP function
link Im having trouble converting the html entites into html characters, (&# 8217;) i
That's pretty much it. I'm using Nokogiri to scrape a web page what has
For some reason, after submitting a string like this Jack’s Spindle from a text
this is what i have right now Drawing an RSS feed into the php,
I have this code to decode numeric html entities to the UTF8 equivalent character.
I'm interested in microtypography issues on the web. I want a tool to fix:
I am doing a simple coin flipping experiment for class that involves flipping a
I have this code: - (void)parser:(NSXMLParser *)parser foundCDATA:(NSData *)CDATABlock { NSString *someString = [[NSString

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.