Revisiting waiting for Kubernetes deployments

Some time back, when I was looking at how to release containerised Sitecore into Azure Kubernetes Clusters, I worked through the question of “how do I make DevOps wait for the new images to be deployed”, because you might want to run further work after the new containers are spun up. While what I tried back then was mostly working, I’ve found some reasons to try a different tack since then. Continue reading

Patching Kubernetes config

Deploying Sitecore (or anything else) in containers has been a big learning curve for me. Every so often I come across a new aspect of the whole business that I’ve not seen before. This week, another agency’s work showed me a new thing which might help with making changes to Kubernetes config. The approaches I’d seen to deployments involved pushing all of the Kubernetes config each time you want to release, but it turns out you may not need to do that… 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

Security fun with Azure Kubernetes Service

I’ve been working on a deployment of Sitecore using containers recently, and hit a scenario which isn’t discussed much in the Microsoft documentation: How do you go about setting it all up if you can’t use Active Directory accounts across your DevOps and Azure instances? Having done some digging, here’s what I’ve learned so far: 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

I think I found my reason not to use VS2019 for everything..

I’ve been using VS2019 for all my personal development work pretty much since the first preview came out. For general coding and debugging it’s been good so far – stable, and effective. And little things like git stash control from the UI make me happy… It got its full release recently, just before I spoke at SUGCON 2019 – where I said I’d blog something about how 2019 changed the performance measurement stuff that I was presenting. Having done some tests in the last few days, it’s not looking so shiny any more… Continue reading

Memory deltas in Visual Studio debugging

Working on a couple of personal projects recently, I’ve been reminded again how helpful I find the profiling tools that Visual Studio’s debugger gives you. As you may have guessed from some of my previous posts, every so often I get to worry about the performance of .Net code at work – but it’s useful for any sort of project, not just Sitecore. And investigating some issues in my own code, memory snapshots and deltas helped me out again. So maybe they could help you too? Continue reading

Measure if you want to go faster!

I got the chance to speak at the Manchester Sitecore user group recently, introducing some tools and tricks that can be used to measure site performance while you’re developing your Sitecore code.

For anyone who wasn’t there (and those who were but, want to refer back to what I said) here’s a summary of the important bits of content from that talk…
Continue reading