Watch your Blobs when upgrading to v9.3

I’ve been spending a bit of time helping out a client who’s working through an upgrade project recently, and the work to move from v9.1 to v9.3 raised an interesting issue I wasn’t aware of. So in the spirit of making life easier for others, here’s what happened: Continue reading

Sitecore snuck in Content Security Policy!

Ages ago I wrote up a bit about how your public sites should consider implementing Content Security Policy because of all the hacks it can prevent. In a bit of frustrating irony, I was tripped up by a problem caused precisely because Sitecore have added some CSP headers to their own code. Google came up empty on this, so I’m documenting it for the next person who gets bitten. Continue reading

What’s interested me in Sitecore’s use of Docker

Now that Sitecore 10 is out, I’ve been having a dig into the new Docker approach that’s been released. There are some interesting differences here between Sitecore’s official approach and the way the community scripts I’d experimented with worked – and I’ve learned a few interesting new things as a result of having a read of the examples provided. Here are the things that caught my attention: Continue reading

Thinking about importing content?

We spend a lot of time worrying about the marketing content, and the general website text and images in Sitecore. A lot gets said about patterns for organising that content. But some projects have information that comes from external systems that needs to be rendered on the website. And plenty of sites choose to integrate that into their main content tree. Over the years I’ve bumped into a few problems because of this – usually because I find myself supporting something where poor decisions were made early in the design process for the integration. So here’s some things to think carefully about if you’re planning work that relies on back-end data: Continue reading

An interesting diversion into procedural generation…

Outside of work I’ve been looking for non-Sitecore things to experiement with recently, and my eye was caught by a bit of interesting game development technology. I came across a discussion of using code to generate game data with a technique called “Wavefunction Collapse”. It’s a simple concept, but it has some interesting results, so I thought I’d have a go at an implementation myself. Continue reading

Please don’t put Sitecore in Source control

If you’re looking for the simplest possible developer setup for Sitecore then creating an ASP.Net web project, dropping Sitecore over the top, configuring it for shared databases and checking it in to source control is the answer. Back in the day it was an accepted pattern to to work this way – so you could click “play” in Visual Studio to run your site. And I still find myself workig on projects running that way. But today this is considered a bad idea. So why do I keep finding projects set up this way, and why isn’t it a good approach? Continue reading