Published: June 03 2015

C# - Incremental Delay to Prevent Brute Force or Dictionary Attack

An example of how to implement an incremental delay in C# to prevent brute force or dictionary attacks on an MVC login form.
Published: April 09 2015

Unit Testing in AngularJS with Mocha, Chai, Sinon & ngMock

An tutorial and example showing how the different AngularJS unit testing tools and libraries fit together.
Published: March 10 2015
Last updated: December 13 2016

AngularJS User Registration and Login Example & Tutorial

An example and tutorial of how to implement user registration and login functionality with AngularJS
Published: March 06 2015

AngularJS - Unit Testing code that uses $timeout

A quick example of how to unit test AngularJS components that use the $timeout service.
Published: January 28 2015

Unit of Work + Repository Pattern in MVC5 and Web API 2 with Fluent NHibernate and Ninject

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.
Published: December 01 2014

Web API 2 + Angular - Basic HTTP Authentication Example

A simple login example using AngularJS on the front end and ASP.NET Web API 2 on the back end.
Published: September 25 2014

ASP.NET - Fix for HTTPS/SSL Insecure/Mixed Content Warning

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.
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.
Supported by