Programming with N-tier
What are the general guideline today for structuring a 3-tier application in Visual Studio 2010 with C#?
- Create blank Solution
- Crea开发者_JAVA技巧te a class library to hold data sets
- Create a class library to hold data entity
- Create a class library to hold the business logic
- Create a class library to hold user interface (WPF or windows forms)
Is this correct?
There a lot of right ways, and based on the application it may be perfect or not good.
Your structure seams good.
But you may need to check a book like this:
patterns & practices Application Architecture Guide 2.0
精彩评论