Wednesday, October 1, 2014

Adventures in Angular

Already using Angular.js? Or interested in learning about it? Subscribe to the ‘Adventures in Angular’ podcast; a weekly show dedicated to the AngularJS framework.

Certainly check out this weeks episode as Rob Eisenberg talks about what’s coming in Angular 2.0.


Tuesday, September 30, 2014

I survived the first Ordina Hackaton… (and started counting down to the second edition)

Yesterday I didn’t succeed in creating my daily blog post. Why? Because I was recovering from a 24 hours of coding marathon this weekend.

Ordina, the company I work for, organized their first Hackaton. 24 hours of coding, lots of food and even more fun. Going from Unity3D, Quadcopters, Powershell, Xamarin, Windows Store Apps, Angular, and even Sharepoint, there was a technology niche for everyone.

Together with some colleagues, we started ‘Team Awesome’ ready to build the coolest game ever(and this in 24 hours)!

Our goal was to build a Frogger clone with the following features:

· Full 3D game running on Windows, Android and Facebook

· Single- AND multiplayer

· Stunning graphics and sound effects never seen in a computer game before

· Oculus Rift integration(

· And many more…

Without any previous experience, we were able to build a Unity 3D game using the language we all love, C#… It was maybe a little bit too ambitious but we got quite far and I’m really happy with the end result.

Some screenshots of the game we built:




Thanks Filip, Maarten, Jens, Mathias, Jeroen, Michael, Mario and Tim!

Friday, September 26, 2014

SQL Server Error: The proposed new database owner is already a user or aliased in the database.

On a project I’m working on, I had to set the database owner. So I opened up SQL Server Management Studio, opened the Properties for the database and tried to set the owner. But it failed with the following error:

The proposed new database owner is already a user or aliased in the database.

It looks like you cannot set the owner of the database to a user that is already used for this database. To fix it, you first have to remove the user from the list of logins.

Using the HTML 5 progress control in Angular.js–IE 11 troubles

A colleague is building his own file upload control using Angular.js. He already got quite far thanks to the power of HTML 5 and Angular.js. As he wanted to show some feedback to the user during the upload process, he integrated the HTML5 progress control. This control works perfect together with Angular.js… unless you are using IE 11.

Here is the original code(does'nt work in IE 11):

And here is how we got it working using ‘ng-attr-value’:

Wednesday, September 24, 2014

ORMs - You're doing it wrong

ORMs(Object-Relational-Mappers), can’t live with them, can’t live without them. I always had a love/hate relationship with ORMs. No matter if it’s NHibernate, Entity Framework or a micro-ORM solution, it always feels like too much work just to get some data in and out a database…

Therefore it’s really important to use ORMs in the correct way. Jimmy Bogard has his own opinions about ORM usage and in his presentation ‘ORMs – You’re doing it wrong’, he shares his opinions with the world.

Nothing gets DBAs more riled up than a developer infatuated with an Object-Relational Mapper. ORMs work great at mapping from relational to objects, but can be a crutch. If you want to make your DBA (and your users happy), you’ll want to use your ORM intelligently. In this session, we’ll look at application patterns, ORM features and more to discover the right way of using your ORM. We’ll also look at when to ditch your heavyweight ORM and reach for a lighter one. Finally, we’ll cover why abstracting your ORM is evil and alternatives that give us more flexibility and maintainability in the long run.


Tuesday, September 23, 2014

Use Windows Live Writer with Blogger and 2-factor authentication

After enabling 2-factor authentication for my Google account, I noticed that I couldn’t upload a blog post anymore. Whoops!

If you’re reading this blog post, this means that I fixed it…

Here are the steps to get it working again:

  • Log in on Gmail using your Google account.
  • Click on the arrow button next to your email address in the right corner and click on Account.
  • The Account settings site is loaded. Click on the Security tab.


  • Click on Settings next to App passwords.


  • Add a new application for Windows Live Writer and click on Generate to generate a password.
  • Copy the generated password and use it as the password in Windows Live Writer.
  • That’s it! You are now living in a safer world…

Monday, September 22, 2014

ASP.NET Web API Samples

Last month, Filip W released his ASP.NET Web API 2 Recipes book.(A must read by they way…)


The book contains over 100 recipes covering various Web API scenarios. Each of the recipes has got an accompanying Visual Studio solution, which illustrates the given problem and presents a solution in a simple, isolated manner.

Go buy the book, but in the meanwhile you can already check all the source code for free at Github.

Thanks Filip!