Recent posts

  • Windows taskbar divider

    (8/6/2016) - - Introduction The Windows taskbar is probably on of the most frequently used Windows features, so optimizing it to your needs could boost your windows experience. Personally, one thing that annoys me is that i accidentally click wrong icons and startup applications that i don’t want to start while using the taskbar. Application After some googling […]
  • Comparing performance of javascript forEach and for loop on array of items

    (8/5/2016) - - Introduction Last week i had to optimize javascript code that didn’t perform well enough in Internet explorer (11). Chrome was also not performing very well, so i started searching for performance gains. There were many Arrays in code and there where many forEach loops. I changed some foreach loops to for loops and performance improved quite […]
  • VS2015 TypeScript Cannot compile modules unless the ‘–module’ flag is provided build error

    (4/16/2016) - - Introduction In Visual studio 2015 i had big troubles using TypeScript import statements in combination with exporting modules. At build i got TypeScript compiler errors stating : Cannot compile modules unless the '--module' flag is provided build error. I used TypeScript and modules before without running into this problem, but in those cases i didn’t use […]
  • Transforming resx files into TypeScript models before build (npm)

    (3/29/2016) - - Introduction For a while now i have been looking for a way to work with resources from .resx files in web applications where i use TypeScript. I don’t like the manual labour of creating models/interfaces, but i want to work with intellisense in TypeScript and without having to use magic strings (or even enums) while using […]
  • MvcBuildViews setting depending on build configuration

    (3/26/2016) - - Introduction By default, in a MVC web application, MVC Razor views (.cshtml files) are not compiled at build time, so any errors in these parts of the application will only occure during run time. When you are editing a .cshtml file your Error window will show the errors in that specific file, but these errors will […]