Recent Posts

  • Hypermedia Client Maturity Model

    There have been a number of attempts to define a maturity model for building RESTful services.  The idea of the maturity model is that is gives an indication how closely the service complies with the constraints of REST and hopefully demonstrates the trade offs to be expected when choosing to not follow a particular constraint. Continue reading...

  • A Tekpub API

    Rob Conery asked for some feedback on an API he has been building for Tekpub.  I know that Rob asked for URLs, and URLs he shall get, but I like to get a better understanding of the relationships between my resources before I start minting URLs for my service.  Continue reading...

  • HttpClient, it lives, and it is glorious.

    Along with the latest release of WCF Web API there was a updated version of HTTPClient .  With it came a bunch of breaking changes, most notably, there are no more Sync methods for doing HTTP requests.  This is a change that brings consistency with Microsoft’s new policy that all APIs that take more than 30ms (or is it 50ms?) should be async requests.  Yes, it’s a bit annoying to get used to, but I believe in the long run it will be worth it. Continue reading...

  • How to GET aHEAD with MessageHandlers!

    It appears I need to go on vacation more often.  I seem to get more chance to experiment.  One of my first discussions about RACK was with Mike Kelly where he suggested a simple solution to implementing HEAD across an API.  Simply use a RACK application to convert a HEAD request to a GET and then when the response comes back, drop the body.  Seeing as I am on a roll implementing obscure HTTP methods using HttpMessageHandler I decided to give it a try. Continue reading...

  • HTTP Trace was never so easy

    So there I was, sitting at my PC hunting some bugs when up pops John Sheehan on IM and starts asking me questions about OPTIONS and TRACE http methods.  I pretty much always have the HTTP spec close at hand so I think I was able to at least fake some prior knowledge in attempting to answer his questions.  As the discussion continued it started to pique my interest in TRACE.  I have been meaning to look into this this obscure HTTP method for some time but have just never got around to it. Continue reading...

  • The world’s simplest WCF Web API

    We all have to start somewhere, and I like to start with the simplest possible thing that works.  So I created a Console application and used NuGet to pull in the WebAPI.All package which contains all my dependencies.[1] Continue reading...

  • Web APIs: Don’t be a victim of your success.

    It seems everyone these days wants an API for their web application.  Getting a primitive Web API up and running can be deceptively simple. However, what many people don’t realize is that with the success of an API can come a variety of problems. Continue reading...

  • REST in Montreal

    If you were at my talk at devlabmtl I would like to thank you for coming.  I hope you found it useful.  In the talk I made reference to a bunch of resources and I just wanted to provide you with some links. Continue reading...

  • WCF HTTP – work in progress

    So, I’m still working on that walkthrough of the Contact Manager.  Not sure how valuable it is now that Glenn posted his latest summary.  Between that and the session at PDC you should be able to get a pretty good idea how it works. Continue reading...

  • Microsoft WCF gets serious about HTTP

    Chances are, if you have read any of my blog posts before, you will probably be aware of my appreciation of a certain HTTPClient library that appeared in the WCF REST Starter kit a few years ago.  After a very long incubation period and some periods of uncertainty about its future I am really excited by the fact that a official .Net 4 version is now downloadable from the new Codeplex site http://wcf.codeplex.com.  Continue reading...

  • RESTfest was a blast

    Back from RESTfest, tired but happy. Three days of intense conversations, debate, opinions and presentations. It was an amazing opportunity to learn from everyone. Continue reading...

comments powered by Disqus