MVC Routing dot net

Subtleties of MVC Routing

I’ve been writing an alternative to the MVC routing mechanism for ASP.NET Web API based on prior approaches that I have worked with.  I’ll blog more about that in the future.  Part of my motivation for writing this new router was because I didn’t know how to do what I wanted to do with MVC Routing and […]

Naming Things

Naming things is hard

Much of my career has been spent with me as the most senior developer on my team.  It has its pros and cons, I have learned how to figure stuff out on my own, but I have had to re-make many mistakes that I could have avoided. However, one of the most memorable pieces of […]

Dry Suppleness

Don’t sacrifice suppleness to the DRY gods

Consider your application has feature A and feature B, and in order to implement each of these features you need to invoke functions X, Y, Z: The gods of DRY would proclaim that you should create a new function to encapsulate the behaviour of X,Y,Z.  However, I would argue that unless that group of functions […]

Hypermedia Markup

Hypermedia Client Maturity Model

There have been a number of attempts to define a maturity model for building RESTful services.  The idea of the maturity model is that is gives an indication how closely the service complies with the constraints of REST and hopefully demonstrates the trade offs to be expected when choosing to not follow a particular constraint. One area […]

TekPub

A Tekpub API

Rob Conery asked for some feedback on an API he has been building for Tekpub.  I know that Rob asked for URLs, and URLs he shall get, but I like to get a better understanding of the relationships between my resources before I start minting URLs for my service.  On a number of occasions I […]

XSLT

Convert XML to JSON using XSLT

How about that for acronym soup?  In the spirit of doing smaller posts but more often, here is a handy little XSLT.  Assuming you have the following XML, Using this XSLT You can generate this JSON It would be really interesting to try and use this Javascript XSLT processor to do the transform directly in the browser.  […]

Http Client Factory

HttpClient, it lives, and it is glorious.

Along with the latest release of WCF Web API there was a updated version of HTTPClient .  With it came a bunch of breaking changes, most notably, there are no more Sync methods for doing HTTP requests.  This is a change that brings consistency with Microsoft’s new policy that all APIs that take more than 30ms (or is it […]

Message Handler

How to GET aHEAD with MessageHandlers!

It appears I need to go on vacation more often.  I seem to get more chance to experiment.  One of my first discussions about RACK was with Mike Kelly where he suggested a simple solution to implementing HEAD across an API.  Simply use a RACK application to convert a HEAD request to a GET and then when […]

Http Trace

HTTP Trace was never so easy

So there I was, sitting at my PC hunting some bugs when up pops John Sheehan on IM and starts asking me questions about OPTIONS and TRACE http methods.  I pretty much always have the HTTP spec close at hand so I think I was able to at least fake some prior knowledge in attempting to answer […]

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