January 28 2015
After a lot of digging around to figure the best way to implement the Unit of Work + Repository pattern in an ASP.NET MVC 5 or Web API 2 application, I came up with this solution.
December 01 2014
A simple login example using AngularJS on the front end and ASP.NET Web API 2 on the back end.
September 25 2014
After setting up automatic redirects from HTTP to HTTPS you may start seeing browser warnings about "insecure content" or "mixed content" and some content may be blocked and not displayed, this is because some of the external content references in your html are still using an insecure "http://" url.
August 01 2014
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.
July 16 2014
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!
May 26 2014
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.
May 03 2014
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.
April 28 2014
Read on if you're confused about why your mock repository keeps returning the initial collection even though you've added something to it!
April 18 2014
How to post a simple string parameter in the body of an HTTP request from AngularJS to ASP.NET Web API
April 02 2014
This is a quick hacky way to get the ionic start [appName] command working from behind a proxy.