Friday, April 11, 2014


Listening to my regular podcast by Scott Hanselman, I learned about WebRTC today, which is: WebRTC is a free, open project that enables web browsers with Real-Time Communications (RTC) capabilities via simple JavaScript APIs.

So it allows for browser-to-browser communication. I can't wait to see what awesome stuff will be built with this!

Here's a game (by Google I believe) that shows off WebRTC awesomeness.

Monday, March 24, 2014

Entity Framework: type inheritance

We're using EF 6 on our projects, which allowed us to make all calls async. Also, we're using both Table-Per-Type (TPT) and a Table-Per-Hierarchy (TPH) within the datamodel for one of the applications.

In order to get the TPH going in Entity Framework, you need to make use of filtering in de model. It works like a charm and is very powerful. It's perfectly explained here:

And also in this pluralsight course:

Sunday, March 23, 2014

Pluralsight is working on a new website:

This week I was notified that PluralSight is working on a new website: It was about time too, the current one is really starting to look outdated.

Cloud Design Patterns: Prescriptive Architecture Guidance for Cloud Applications

Microsoft recently published this list of cloud design patterns: which contains a very nice collection of patterns for cloud applications. We'll probably be applying a few of these for our upcoming project.

Tuesday, March 18, 2014

Sunday, March 16, 2014

Filtering properties being watched by $scope.$watch in AngularJS

For one of my projects I needed undo/redo functionality. We implemented this by using just saving snapshots of the object to $sessionStorage.

However - we needed an easy way of being notified of object changes. Enter $scope.$watch. This method allows you to watch object for changes.

However - this method does not 'deep watch' into child property values. Also, we needed a bit more control over which model changes would trigger the snapshot mechanism. We solved it by adding a 'hash' method that creates a has of all the object properties that I care about.

Here's what I mean:

NDC Oslo 2014 tickets are in!

Allright! My company just got the NDC Oslo tickets for the year's conference which will be in June in Oslo. I'm very much looking forward to going! Check out the website: