AngularJS SPA Authentication with ASP.NET Identity 1.x

The following is a tutorial that I wrote in February of 2014 on how to provide a backend for an AngularJS SPA using ASP.NET Web API and ASP.NET Identity. I am posting it here for future reference, though the original is still hosted on BitBucket along with the source files referenced in this tutorial. As of this writing, ASP.NET Identity 1.x has been superseded by ASP.NET Identity 2.x, but I believe what is discussed in this tutorial is still relevant to the overall theory of how to accomplish the task.
(more…)

Crake Aborted! – Fixing ActiveRecord Join Migrations

When attempting to use has_and_belongs_to_many you might run into a “relation does not exist” error. If you created a join table migration already, and you’re wondering why ActiveRecord isn’t looking at it, you probably used the wrong table name.
(more…)

Scala with Understanding

I have started learning Scala as part of an independent study project targeting the functional programming paradigm and, to some degree, resource-to-user scheduling algorithms and their NP-complete properties. Now, my background in computer programming languages so far includes Python, PHP, Bash, Ruby and Java. Scala’s syntax is a major departure from what I am used to, primarily because of its focus on the functional paradigm.

(more…)