Teaching Unit Testing at a local University College

Today I had the pleasure of lecturing .NET Unit Testing at YRGO, a local University College in Gothenburg. This was actually the fourth year lecturing at YRGO and it’s something I really enjoy doing next to my “regular” work assignments. This session was based a lot on my session from my CodeGarden talk earlier this year.…

Troubleshooting a pending pod in a Kubernetes cluster (AKS)

Last week I had an interesting issue with one of our clients AKS clusters, and in the spirit of sharing I thought I would document the solution and share my findings. I find that when it comes to issues in Kubernetes it’s usually not the solution itself that is the tricky part, which is usually just a single command line, but rather finding information and troubleshooting that I find is the most interesting to read about.…

Get started with Umbraco 9

I was invited to join the celebration of the new Umbraco 9 version recently and in the Umbraco 9 Launch Extravaganza had prepared a little presentation on how to get started with Umbraco 9.…

Differences found when upgrading Umbraco 9 from BETA-003 to RC-004.

Earlier this month I finally had some time to upgrade the Umbraco 9 Demo site from the beta to the latest RC version, and while doing so I got some breaking changes that I had to adjust the code in order for my project to work, and I thought I would share these finding in this really small blogpost.…

Putting Umbraco 9 to the test

In case you missed it, I wrote a blogpost recently for Umbraco.com sharing some of my initial thoughts and findings when exploring the new Umbraco 9 version.…

Rendering products from an external source using a ContentFinder in Umbraco 9

This week I found the time to experiment more with my Umbraco 9 Demo Site, and this time I wanted to build the products section that most Umbracians are familiar with from the original demo site from…

Mocking the UmbracoHelper in Umbraco 9

I’ve always had somewhat of a love-hate relationship with the UmbracoHelper, mostly because until recently it has been a lot of work mocking this little helper. Until now!…

Mocking Property Values in Umbraco 9 (and Umbraco 8)

So I just got back from my summer vacation and I thought I would kickstart this blogging thing with a short and straight-forward blogpost that's easy to digest for anyone (like me) coming back from a long break from coding.…

Umbraco v9 findings

This week I had a little room left in my schedule for studying new tech and obviously I took that time to get up to speed on Umbraco’s new major version built on dotnet core.…

Testing the untestable with the Adapter Design Pattern

During my session at last weeks Codegarden on ‘Getting started with Unit Testing in Umbraco’ I got a really good question in the Q&A afterwards, and I thought I would share the question and elaborate on my answer: -“What tips do you have for mocking services that are overly complex or have lots of dependencies that can't be null?”…

I’m a 3x Umbraco MVP

As mentioned at last week was Codegarden, the official Umbraco Tech-conference, Knowit Experience won an Umbraco Award for Best Designed Site for Opera.se. Not only that, but I was also one of the lucky ones to receive an Umbraco MVP (Most Valuable Person) Award. This was the third time in my career that I’m awarded Umbraco MVP which feel unreal just to be saying. I feel just as proud and grateful today as I did the first time back in 2016.…

Knowit Experience won Umbraco Awards: Best Designed Site

Last weeks Codegarden started on Wednesday with the Umbraco Awards and we were very happy when it was official that Knowit Experience won first price in the category "Best Designed Site" with the site for GöteborgsOperan.…

Preparing for Codegarden 2021

I got a bit of a wakeup call today when I realized that Codegarden 2021 is less than three weeks away! As I’ve mentioned in a previous post, this year I will host a session at Codegarden on Getting started with Unit Testing in Umbraco.…

Starting a new Umbraco project

This week I was curious to hear how the community prefers to start new Umbraco projects so I started a poll on Twitter, and the results from that poll will be revealed at the bottom of this post. But first I thought I would cover the different option and give my two cents on each alternative.…

I’m an Certified Umbraco Content Manager

As an Umbraco MVP one of many benefits is a free certification course of your choice. Since I've already taken all the certifications there is from a developers perspective, I chose to sign up to the Content Management Course.…

Showing a maintenance banner on your Umbraco site

Something we do for most of our sites is setting what we call a deploy flag during our deployments and then have our frontend render a maintenance banner at the top of the website. By showing a maintenance banner we can inform the visitor that at the moment we are performing planned maintenance and that they might experience disturbances.…

I’m a speaker at Umbraco Codegarden 2021

This week I got some exciting news: My session on “Getting started with Unit Testing in Umbraco” has been accepted for Umbraco Codegarden 2021!…

Overriding the preview feature in Umbraco

When building a headless solution your Umbraco installation might serve as an API and does not have any frontend attached to it. In those cases the default preview feature in Umbraco could become useless.…

Testing Umbraco Composers

Something I’ve been wanting to write a test for but haven't come around to yet is the Umbraco Composer that was introduced in version 8. This could look something like this.…

Unit Testing an Url Segment Provider in Umbraco

Using an IUrlSegmentProvider you can modify the url segment that Umbraco generates for any piece of content based on whatever conditions you like. This week I created a test example for this ProductPageUrlSegmentProvider and updated the GitHub project and I'll be submitting a PR to the Unit Testing documentation.…

Umbraco Leeds Meetup Summary

So yesterday was finally the day for my presentation at the Umbraco Leeds Meetup about “Getting started with Unit Testing in Umbraco”.…

Unit Testing Regular Expressions

Not only are unit tests great for securing the behaviour of your code but they also serve as form of living documentation and one area where I find this especially true is when covering regular expressions with your unit tests.…

NUnit vs. xUnit

The endless battle between the two testing frameworks NUnit and xUnit is a hot potato and in this blog post I intend to give my two cents on this topic.…

I hosted an Umbraco lunch session at Knowit Experience

The session was called “A non-technical presentation of a technical platform” and it was a “no tech-lingo” session targeting sales, marketing and people in direct contact with end clients.…

Getting started with Unit Testing #2: Don't get stuck!

A mistake you might do as a beginner tester (I probably did it myself in the beginning) is that you start of hopefully to a great start, testing is going great and you think you’ve got the hang of it…