CSLA BO on WCF service side

CSLA BO on WCF service side

Old forum URL: forums.lhotka.net/forums/t/5909.aspx


k2so posted on Monday, December 01, 2008

Using CSLA 3.5 for a while now and I am fairly new to WCF and how CSLA supports wcf, so this might be trivial to some of you guys, but I would like make sure before proceeding to implementation.


I am envisioning a structure, where the BOs would reside on the service side. And expose the BOs as DataContract to the clients, thru net.tcp binding.

1. is this possible, ie. without the clients having the full implementation of the BOs, but instead only having a contract interface of the BOs, on their sides?

2. is it possible to verify the business rules from the client side?

or any idea/comments would help, thanks!

RockfordLhotka replied on Monday, December 01, 2008

You should read chapter 11 of the 2005 book or chapter 21 of the 2008 book, as they discuss how to build a service interface on top of business objects. I think I did a better job of describing the relevant issues in the 2008 book, but both chapters follow the same philosophy.

k2so replied on Monday, December 01, 2008

thanks.
is there a link to where the 2008 book may be purchased?

RockfordLhotka replied on Monday, December 01, 2008

Right now you can buy the alpha book in PDF form from www.apress.com. Or you can pre-order at www.amazon.com and the paper version should be out within a couple weeks.

 

Rocky

 

 

From: k2so [mailto:cslanet@lhotka.net]
Sent: Monday, December 01, 2008 3:55 PM
To: rocky@lhotka.net
Subject: Re: [CSLA .NET] CSLA BO on WCF service side

 

thanks.
is there a link to where the 2008 book may be purchased?


Copyright (c) Marimer LLC