Automating Git
Jeremy Davis | July 20, 2024
I've written a
few times before
about trying to smooth out the rougher edges of the process of blogging with some custom tooling. Both the site generator I'm using these days, and the simple editor tool I hacked together to suit my writing process. I realised recently that one of those rough edges that remained in the process was the need to manually commit my writing to source control, so I wondered what it might take to wire that into my editing tool...
Read: https://blog.jermdavis.dev/posts/2024/automating-git
Jeremy Davis | July 20, 2024
I've written a
few times before
about trying to smooth out the rougher edges of the process of blogging with some custom tooling. Both the site generator I'm using these days, and the simple editor tool I hacked together to suit my writing process. I realised recently that one of those rough edges that remained in the process was the need to manually commit my writing to source control, so I wondered what it might take to wire that into my editing tool...
Read: https://blog.jermdavis.dev/posts/2024/automating-git
What happens if you duplicate field names?
Jeremy Davis | July 20, 2024
Data Template inheritance. Most of the time it's great and a powerful tool to help you define your content schema effectively. But there are a few places where it can trip you up - and one of the interesting ones is duplicated field names. I found myself chatting about what actually happens and how this might affect PowerShell scripts and headless code recently, and it seemed worth writing down...
Read: https://blog.jermdavis.dev/posts/2024/duplicate-field-names
Jeremy Davis | July 20, 2024
Data Template inheritance. Most of the time it's great and a powerful tool to help you define your content schema effectively. But there are a few places where it can trip you up - and one of the interesting ones is duplicated field names. I found myself chatting about what actually happens and how this might affect PowerShell scripts and headless code recently, and it seemed worth writing down...
Read: https://blog.jermdavis.dev/posts/2024/duplicate-field-names
A key trick that makes search fast
Jeremy Davis | July 20, 2024
Recently I added a basic
search page
to my blog. This is a pure static site, hosted on Github Pages, so there's no Solr or Algolia here. Just some clever JavaScript (Lunr.js) acting on data generated by
Statiq. Setting that up made me think about the internals of how a search can work efficiently, and I figured others might be interested in this...
Read: https://blog.jermdavis.dev/posts/2024/key-trick-fast-search
Jeremy Davis | July 20, 2024
Recently I added a basic
search page
to my blog. This is a pure static site, hosted on Github Pages, so there's no Solr or Algolia here. Just some clever JavaScript (Lunr.js) acting on data generated by
Statiq. Setting that up made me think about the internals of how a search can work efficiently, and I figured others might be interested in this...
Read: https://blog.jermdavis.dev/posts/2024/key-trick-fast-search
Scripting your data with SSMS
Jeremy Davis | August 20, 2024
As developers we often need to move data between SQL Server instances. Some of the time database backups are fine for this, because you want to move everything. But on occasion what you need is a SQL script which can insert some rows of data you had on another server for you. And when I find myself needing this feature, I also find myself having to google how to do it. So to help my memory, here's how to generate scripts for your data:
Read: https://blog.jermdavis.dev/posts/2024/scripting-data
Jeremy Davis | August 20, 2024
As developers we often need to move data between SQL Server instances. Some of the time database backups are fine for this, because you want to move everything. But on occasion what you need is a SQL script which can insert some rows of data you had on another server for you. And when I find myself needing this feature, I also find myself having to google how to do it. So to help my memory, here's how to generate scripts for your data:
Read: https://blog.jermdavis.dev/posts/2024/scripting-data
Effective observability using OpenTelemetry and Sitecore MVC
Per Bering | August 22, 2024
Implementing support for OpenTelemetry metrics, tracing and logging in Sitecore MVC
Read: https://invokecommand.net//posts/sitecore-mvc-otel
Per Bering | August 22, 2024
Implementing support for OpenTelemetry metrics, tracing and logging in Sitecore MVC
Read: https://invokecommand.net//posts/sitecore-mvc-otel
Fun gotchas with Sitecore GraphQL and .http files
Jeremy Davis | August 20, 2024
I was having a chat recently about alternatives to
Postman
if you needed to send HTTP requests to arbitrary web endpoints. I mentioned using Visual Studio's support for
.http
files for this during that discussion, and then found myself trying it out for some work too. But it seems there's a couple of tricky little bugs hiding in here, which tripped me up when I tried to set up a call to one of Sitecore's XM Cloud GraphQL endpoints.
Read: https://blog.jermdavis.dev/posts/2024/problems-with-gql-http-files
Jeremy Davis | August 20, 2024
I was having a chat recently about alternatives to
Postman
if you needed to send HTTP requests to arbitrary web endpoints. I mentioned using Visual Studio's support for
.http
files for this during that discussion, and then found myself trying it out for some work too. But it seems there's a couple of tricky little bugs hiding in here, which tripped me up when I tried to set up a call to one of Sitecore's XM Cloud GraphQL endpoints.
Read: https://blog.jermdavis.dev/posts/2024/problems-with-gql-http-files
What looks good on the Symposium agenda?
Jeremy Davis | September 20, 2024
Having sorted out my travel plans for
this October's Symposium and MVP Summit in Nashville, I've been having a think about what sessions I'd like to go and see. Here's a summary of my thoughts so far...
Read: https://blog.jermdavis.dev/posts/2024/what-looks-good-symposium
Jeremy Davis | September 20, 2024
Having sorted out my travel plans for
this October's Symposium and MVP Summit in Nashville, I've been having a think about what sessions I'd like to go and see. Here's a summary of my thoughts so far...
Read: https://blog.jermdavis.dev/posts/2024/what-looks-good-symposium
Docker might not like your Sitecore secrets
Jeremy Davis | September 20, 2024
I quite often clone Sitecore's Docker Examples repo and spin up a Sitecore instance to experiment with. It's a quick way to create a disposable site which I can easily configure and deploy little bits of test code to. But recently I did this and noticed some odd warnings. So here's what happened and why, to help you avoid the same issue...
Read: https://blog.jermdavis.dev/posts/2024/docker-sitecore-secrets-warning
Jeremy Davis | September 20, 2024
I quite often clone Sitecore's Docker Examples repo and spin up a Sitecore instance to experiment with. It's a quick way to create a disposable site which I can easily configure and deploy little bits of test code to. But recently I did this and noticed some odd warnings. So here's what happened and why, to help you avoid the same issue...
Read: https://blog.jermdavis.dev/posts/2024/docker-sitecore-secrets-warning
What's the 'minimal change' to use Entra External ID for public login with Sitecore?
Jeremy Davis | October 20, 2024
I did a little proof-of-concept hacking recently around the idea of "what's the least work required to allow your existing Sitecore website public login to move to Entra". I ended up with the bones of an interesting approach, which might be of interest to others. So read on for ideas:
Read: https://blog.jermdavis.dev/posts/2024/minimal-change-entra-sitecore
Jeremy Davis | October 20, 2024
I did a little proof-of-concept hacking recently around the idea of "what's the least work required to allow your existing Sitecore website public login to move to Entra". I ended up with the bones of an interesting approach, which might be of interest to others. So read on for ideas:
Read: https://blog.jermdavis.dev/posts/2024/minimal-change-entra-sitecore
My post-Symposium wrap up
Jeremy Davis | October 20, 2024
Symposium is over for another year. I have
mostly
recovered from the jet-lag now and I've wrestled my inbox into submission at work. So it's time to write up my thoughts on the conference. I took about 35 pages of notes over the course of the week, plus countless photos of slides. So from all that what stuck out as interesting to me?
Read: https://blog.jermdavis.dev/posts/2024/post-symposium-wrap-up
Jeremy Davis | October 20, 2024
Symposium is over for another year. I have
mostly
recovered from the jet-lag now and I've wrestled my inbox into submission at work. So it's time to write up my thoughts on the conference. I took about 35 pages of notes over the course of the week, plus countless photos of slides. So from all that what stuck out as interesting to me?
Read: https://blog.jermdavis.dev/posts/2024/post-symposium-wrap-up
Extracting blog article headings for navigation
Jeremy Davis | November 20, 2024
I've wanted to add some logic to this site to display article headings as navigation for a while. And I've also been thinking it would be helpful if you were able to link directly to headings. Pleasingly the Statiq engine makes doing this pretty simple, so here's how my attempt works:
Read: https://blog.jermdavis.dev/posts/2024/extracting-article-headings
Jeremy Davis | November 20, 2024
I've wanted to add some logic to this site to display article headings as navigation for a while. And I've also been thinking it would be helpful if you were able to link directly to headings. Pleasingly the Statiq engine makes doing this pretty simple, so here's how my attempt works:
Read: https://blog.jermdavis.dev/posts/2024/extracting-article-headings