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

  • Home
  • SEARCH
  • 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 48587
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 10, 20262026-05-10T16:18:12+00:00 2026-05-10T16:18:12+00:00

This is a follow-up to the question: Should the folders in a solution match

  • 0

This is a follow-up to the question:

Should the folders in a solution match the namespace?

The consensus on that question was a qualified ‘yes’: that is, folders == namespaces, generally, but not slavishly (the way java requires).

Indeed, that’s how I set up projects.

But setting up source control has made me hesitate about my current folder structure. As with the .NET Framework, the namespaces in my project do not always match the deployed units one-to-one. Say you have

 lib             -> lib.dll lib.data        -> lib.dll lib.ecom        -> lib.ecom.dll lib.ecom.paypal -> lib.ecom.paypal.dll 

In other words, child namespaces may or may not ship with the parent.

So are the namespaces that deploy together grouped in any way?

By the way, I don’t use VS or NAnt — just good old fashioned build batches.

  • 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. 2026-05-10T16:18:12+00:00Added an answer on May 10, 2026 at 4:18 pm

    I usually don’t really think about this and just do ‘what feels right’ but usually I end up using names that fit the following strategy fairly well.

    I’ll use the highest common namespace in the tree for the .dll name just like you seem to be doing;

    with lib and lib.data this is lib so the dll is called lib. With lib.ecom and lib.ecom.paypal this is lib.ecom so the dll is called ecom.

    In some cases you need to think about things a bit more for example we have the following namespaces (warning, simplistic example coming up) and we want to group them in two dll’s

    myapp.view myapp.presentation  myapp.model myapp.dataaccess 

    we can’t use myapp because then we would have two myapp assemblies. In this case I use the name of the namespace that is most appropriate. The first might be called myapp.presentation and the second myapp.model if those namespaces are the most important.

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

Sidebar

Ask A Question

Stats

  • Questions 83k
  • Answers 83k
  • Best Answers 0
  • User 1
  • Popular
  • Answers
  • Editorial Team

    How to approach applying for a job at a company ...

    • 7 Answers
  • Editorial Team

    How to handle personal stress caused by utterly incompetent and ...

    • 5 Answers
  • Editorial Team

    What is a programmer’s life like?

    • 5 Answers
  • Editorial Team
    Editorial Team added an answer Indeed, the general principle of syntax highlighting are using the… May 11, 2026 at 4:52 pm
  • Editorial Team
    Editorial Team added an answer Given your tags, you want to accomplish this in a… May 11, 2026 at 4:52 pm
  • Editorial Team
    Editorial Team added an answer Could it be that you don't actually have a frame… May 11, 2026 at 4:52 pm

Related Questions

This is a follow up to: this question Basically, I have a server loop
This is a follow-up to a previous question I had about interfaces. I received
This is a follow up to this question , where I didn't get any
This is a follow-up to my question from yesterday . I have Scott Meyers'

Trending Tags

analytics british company computer developers django employee employer english facebook french google interview javascript language life php programmer programs salary

Top Members

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.