Creating a new Azure Active Directory User

Open the Azure Management Portal, login and then navigate to the Active Directory tab and click on the Active Directory resource you want to add a user to, alternatively create a new Azure Active Directory resource and then come back to this post.             Now click on the Users tab and then Add User Go ...

Read More »

Stackoverflow integration in OneTrueError

I’ve created a nifty little javascript library in TypeScript that I use in OneTrueError. It allows our service to search StackOverflow for relevant questions and answers. Searching StackOverflows API is quite easy as it is pretty much straight forward. The challenge however, was to create something which can identify the correct StackOverflow tags. To do that we analyze the stack ...

Read More »

Debugging windows services

I’ve written a post before about how I debug windows service (i.e. run them from within Visual Studio without having to use “Attach to process”). I’ve come up with a new easier approach. First of all, I’ve moved all logic from the service class. Instead I use a second class to control what should be started or not. So my ...

Read More »

MVVM and Threading

The Model-View-ViewModel pattern is a very powerful design pattern when building WPF applications, even if I’m not sure everyone interprets it the same way. However, it’s never been clear to me how to easily manage multi-threaded WPF applications: writing multi-threaded code is hard and there seems to be no real support baked into WPF or the idea of MVVM to make multi-threaded code easier ...

Read More »

On Collections

Today I would like to talk a bit (though looking at my notes, probably more than a bit) about collections, collections as in lists of things. Specifically, I would like to discuss the implementation of such collections in games, and some problems that occur due to the requirements of game development. I will go through some of the solutions I ...

Read More »

I’m a software developer – not a lawyer

A long time ago not that far away I’ve been hired by Uber-Corp to work on the new and shiny product. We had talent, budget and cool technology on our side, and that project was going to crash and burn (and ultimately cancelled) in less than a year. Nobody’s perfect – we had our share of problems, some technical and ...

Read More »

C# Tricks: Slimming down your controllers

This blog post is dedicated to my colleague Seminda who has been experimenting with how to create simple and powerful web applications. Thank you for showing me your ideas and discussing improvements with me, Seminda. I find many C# applications have much unnecessary code. This is especially true as the weight of the business logic of many applications are shifting ...

Read More »

Easier error handling in ASP.NET MVC5

I’ve written a few posts about error handling in ASP.NET MVC. It’s not easy to get it right since the MVC pipeline uses a different error handling method than ASP.NET itself. With our client library you can get a fully working implementation for free, without having to using the rest of our service. OneTrueError injects itself both in the ASP.NET ...

Read More »