Skip to main content

Posts

Showing posts from October, 2022

How to upgrade a Umbraco v4 website to the latest version of v7

Why upgrade to v7? A few months ago, I was asked to work on upgrading a Umbraco v4 (4.5.1) project to the latest version of v7 (7.15.10).  My first reaction was to question the requirement as v7 is fast approaching its End of Life , in the end, I realised that the client simply didn't have the budget for a v10 upgrade, hence, my colleagues and I started working on a solid plan as this was still a big upgrade.  Solid plan When we did our research to see if anybody had written anything about the upgrade path from v4 to v7, we didn't find much except this good blog post . This was a very old article, but the explanation made sense. So, we decided to follow a similar approach.  We created a new feature branch, and for each upgrade work, we created a new branch of this feature branch and then created PRs from those upgrade branches into this feature branch. After doing the code reviews, we merged each upgrade branch into this same feature branch. After going live, we merged this &qu

How to improve the availability and performance of a Umbraco v10+ website by storing 3rd party data in a database

I have a Umbraco v10.3.2 that consumes multiple (old) SOAP API web services to get details like Chartered Flights, Arrivals and Departures Flights etc, and these flights have details like Airport IATA codes, Airline ICAO or IATA codes but not Airport names or Airline names and I needed to get these names for my front-end website.  Now, in my Umbraco project, I have got sections to create airports and airline data, when I create an airport, I create details like name and IATA code and for an airline, I create details like name, ICAO code and IATA code. I could potentially get the name details from Umbraco but for this, I first needed to create a lot of airport and airline details in Umbraco (I'm talking about 6168 airlines and 9070 airports), and then for each web service result, I needed to get the name details from Umbraco (as the web services returned only the codes but not names) - this just didn't make sense! Solution - Excel comes to the rescue When was the last time easyJ