Cache busting in ASP.NET Core

17 July 2017

Caching static resources is a good way to improve the performance of your website. Instead of your server having to deliver each static resource on every request. The user's browser caches the static resources the first time that they're requested and received, and thereafter loads them from the cache on the following requests instead of requesting them from the server again. The problem with caching static resources is that the user might have cached resources that don't match the files on the server. In this post, I will show you how to implement cache busting using ASP.NET Core tag helpers.

How to setup Castle Windsor in Umbraco

03 July 2017

The concept of an inversion of control container(IOC container) is widely used in software development today. If you're new to IOC containers it can be an annoyance to get it setup correctly. The result being long hours spent with a lot of trial and error. In this blog post, I will show you have to integrate an IOC container with Umbraco CMS from start to end. Giving you a great fundament to work on.

Visual Studio Snapshot Debugger

19 June 2017

We have all been there, a customer calls in a bug on the production environment. The first thing we do is that we go to the log files and see if we can find the error. Sadly the developer who wrote the code did not think that anything could go wrong so, so he decided not to spend the time creating a meaningful error message, after all, what could possibly go wrong?... So we end up with a generic error message which does not show the root course of the error. Luckily at Microsoft Build 2017, Microsoft introduced the Visual Studio snapshot debugger.

IOC Container Service Lifetimes in ASP.NET Core

01 April 2017

When you're building a web application it is important to be able to control the service lifetime of the registrations in your container. The reason is that some of your objects might require being instantiated on every request while another instance should be unique and should only be instantiated once in the application lifespan.

Page 1 of 3