Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C#
  4. How to naming a namespace in custom project?

How to naming a namespace in custom project?

Scheduled Pinned Locked Moved C#
designtutorialquestion
3 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • C Offline
    C Offline
    calendarw
    wrote on last edited by
    #1

    Hi, I have already read some guideline for naming, but I want to know how to naming a namespace if the project is custom for other company? Normally, the guideline prefer the following practice: CompanyName.TechnologyName[.Feature][.Design] But if I am working on CompanyA and its product is ProductA, I need to customize for CompanyB, which one is prefer? CompanyB.ProductA or CompanyA.ProductA.CompanyB or any suggestion? Thanks.

    C 1 Reply Last reply
    0
    • C calendarw

      Hi, I have already read some guideline for naming, but I want to know how to naming a namespace if the project is custom for other company? Normally, the guideline prefer the following practice: CompanyName.TechnologyName[.Feature][.Design] But if I am working on CompanyA and its product is ProductA, I need to customize for CompanyB, which one is prefer? CompanyB.ProductA or CompanyA.ProductA.CompanyB or any suggestion? Thanks.

      C Offline
      C Offline
      Christian Graus
      wrote on last edited by
      #2

      Whatever you like, I mean, it;s all going to work, right ? I can't imagine that companyB wants to see CompanyA in their project tho.

      Christian Graus Driven to the arms of OSX by Vista.

      C 1 Reply Last reply
      0
      • C Christian Graus

        Whatever you like, I mean, it;s all going to work, right ? I can't imagine that companyB wants to see CompanyA in their project tho.

        Christian Graus Driven to the arms of OSX by Vista.

        C Offline
        C Offline
        calendarw
        wrote on last edited by
        #3

        but if CompanyA is software house, CompanyB is the client and will not see that namespace, is it a good practice to keep CompanyB in the namespace to indicate the customized project is for CompanyB?

        1 Reply Last reply
        0
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        • Login

        • Don't have an account? Register

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • World
        • Users
        • Groups