Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Class design question...
Message
De
12/10/2002 20:15:29
 
 
À
Tous
Information générale
Forum:
ASP.NET
Catégorie:
Autre
Titre:
Class design question...
Divers
Thread ID:
00710694
Message ID:
00710694
Vues:
54
This is one of those 'where does the code go' type questions...

I have a WinForm app with many classes that I've built. A customer class, a user profile class, a deduction class, etc. Each class has a bunch of properties related to that class, some methods, etc.

At the moment, the classes are directly part of the main project. (The top of each class file has a namespace referring to the main application name).

My question is whether it makes more sense to build each class as a separate DLL/project, and then add each class as a reference in my 'main' WinForm app....or to just do what I'm currently doing (putting the class code right into the project).

I don't know if it's just a 'packaging' and file distribution-type decision, or if there's more to it than that.

Most of these classes would never be used by another application [our application is a single commercial product], though a small handful might down the road.

Thoughts?

Thanks,
Kevin
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform