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 […]

HTTPClient

HttpClient – The basics

Before I go into any details I thought it would be valuable to give some basic examples of how to use the HTTPClient. Retrieve some HTTP content from an URL Post some content to an Url Authenticated get and if you need to provide some kind of custom authentication scheme you can simply create credential […]

Http Client Factory

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 […]

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.

Case Studies

Copyright @ 2024 Kaynes