On 5/27/2011 1:14 AM, pyog wrote:
> In WCF service layer, How can I call BLL methods?
>
The BLL would have to be sitting behind the WCF service hosted by the
WCF service.
Client-- has reference to Service layer classlib project.
Service Layer -- classlib project Service Layer that has reference to
WCF service to call upon the BLL methods by calling methods on IService
that points to BLL methods behind the WCF service.
WCF -- has refernece to classlib project Business Logic Layer -- WCF
would be hosting the BLL.
BLL -- has reference to classlib project Data Access Layer
DAL.
DAL
The first try/catch example would be what your Service Layer would be
like in making calls to the WCF service.
Part-4 shows you how to create the Service Layer project. It's not about
the MVP, although you could watch all the shows of MVP. For you, it's
about how can you take the Service Layer and implement it to be called
by the your WCF client that in turn calls methods on the WCF service
Interface.