Kwick-e-Mart

Self-descriptive, isn’t. Don’t assume anything.

With the recent surge of interest in hypermedia APIs I am beginning to see the term “self-descriptive” thrown around quite frequently.  Unfortunately, the meaning of self-descriptive is not exactly self-descriptive, leading to misuse of the term.  Consider the following HTTP requests, Example 1 Example 2: I suspect a fair number of people will be surprised […]

JSON

Returning raw JSON content from ASP.NET Web API

In a previous post I talked about how to send raw JSON to a web API and consume it easily.  This is a non-obvious process because ASP.NET Web API is optimized for sending and receiving arbitrary CLR object that then get serialized by the formatters in the request/response pipeline.  However, sometimes you just want to have more […]

UNICODE

There is Unicode in your URL!

In our Runscope HipChat room a few weeks ago, I was asked about Unicode encoding in URLs.  After a quick sob about why I never get asked the easy questions, I decided it was time to do some investigating.  I had explored this subject in the past whilst trying to get Unicode support working in my URI Templates […]

Sharing Fiddler Requests

Sharing Fiddler requests using Runscope

Fiddler is an excellent tool that I have been using for many years to debug HTTP requests in local applications.  However, one of the things that Fiddler can’t do easily, out of the box, is allow you to share requests with other team members.  Sometimes it is nice to be able to show someone a HTTP […]

Funky Web API Dance

Making your ASP.NET Web API funcky with an OWIN appFunc

The OWIN specification defines a delegate called appFunc that allows any OWIN compatible host to work with any OWIN compatible application.  This post shows you how to turn an ASP.NET Web API into an AppFunc. AppFunc is defined as , using AppFunc = Func<IDictionary<string, object>,Task>; In other words, a function that accepts an object that implements IDictionary<string,object> […]

Hammer AppFunc

The simplest Owin AppFunc that works

When learning new frameworks and libraries I always like to find the simplest thing that works.  It helps me to separate in my mind what is core and what is helper stuff.  When it comes to debugging it is always nice to be able to strip away the helper stuff. No frameworks allowed! While working […]

Mr User Agent

The much maligned User Agent header

This post is the first in a series of posts that will explore some piece of the HTTP specification with the objective of providing practical insights into the uses and abuses of the feature. Consider these posts my attempt to provide HTTP guidance in language that is slightly more digestible than the official IETF specifications. […]

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