fbpx

c#

Dynamic Configuration of ImageProcessor .Net with Azure App Service Slot Settings

At Aerion we use the awesome ImageProcessor library (A .NET library for on-the-fly processing of images) when we need to have image caching and the ability to request images at different sizes based on designs. As with most things when moving the code to an Azure App Service we try to utilise the Slot Settings so that […]

Using a Shim to mockup static and extension methods

For our C# unit testing, we generally use a mocking framework called Moq which makes it easy to create mock classes for injecting behaviour and verifying calls. But this only works for public instance methods and won’t work for anything static. Extension methods must be static methods within static classes, so what happens when you want […]