Recent Posts

  • 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: Continue reading...

  • 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. Continue reading...

  • 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 it shows more clearly the frustration of the poster. Continue reading...

  • 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. Continue reading...

  • 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 to be relatively large to fake when you consider all the properties and methods of the Http request objects and http response objects.  It is not inconceivable that the interface ends up exposing 90% of the functionality of the http client objects. Continue reading...

  • 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 don’t use it for CQRS, some of the neat things you can do with FOR XML PATH may be interesting to a few people. Continue reading...

  • Why the Microsoft.Http library is awesome.

    In various forums I a finding myself raving about this new library.  I decided that I should write some blog posts on the subject for a few reasons.  1) to convince myself that there is actually some substance to my raving; 2) provide a place to point people to in order to substantiate my infatuation and 3) maybe encourage a few more people to use it before it gets relegated to the dustbin of Microsoft’s forgotten projects. Continue reading...

  • 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 the next version of Office and in the Dynamics products.  I think it is a great direction to be headed but I also have concerns. Continue reading...

  • It is not that we don’t like the convenience of Windows Installer

    I just had a fight with an installation of Sharepoint and it dawned on my what I don’t like about Windows Installer.  It is a black box.  You click on the file and press next, next, next and magic happens.  Personally, I would like to know where files are being put, which registry hives are being touched, are services being installed, are accounts being created.  Did something go in the GAC, was a COM DLL registered. Continue reading...

  • 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 criticism to give I'm going to keep my mouth shut. Continue reading...

  • Bellware on Alt.Net

    I just listened to the Alt.Net podcast where Scott Bellware talks about the state of Alt.Net.  Bellware has recently become a major thorn in the side of the Alt.Net community because he is claiming that they have become a social club that is no longer moving towards its original goals. Continue reading...

  • 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 to have a critical impact on the functionality of a web application. Continue reading...

  • A lesson in how not to handle an unhappy customer

    Ayende posted an item a few days ago about a disappointing experience he was having with a software vendor, XHEO.  Today the company responded on its blog.  I tried to post the following comments on the blog but for some reason my comments have not appeared. Continue reading...

  • Net Sourcing

    Scott Hanselman has a post talking about how his cousin's company ran into some difficulty recently, that Scott believes could be resolved by "net sourcing" certain functionality. Continue reading...

comments powered by Disqus