I want to develop an enterprise app that includes a WindowsForms presentation layer, middle-tier components for business logic and data access, and a MsSQL Server database. Middle-tier components should contain some business objects and will be called from presentation layer using .NET Remoting. Whitch is the best way (and why) to reference these business objects from presentation layer?
- A) Create class library project, implementing business objects. Reference this project from presentation layer and middle-tier layer.
- B) Create interface library project defining business objects. Create class library project implementing interfaces. Reference class library project from middle-tier layer. Reference interface library project from presentation layer.
- C) Create separate class library projects for middle-tier and presentation layer. Reference corresponding project from presentation layer.