HyperMedia

Rest Agent uses hypermedia

As I alluded to in my first post, REST clients really should be driven by hypermedia.  So how can our RestAgent class access this hypermedia and its links.  Ideally, given a single root URI, I would like to be able to do: Before I talk about the magic that is going on under the covers here, […]

StackOverflow

The StackOverflow question that couldn’t stay open

This http://stackoverflow.com/questions/3285704/why-does-rest-exist is the question that I want to give an answer to.  I am answering here because people keep closing it.  Sorry, the post refers directly to issues raised in the question and so won’t make much sense without reading the question first.  I would even recommend reading version of the question prior to editing as […]

Rest Agent

Rest Agent – An introduction

You might say I’m a bit of a fan of the REST architectural style. Let me provide a little background to clarify why REST is important to me, so you can better understand my underlying objectives.  If we have similar objective then maybe this series of posts will be of interest to you. I write […]

OData

World’s simplest OData service

I get frustrated sometime trying to play around with new Microsoft technologies.  The process usually involves;  install this CTP, apply this hotfix, create a project using this template, and this item using another template.  By then end I may have something working but I don’t know what magic happened behind the scenes. Here is a […]

Software Testing

But can you test it?

Testing code that uses HttpWebRequest directly, is a real pain.  Usually what I have seen people do is create a service interface that hides the real http client behind the interface and then create fake service implementations to actually run their tests against.  The annoying part about that solution is that Http client interfaces tend […]

CQRS Archetecture

FOR XML PATH and CQRS

In a recent twitter exchange with Colin Jack I claimed that SELECT {…} FROM […] FOR XML PATH() is pretty much all you need for providing the Reporting side of CQRS.  Ok, so maybe I overstated it a tad, but it is a valuable technique.  He suggested I blog about it, so I figured even if people […]

WOA

Woe is me, the WOA unmanifesto

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 that is in production today? […]

HttpContext

HttpContent instead of streams

I think the HttpContent class is my favourite part of this library.  This class acts as a container for the content that you received or are about to send. Handling returned content When you do make an http request with this library, the body of the response is wrapped inside an HttpContent object. So, when […]

footer bg

Let's Talk About Your Project

Ready to take your next development project to the next level? Click here to see how Bizcoder can bring your vision to life.

Insights

Case Studies

Copyright @ 2024 Kaynes