CSLA 2.0 and RESTful web service

CSLA 2.0 and RESTful web service

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


maur33n posted on Friday, June 06, 2008

I am investigating REST as an opportunity to enable developers to get and post data to my software.

My question is should I wait and learn .NET 3.5 to do that (my reading tells me there is RESTful stuff in that version), or should I continue to use .NET 2. 0 and CSLA 2.0? 

Also, more specifically, are there any guidelines or links anyone can point to to get me started so I can make a decision about what sort of web service architecture to provide with CSLA (I have the book and I see it uses other web service architectures that require a little more work on the developer/consumer end)?  I would love to just be able to provide some easy uri's to the developer, give him/her self-describing xml, and be done with it. 

Thanks.

P.S. one of the reasons I wanted to stick to 2.0 is because I have so much other stuff to learn and I am hoping to get my software to run on Mono soon.

cliffordru replied on Monday, June 16, 2008

I am not sure about compatibility with Mono, but .Net 3.5 has added very nice support for REST in WPF.  Using WPF with REST as your service interface with CSLA business objects behind your service could provide a good solution for what you are trying to accomplish.  Take a look at Rocky's ebook on Csla 3.0 it has a lot of good info on WPF which you can apply to WPF 3.5 and its support for REST.

Copyright (c) Marimer LLC