IIS URL Authorization, Forms authentication and the 401.2 error

I recently experienced a confusing, head-ache-causing problem while deploying an MVC application to a Windows Server 2008.
The issue looked simple enough: the Web server returned a 401 (unauthorized) error when I tried to access the application, which required Forms Authentication to function properly.

Analyzing the issue

I started out with the basics. Check the anonymous and forms authentication settings, check the AppPool configuration, check if the AppPool user has all necessary rights, etc.

But all to no real avail. IIS kept redirecting me to the logon page (even when the session was authenticated!). Using fiddler it became more and

Tendencies of the Belgium software market

While working on a new software architecture for my company (the old one was getting a little bit to old :)) I found myself wondering what frameworks and architectures were already out there. And more importantly, which ones the clients that employed my colleagues used.
So, I asked a group of colleagues a series of questions about the tech they used. They are employed in both large and small companies, all of which located in Belgium. The results are documented in this blogpost.

Old habits are hard to break

First things first, old habits seem to die hard. Frameworks and technologies

What's old is new again - the resolutions of a programmer

Today, at the end of 2014, I'm looking back at the past months and reflect on the stuff I've accomplished in my professional career. I do this every year because it is a good way to set high level goals and try to achieve them.

This post was written for self-reflection mostly, but perhaps it can give you some inspiration for your technical ventures next year :).

2014 was a good year

Yes, I am pleased with my (technical) achievements this year. I had a couple of goals, and even though I did had a couple of setbacks, I am glad

Maintaining large JavaScript applications

Most people think that it is extremely difficult to maintain large JavaScript applications. And I tend to agree with them, maintaining large JavaScript apps is nearly, if not entirely, impossible.

Only JavaScript applications?

It's fair to say that maintainability directly relates to the complexity, scale and code quality of the application itself. If it's difficult to write, it will most likely be difficult to maintain.

There are plenty of maintainable large-scale .NET and Java applications out there. Yet in my experience, there are just as many unmaintainable ones as well. Complexity and magnitude of a project are certainly factors. But

Using $compile to compile HTML strings in Angular

Say you want to bind a string to an element in Angular. No real problem, you just use expressions or ngBind.
If the string contains HTML that you want to parse, you can use ngSanitize.
But what if your HTML string contains a button that has an ng-click directive included in it? This won't work automatically, you'll need to use $compile.

So what is this compile service? According to the Angular docs:

Compiles an HTML string or DOM into a template and produces a template function, which can then be used to link scope and the template together.

So lets

Member of The Internet Defense League