Click here to Skip to main content
15,905,679 members
Home / Discussions / C#
   

C#

 
GeneralRe: Why Are Projects Organized by Class Type Instead of Business Purpose? Pin
OMVB8-Aug-13 5:29
OMVB8-Aug-13 5:29 
GeneralRe: Why Are Projects Organized by Class Type Instead of Business Purpose? Pin
OriginalGriff8-Aug-13 5:37
mveOriginalGriff8-Aug-13 5:37 
AnswerRe: Why Are Projects Organized by Class Type Instead of Business Purpose? Pin
jschell8-Aug-13 7:51
jschell8-Aug-13 7:51 
GeneralRe: Why Are Projects Organized by Class Type Instead of Business Purpose? Pin
OMVB8-Aug-13 8:33
OMVB8-Aug-13 8:33 
GeneralRe: Why Are Projects Organized by Class Type Instead of Business Purpose? Pin
Pete O'Hanlon8-Aug-13 8:38
mvePete O'Hanlon8-Aug-13 8:38 
GeneralRe: Why Are Projects Organized by Class Type Instead of Business Purpose? Pin
OMVB8-Aug-13 8:51
OMVB8-Aug-13 8:51 
GeneralRe: Why Are Projects Organized by Class Type Instead of Business Purpose? Pin
Pete O'Hanlon8-Aug-13 8:59
mvePete O'Hanlon8-Aug-13 8:59 
GeneralRe: Why Are Projects Organized by Class Type Instead of Business Purpose? Pin
Keld Ølykke9-Aug-13 23:15
Keld Ølykke9-Aug-13 23:15 
Hi,


A) In C# namespaces are purely logical sorting. So are the folders and files structure. This is all subjective. Make sure your API and structure is consistent so people know where to find stuff. That is it.

B) A project groups files, folders and resources and produces an assemblies/executable. This is where the tools introduce cons and pros regarding code structure. As an example what impact does visual studio and testing tools have on your code structure? (e.g. code generation when making a form introduce a certain file structure).

C) Your products need to be distributed, integrated, re-used, maintained/updated, etc. All this is about layering and splitting and thinking about dependencies. How well can you replace your logging functionality, add a new product platform or change a database dependency... and how do you keep the cost of making, testing and deploying the next feature as low as possible?

When you have a strategy for B) and C) you can go back to A) and make a logical decision. ½ a year later it might be that you would have preferred another logical decision, but at that time you stick with the old decision to avoid introducing new confusion. However, B) or C) might force you into re-ordering the code structure.

Kind Regards,

Keld Ølykke
GeneralRe: Why Are Projects Organized by Class Type Instead of Business Purpose? Pin
jschell10-Aug-13 11:09
jschell10-Aug-13 11:09 
GeneralRe: Why Are Projects Organized by Class Type Instead of Business Purpose? Pin
OMVB12-Aug-13 4:38
OMVB12-Aug-13 4:38 
AnswerRe: Why Are Projects Organized by Class Type Instead of Business Purpose? Pin
Eddy Vluggen8-Aug-13 9:06
professionalEddy Vluggen8-Aug-13 9:06 
Questionscanning my network Pin
Member 101954878-Aug-13 1:37
Member 101954878-Aug-13 1:37 
AnswerRe: scanning my network Pin
Simon_Whale8-Aug-13 1:43
Simon_Whale8-Aug-13 1:43 
AnswerRe: scanning my network Pin
OriginalGriff8-Aug-13 5:24
mveOriginalGriff8-Aug-13 5:24 
GeneralRe: scanning my network Pin
Mycroft Holmes8-Aug-13 13:53
professionalMycroft Holmes8-Aug-13 13:53 
Generaldeveloping Client / Server application C#: Create code Client 2 ? Pin
hajajj 27-Aug-13 5:23
hajajj 27-Aug-13 5:23 
GeneralRe: developing Client / Server application C#: Create code Client 2 ? Pin
Richard MacCutchan7-Aug-13 7:21
mveRichard MacCutchan7-Aug-13 7:21 
GeneralRe: developing Client / Server application C#: Create code Client 2 ? Pin
hajajj 27-Aug-13 12:57
hajajj 27-Aug-13 12:57 
GeneralRe: developing Client / Server application C#: Create code Client 2 ? Pin
Pete O'Hanlon7-Aug-13 13:49
mvePete O'Hanlon7-Aug-13 13:49 
GeneralRe: developing Client / Server application C#: Create code Client 2 ? Pin
hajajj 28-Aug-13 0:45
hajajj 28-Aug-13 0:45 
GeneralRe: developing Client / Server application C#: Create code Client 2 ? Pin
Pete O'Hanlon8-Aug-13 0:54
mvePete O'Hanlon8-Aug-13 0:54 
GeneralRe: developing Client / Server application C#: Create code Client 2 ? Pin
Simon_Whale8-Aug-13 1:42
Simon_Whale8-Aug-13 1:42 
GeneralRe: developing Client / Server application C#: Create code Client 2 ? Pin
hajajj 28-Aug-13 1:49
hajajj 28-Aug-13 1:49 
QuestionRe: developing Client / Server application C#: Create code Client 2 ? Pin
Eddy Vluggen8-Aug-13 9:12
professionalEddy Vluggen8-Aug-13 9:12 
GeneralRe: developing Client / Server application C#: Create code Client 2 ? Pin
Jean A Brandelero8-Aug-13 10:41
Jean A Brandelero8-Aug-13 10:41 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.