Published: August 01 2014

AngularJS directives for social sharing buttons - Facebook Like, Google+, Twitter and Pinterest

A few simple directives for the social sharing buttons: Facebook Like, Google Plus, Twitter Tweet and Pinterest Pin It. The buttons automatically update to the current URL as you navigate through your AngularJS app.
Published: July 16 2014

Dynamic LINQ - Using strings to sort by properties and child object properties

I stumbled across the Dynamic LINQ Library today and can't figure out why more people aren't talking about it. It's an awesome little library that allows you to dynamically generate LINQ expressions from strings, which is perfect for things like sorting collections by object property names passed as querystring parameters to web api controllers, it even allows you to sort by child object property names!
Published: May 26 2014

AngularJS Basic HTTP Authentication Example

An example of how to setup a simple login page with HTTP Basic Authentication using AngularJS, and also keep the user logged in after the page is refreshed.
Published: May 03 2014

Web API 2 + ELMAH - Log ALL Unhandled Exceptions

I got an email from a client today about an error happening in an application that I'd built with ASP.NET Web API 2.1. At first I thought they must be mistaken or doing something wrong on their end because their weren't any errors being reported by ELMAH which I'd configured in my WebApiConfig.cs file using the ElmahHandleErrorApiAttribute filter.
Published: April 28 2014

Moq - Get Setup() to return a dynamic collection from a fake repository

Read on if you're confused about why your mock repository keeps returning the initial collection even though you've added something to it!
Published: April 18 2014

Post a simple string value from AngularJS to .NET Web API

How to post a simple string parameter in the body of an HTTP request from AngularJS to ASP.NET Web API
Published: April 02 2014

Ionic Framework - Getting 'ionic start [appName]' Working Behind a Proxy

This is a quick hacky way to get the ionic start [appName] command working from behind a proxy.
Published: March 25 2014

AngularJS - A Better Way to Implement a Base Controller

The simplest way to setup controller inheritance in AngularJS.
Published: March 14 2014

ASP.NET Web API - elmah.axd 404 error - No HTTP resource was found that matches the request URI 'http://.../elmah.axd'

Fix for ELMAH 404 error "No HTTP resource was found that matches the request URI 'http://.../elmah.axd'"
Published: February 18 2014

ASP.NET Web API 2 - Enum Authorize Attribute

This post shows you how to create a custom authorization attribute which allows you to pass in a list of enums as parameters to restrict access by role. I'm using this attribute on the controllers of a RESTful Web API built with ASP.NET WEB API 2.
Supported by