Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Interfaces.. Finally. Good Practice of Location.
Message
De
19/01/2010 11:19:24
 
 
Information générale
Forum:
ASP.NET
Catégorie:
Formulaires
Versions des environnements
Environment:
C# 2.0
Divers
Thread ID:
01444753
Message ID:
01444764
Vues:
39
>>>Just one more little thing to clarify on the topic of Interfaces. I know now that I need to keep them in a separate project. And then reference the assembly of this project in those classes where the interfaces are used.
>>>
>>>So I will create a project MyInterfaces in the MyCompanyFramework Solution Folder.
>>>
>>>But my question is, is it a good practice to create a separate project for Interfaces of different layers of the application? E.g. UIFormsInterfaces, BIZInterfaces, DALInterfaces. Or simply keep all interfaces in one project?
>>>
>>>Again, thank you for any suggestions.
>>
>>
>>I do not think that each set of interfaces have to go in a separate project/ assembly
>>
>>The Form interfaces can go in the project that contains the form (base) classes
>>
>>I would not keep all interfaces in one project
>
>Gregory,
>
>First, thank you for your suggestion. But it is a little confusing. In the first sentence you say "not to put each set of interfaces in a separate project" And then you say "would not keep all interfaces in one project". These are (IMO) to contradicting statements, no?


Yes, seems contradicting. Should have structured my answer better


The last answer was answering your last question (Or simply keep all interfaces in one project?)
Gregory
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform