Søren Kruse
Søren Kruse | .NET, C# and Azure

Søren Kruse | .NET, C# and Azure

Follow
Follow
homeCertifications (credly)

Dynamic caching policy with Polly

Jan 15, 20213 min read

Polly is great library for easily configuring different kinds of policies around code execution, be it retry, circuit breaker, caching or lots of...

Dynamic caching policy with Polly

Unit Testing - Part 2: Naming, structure and readability

Jan 9, 20217 min read

This is part 2 of my series on unit testing in .NET (C#) and will be about my conventions regarding naming unit tests, how to structure them and which...

Unit Testing - Part 2: Naming, structure and readability

Unit Testing - Part 1: Getting started with unit tests in .NET

Dec 28, 20207 min read

I feel like unit testing is very important and very beneficial in a lot of ways. It helps with not breaking existing functionality and thereby also...

Unit Testing - Part 1: Getting started with unit tests in .NET

Getting NSwag to work behind reverse proxy

Dec 18, 20202 min read

I've been working with Swagger through NSwag a lot recently and also needed to get it to work when hidden behind a reverse proxy - i.e. another...

Getting NSwag to work behind reverse proxy

NSubstitute - make async method (Task) throw an exception

Dec 12, 20203 min read

The other day I was writing a unit test to verify what was supposed to happen when a Task would throw an exception when awaited. It wasn't as straight...

NSubstitute - make async method (Task) throw an exception

Handling EPiServer UI descriptors for built-in types like PageData

Mar 15, 20204 min read

When you want to make content types appear or behave differently in EPiServer - for example changing the default view or disable sticky view - you...

Handling EPiServer UI descriptors for built-in types like PageData