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
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.
March 25 2014

AngularJS - A Better Way to Implement a Base Controller

The simplest way to setup controller inheritance in AngularJS.
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'"
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.
February 15 2014

AngularJS - Reverse Geocoding Directive

This is a little custom AngularJS directive that converts GPS coordinates (latitude/longitude) into an address, otherwise known as reverse geocoding, using the Google Maps API.
November 20 2013

Getting Foreman working on Windows 7 after installing the Heroku Toolbelt

Getting foreman up and running on Windows 7 after installing the Heroku Toolbelt - how to fix the problems with "'foreman' is not recognized as an internal or external command" and "Bad file descriptor"
October 16 2013

ASP.NET MVC - Required Checkbox with Data Annotations

How to make a required checkbox in ASP.NET MVC using the built in 'Range' data annotation attribute.
July 31 2013

C# - Get time zone and UTC offset from latitude and longitude (GPS coordinates)

I recently set up an Instagram feed for a travel blog and found that the Instagram API only supplies the UTC created date/time of each image, and doesn't supply the user's UTC Offset (as the Twitter API does), so the only thing you have to work with are the latitude and longitude (lat/long) coordinates to find out the timezone and UTC Offset of where the image was posted.
April 20 2013

Enable infinite scroll on iPhone and desktop with jQuery

There seems to be quite a few code examples out there for jQuery infinite scroll for iPhone that simply don't work
Sponsored by