G
Guest
Hello All:
I have a solution with four projects (UI, Business, Database and Messaging).
UI has references to Business and Messaging; Business has a refernce to
Database; Messaging has a reference to Business. UI handles the
presentation; Business provides Presentation with an abstract layer through
which to retrieve data; Database handles database calls. Messaging handles
calls to a third-party system; it is similar to Database.
I do not have the option of combining Databbase and Messaging; I need to
retain this architecture (client requirement).
What I want to do is provide a way for Business to call Messaging so that I
can continue to abstract how or where data comes from. (UI doesn't need to
know where information comes from.)
It was suggested in a previous post that I create a third project (ref'd by
both Business and Messaging) that defines abstact classes and allow the
Business project to implement these.
Does anyone know of an online example showing how to do this? Could someone
provide a simple example of how this works or what it would look like? I
don't have a lot of time (maybe a week) and have limited experience
implementing such solutions.
TIA,
I have a solution with four projects (UI, Business, Database and Messaging).
UI has references to Business and Messaging; Business has a refernce to
Database; Messaging has a reference to Business. UI handles the
presentation; Business provides Presentation with an abstract layer through
which to retrieve data; Database handles database calls. Messaging handles
calls to a third-party system; it is similar to Database.
I do not have the option of combining Databbase and Messaging; I need to
retain this architecture (client requirement).
What I want to do is provide a way for Business to call Messaging so that I
can continue to abstract how or where data comes from. (UI doesn't need to
know where information comes from.)
It was suggested in a previous post that I create a third project (ref'd by
both Business and Messaging) that defines abstact classes and allow the
Business project to implement these.
Does anyone know of an online example showing how to do this? Could someone
provide a simple example of how this works or what it would look like? I
don't have a lot of time (maybe a week) and have limited experience
implementing such solutions.
TIA,