Hornet Dear Bernard

Dear, Dear Bernard

Posts Tagged ‘rest

How to handle the trailing slash in a WCF HTTP Service – Ron Jacobs – Site Home – MSDN Blogs

leave a comment »

How to handle the trailing slash in a WCF HTTP Service – Ron Jacobs – Site Home – MSDN Blogs.

You never know when users may add that trailing slash on an enrolment URL…

Written by bernardhornet

June 16, 2011 at 6:13 am

Posted in Uncategorized

Tagged with ,

REST In Practice

leave a comment »

Another book which sounds very interesting. Contains an example of doing Enterprise integration with REST and introduces the idea of decoupled workflow over REST.
REST in Practice: Hypermedia and Systems Architecture

Written by bernardhornet

March 16, 2011 at 7:48 pm

Posted in Uncategorized

Tagged with , ,

Exposing Domain Services To Other Clients

leave a comment »

Great how to on exposing RIA services as SOAP or RESTful JSON by ticking a box.

“As mentioned in Part 1 of this article series, WCF RIA Services only supports code generating the client proxy code in Silverlight projects. However, that does not mean you cannot call your domain services from other clients. If I were not going to have a Silverlight client application as my primary client application, I would not bother defining my services as domain services. I would instead define normal WCF services or possibly WCF Data Services. To me, most of the benefit of WCF RIA Services is in the code generated client proxy code and client side framework. The validation support, the security model, the service error handling, and the deferred query execution are the things I think are most compelling about using RIA Services.

But If I do have a Silverlight client and use RIA Services, I probably don’t want to have to implement a separate set of services for my non-Silverlight clients. The good news is, you don’t have to. It is easy to expose additional endpoints from your domain services that can be consumed by other clients. In this article, I’ll show you how to enable those endpoints, and will show what is involved in consuming your RIA domain services from non-Silverlight clients. Your options include exposing a read-only OData service endpoint, a full functionality SOAP endpoint compatible with the basicHttpBinding in WCF, or a full functionality REST JSON encoded endpoint.”

Full Article….

Written by bernardhornet

March 16, 2011 at 9:05 am

Posted in Uncategorized

Tagged with ,

How To: Run a .Net 4.0 WCF REST Service in IIS6

leave a comment »

Written by bernardhornet

March 8, 2011 at 8:40 am

Posted in Uncategorized

Tagged with , , ,