Dot Net Fringe

The last few days I spent at the DotNetFringe conference in Portland.  Considering this was the first time this conference has been run it was executed spectacularly well. Off To A Great Start The opening keynote was done by the one and only, Jimmy Bogard who delivered a candid history of his experience working on OSS projects, …

Dot Net Fringe Read More »

HTTP Pattern Index

When building HTTP-based applications we are limited to a small set of HTTP methods in order to achieve the goals of our application. Once our needs go beyond simple CRUD style manipulation of resource representations, we need to be a little more creative in the way we manipulate resources in order to achieve more complex …

HTTP Pattern Index Read More »

Everything You Need to Know About HTTP Header Syntax But Were Afraid To Ask

If you use HTTP then the chances are good that you have to deal with HTTP headers.  The syntax of HTTP headers has a long and tortured history, originating from the syntax of email headers.  All too often I see headers that don’t conform to the specifications.  This makes everyone’s job a little bit harder.  …

Everything You Need to Know About HTTP Header Syntax But Were Afraid To Ask Read More »

Convert Attributes To Elements In XSLT

I was working on some reporting stuff and thought I had an issue where I needed to have elements instead of attributes. I found that the following XSLT would do that conversion for me. 1234567891011121314 <xsl:stylesheet version=”1.0″ xmlns:xsl=”http://www.w3.org/1999/XSL/Transform”> <xsl:output method=”xml” indent=”yes”/>  <xsl:template match=”@*”> <xsl:element name=”{name()}”><xsl:value-of select=”.”/></xsl:element> </xsl:template> <xsl:template match=”/ | @* |node()”> <xsl:copy> <xsl:apply-templates select=”* …

Convert Attributes To Elements In XSLT Read More »

Composing API Responses For Maximum Reuse With ASP.NET Web API

In Web API 2.1 a new mechanism was introduced for returning HTTP messages that appeared to be a cross between HttpResponseMessage the ActionResult mechanism from ASP.NET MVC.  At first, I wasn’t a fan of it at all.  It appeared to add little new value and just provide yet another alternative that would be a source of confusion.  It wasn’t …

Composing API Responses For Maximum Reuse With ASP.NET Web API Read More »

Everything Is Going To Be… 308 Permanent Redirect

The last year has been been a very interesting one.  In April 2014, I announced that I was joining Runscope as a developer advocate. This will be my 50th blog post since that one.  I’ve covered all kinds of topics from the intricacies of HTTP to API design guidelines, tricks for using ASP.NET Web API, reviews of APIs, and summaries of some of the conferences that I …

Everything Is Going To Be… 308 Permanent Redirect Read More »