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

OData Microsoft Graph

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

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