Sitecore containers and expired licenses

Sometimes you have a problem that you should absolutely have seen coming. The annual “the company’s Sitecore license has expired” fun is very much one of those things. But I’d not thought about this in advance, and the license expired while I was on holiday this year. It caused my team a load of hassle… But I have a plan to avoid this pain in the future: Continue reading

The power of implicit conversions

There are bits of the C# language that we don’t think about too much when writing websites – and implicit conversions are one of those things. But while I’ve been messing about with some ray-tracing code in evenings recently, I found a couple of examples they patterns they can be a help with… Continue reading

A second pass at async pipelines

Last time out I was looking at applying async/await patterns to some pipeline patterns for C#. After I came up with the initial solution I outlined in that post, there was some more back-and-forth in the discussion thread that prompted all this. And that discussion made me realise there was an interesting side effect of the code I wrote, which might lead to some confusing bugs. So back to the drawing board… Continue reading

Pipelines and async

Ages ago I wrote some posts about an approach to pipeline-style code patterns for C# code. Recently I got a question on a gist I’d written to go with that article, because someone was having issues adding async code into pipeline components. Async patterns are much more common now, but this wasn’t something I’d actually tried. Cue some interesting experiments… Continue reading

Peeking into search queries

An issue I’ve bumped into a number of times over the years, is that sometimes developers want to be able to look at the query that got generated when they did something with Sitecore’s ContentSearch APIs. The traditional answer of “go look in the logs” is one way to deal with this, but some recent project work got me wondering if there were alternatives… Continue reading

Broken Unicorn synchronisation

Ever had a tool that works reliably suddenly not work? I had a problem like that recently, and it lead to some experimentation that I think I may need to come back to later. So this is mostly so I can remember what I was doing when I get back to this. But as we move toward a more “platform agnostic” with more use of .Net Core on Linux, maybe there’s something here that might help you too… Continue reading

Experimenting with Content Hub integration

I’ve got a project on the cards where I need to connect both Sitecore and a third-party image capture system to Content Hub. While I’ve done the official admin & developer training for Content Hub, I thought it would be worth a quick proof-of-concept so that I could verify the plan I had would actually work – and it turned out that there was an interesting issue hiding under this… Continue reading