Creating a CDN Helper in Dot Net Core

Creating a custom helper is easier than you would think. So to keep things easy for us, we are going to use the configuration file appsettings.json to store the base path to our CDN. This will make it easier to change our root without having to update the whole of our application. Code walkthrough First of all, I am using Dot Net Core for this, you can easily achieve the same thing using the regular ....

8 September 2020 · 2 min · Martyn