This started as a comment on the blog post here, but it got too long.
I have two questions for Dion and a few comments. 1) Have you read (not just skimmed a few times) Roy’s dissertation on REST? 2) Have you written both a REST service and a REST client [...]
Posts tagged REST
Woe is me, the WOA unmanifesto
Oh Data
Since the recent PDC09 I have been obsessing over OData and I need to write this post just to get it out of my head. Microsoft has made it obvious that they are taking this protocol very seriously by integrating it into Sharepoint, Visual Studio, RIA Services, PowerPivot, and I expect to see it in [...]
WCF REST Starter Kit Preview 2
I have been looking thought the latest release of the WCF REST Starter Kit and there are some interesting things there. Especially the new HttpClient class in the Microsoft.Http namespace. I will not talk about the server side of things because I really don’t have anything nice to say and until I have some constructive [...]
The mystery of the trailing slash and the relative url
I had heard conflicting rumours about the significance of the trailing slash, so I decided to go googling. If you explore the first few hits you will find all sorts of discussions about cool urls, the impact on SEO, the performance benefits of avoiding server redirects, amongst other stuff. However, I found nothing that seemed [...]
Gems from rest-discuss
Just catching up on some posts in the Yahoo group rest-discuss and there is some great wisdom in there.
It is the hypermedia constraint that makes REST as a stylegreater than the sum of its constraints. It is the focal pointand amplifier of all the constraints. – Aristotle Pagaltzis
Well-designed URIs are great, but they don’t influence [...]
How to write a document describing a REST Api
Roy Fielding wrote this post recently on the proliferation of APIs that claim to be REST but are breaking some of the fundamental constraints of a REST style architecture.
I was most struck by what Roy seems to be saying is required to document a REST Api.
A description of the media types that are used throughout [...]
The hypermedia constraint?
At the recent Pnp Summit, during a presentation on Ado.Net Data Services, I asked Scott Hanselman whether it supported the REST “hypermedia constraint”, to which he responded by asking me to clarify my question. At that point, and at several other times during the conference I realized that although I think I grok the concept, [...]
The ultimate WCF Service contract
[ServiceContract]
public interface IRESTService {
[OperationContract]
[WebInvoke(Method = "GET",UriTemplate = "*")]
Stream Get();
[OperationContract]
[WebInvoke(Method = "POST", UriTemplate = "*")]
Stream Post(Stream body);
[OperationContract]
[WebInvoke(Method = "PUT", UriTemplate = "*")]
Stream Put(Stream body);
[OperationContract]
[WebInvoke(Method = "DELETE", UriTemplate = "*")]
Stream Delete();
}
REST consulting
Over the past year we have been working on the next generation of our product. After 10 years of fat client development we are rebuilding using REST as the foundation of our application architecture.
We are fortunate in that our existing applications map very nicely to some of the principles such as “uniform interface” and “addressability”.
However, [...]
What is needed to build distributed applications.
Tim Ewald responds to Don’s question about the validity of the the four tenets. Don asked for input…
This quote really struck home:
And finally, I’m not sure I want to build on a layer designed to factor HTTP in on top of a layer that was designed to factor it out.
Considering that I am using [...]
Posts