10 PRINT "HELLO"

  • Subscribe
  • Versioning API Responses with Self Descriptive Messages

    April 20th, 2017

    There was a comment posted on the HTTPAPIs slack earlier around versioning in HTTP APIs: { "name" : "Bart" } my client see this and can read the name field. But, what if tomorrow I change the field "name" to "title". My client will be …

  • Avoiding Constructor Argument issues when using Moq, RhinoMocks and NSubstitute

    May 27th, 2016

    Suppose you have a class without a parameterless constructor. public class X { public X(string y){ } } If you try to Mock said class using Moq, NSubstitute or RhinoMocks it will throw an exception try { new Moq.Mock<X>().Object.ToString(); } catch { /*throws InvalidProxyConstructorArgumentsException*/ } try { NSubstitute.Substitute.For< …

  • OneOf - Discriminated Unions for c# - NPOTW 2 of N

    May 26th, 2016

    This weeks package is one of my projects. I created it after working with F#'s discriminated union types. What is a Discriminated Union Anyway DU types are data structures used to hold a single value of one of a fixed set of Types e.g.: type Shape = | Rectangle of …

  • MetaLinq - Nuget Package Of The Week - 1 of N

    May 18th, 2016

    Inspired by Scott Hanselman, I am going to blog about lesser known .NET packages. The twist is that I have generally published (although not necessarily written) these packages myself so this is flagrant self-promotion... Anyway, first up is MetaLinq a library for converting (normally immutable) Linq Expression trees into a …

  • What's worse than a monolith? A megalith.

    May 18th, 2016

    What you had: What you wanted: What you got: …

Page 1 of 2 Older Posts →
Back to top
Ψ
Twitter / Github / RSS