Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Interfaces.. Finally. Good Practice of Location.
Message
From
19/01/2010 11:19:24
 
General information
Forum:
ASP.NET
Category:
Forms
Environment versions
Environment:
C# 2.0
Miscellaneous
Thread ID:
01444753
Message ID:
01444764
Views:
40
>>>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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform