Strongly typed event handlers in TypeScript (Part 1)
As a C# programming I have a lot of interest in the TypeScript project. Lately I’ve been playing around with it to look what it can do. I found myself in need of some event handling, so I decided to build something that looks like the event handling .Net gives you.
Auto fill settings objects with .config values
Lately I’ve been playing around with some API’s. Most of them need a bunch of settings that I’m storing them in my config files. I found myself doing the same work over and over again: creating a settings class, filling the class with information and using it. So I came up with a way to leverage reflection to fill my setting classes with .config values.
How to debug a StackOverflow crash in a .Net application on an IIS (production) server?
Today we had a problem on the server: our app was causing the application pool to crash. Windows error reporting didn’t give a clear result of what was causing a stack overflow exception within the app. No stack-trace, no nothing. So how to solve a problem like this?
Convert HTML to SVG using CloudConvert and C#
HTML is often easier to generate than SVG. Can it be converted to SVG? I’ve found a cloud service with an API that does a nice job converting various formats: CloudConvert. I ended up implementing a small part of their API to do the conversion.
Whipping WPExplorer’s Blogger Template into shape
I recently switched to WPExplorer’s Bogger Template, because it is simple and focused on the articles. What’s not to love? But there is still a lot to do to whip this template into shape. To help you out, I’ve created this post.
Many small applications need to store user credentials, but it’s hard to create a good username/password infrastructure. What if you could just use a small XML file with credentials that don’t actually stores the password, but just a hash and some salt.
Increase WordPress performance on IIS
I noticed that the Time To First Byte (TTFB) of my website was taking way too long. First I thought it should be resolved by caching, but I noticed that it couldn’t be the caching, because TTFB kept being pretty high. After some research I found the culprit: IPv6 with the MySQL driver.