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…

Getting started with Unit Testing #1: Start fresh!

A lot of developers who embark on the Unit Testing journey will go: -"Okay, I'll write a test in my current project just to see how it feels!". This is almost always a bad idea and chances are you’re going to get stuck and give up. And here's why..…

Stress-free production deployments

I remember in the early days of my career the stress I would have before each production deploy. I never had a good feeling in the stomach on those days, constantly fearing that something would blow up or even worse: that data would be lost forever! Today I work with some of the biggest clients in the country and deploying to production is as stress-free as getting a cup of coffee. Here's how!…

Five tricks to speed up your Unit Testing today

One of the main reasons I hear for not writing tests is -"We don’t have the time!" and that it feels like it would take longer time to write code with test than without. But there are a few tricks you can apply to speed up your Unit Testing today.…

Locked yourself out of Umbraco? No problem!

In Umbraco if you enter your password wrong 5 times you are locked out from the backoffice. This is usually the case when a clients calls saying they can't login (even if they deny having entered the wrong password several times)…

I’ll be speaking at the Umbraco Leeds Meetup

I’ll be speaking about Unit Testing and Umbraco at the Umbraco Leeds Meetup on the 6th of April. In this session I’ll be covering the basics of Unit Testing, how to get started and talk a little about my work with the official documentation and GitHub project on Unit Testing in Umbraco.…