How to find items with duplicated names using sitecore powershell

Sitecore 10 by default does not allow having two items with the same path. If you have items like that, here is a script that you can use to find and fix such items.

Read More

How to configure package source mapping

In Sitecore projects, we usually have more than one feed soure for packages and during restore nuget will do a request to each of them to find a package. That means many unnecessary network requests. Fortunatelly, there is a way to map packages to a source.

Read More

How to optimize build times for mvc views

In Sitecore projects, with many projects in a solution and huge number of view files, building mvc views can significanlty increase total build time. That time can be reduced by using MSBuild incremental build feature.

Read More

Are you hitting Redis requests per second (RPS) limit?

In this article I show how to check if you are hitting Redis RPS limit.

Read More

How Powershell slowed down the script to copy MediaCache from prod to stage slot

Here is the updated version of the script that copies MediaCache from prod to stage slot during deployment with Azure DevOps. It uses WebClient instead of Invoke-RestMethod.

Read More

Async Dianoga behind Azure CDN (Verizon Premium)

How to configure Dianoga to compress images asynchronously behind CDN.

Read More

Custom Application Insights Adaptive Sampling Processor for Sitecore

There are some log lines that you would like to store every time, without any reduction, sampling. For example AUDIT logs. It's useful to check AUDIT logs to see what happened in the system, who edited a particular item and when. In this article, I will show you how to create a custom AI adaptive sampling processor that will keep all AUDIT logs.

Read More

How to setup load tests with Taurus BlazeMeter on Linux VM on Azure and plug it into a release pipeline on Azure DevOps

I created a short step by step video, where I demonstrate how to setup load tests with Taurus (BlazeMeter) on Linux VM on Azure and then how to plug it into a release pipeline on Azure DevOps.

Read More

NDepend for Sitecore Helix projects

How NDpend can help to keep track of Helix design principles.

Read More

Simple techniques to improve site performance

In this article I demonstrate how I improved site performance with a few simple techniques.

Read More

Dont forget to clear your session storage during Sitecore upgrade

A short story how to fix ERROR ProcessExpiredItems => System.Runtime.Serialization.SerializationException: Cannot get the member '<.ctor>b__2'. excetpion.

Read More

How to fix a Redis timeouts

I have seen Redis timeouts in all my projects. In this article I provide a list of most probably causes and solutions.

Read More

How to copy MediaCache from prod to stage slot during deployment with Azure DevOps

Generating media cache every time you do deployment is a waste of CPU. In this article I show you how to copy MediaCache folder from prod slot to stage slot during deployment.

Read More

How to extend MSBuild to copy indirect references

In this article I will show simple msbuild target that allows to copy indirect references.

Read More

Application Insights Logs Exporter

Sometimes you need to export more than 10000 of logs from Application Insights. I wrote a tool that can help.

Read More

VIDEO: Speed comparison of gulp vs MSBuild build & publish

In this video I demonstrate difference in the speed of build and publish of Habitat solution between Gulp and MSBuild.

Read More

How to extend MSBuild to execute Unicorn Sync action

After Build and Publish it's time to sync items with Unicorn. MSBuild can do that as well and extension is quite simple.

Read More

How to extend MSBuild publish pipeline to apply transform files

MSBuild can apply our transform files. It actually does this for Web.config out of the box. We can use it to apply transform files to other config files in Helix solution.

Read More

How to extend MSBuild publish pipeline to copy content files from all Helix modules to the output

It's possible to drastically speed up the publish process by extending MSBuild to publish all projects in a single pass instead of using gulp.

Read More

MSBuild Build and Publish pipelines

The Microsoft.Common.targets file defines two main pipelines: Build and Publish. Here is a short summary of both.

Read More

MSBuild extension points

MSBuild offers a few ways you can extend build and publish process with your custom code. It's not a complete list but just a summary of the most useful techniques.

Read More

MSBuild basics for Sitecore devs

MSBuild can be your friend. Especially in Helix projects. We can extend MSBuild to build Helix projects the same way as gulp scripts do, but much, much faster. It's a first article in a msbuild series.

Read More

Unexpected side effect of the EditContext

There is one unexpected side effect of the EditContext that I didn't know about. Did you?

Read More

How to configure SolrCloud and Zookeeper on Azure behind VPN

I created a video where you can see how to configure SolrCloud and Zookeeper on Azure behind VPN for you Sitecore projects.

Read More

How to replace variables with values from ConnectionStrings or ApplicationSettings in Sitecore config files

I created an extension to Sitecore Config Reader class that allows to replace variables with values form Connection Strings or Application Settings.

Read More

The best SIF modification for local development

My custom SIF installation (and uninstallation) scripts for local development.

Read More

Memory optimisation in Sitecore

How to lower memory consumption in Sitecore.

Read More

Theoretically your custom index can rebuild 4 times faster

It'a theoretical example of how much faster index rebuild can be if you exclude not nesesery fields.

Read More

How to resize and compress images (with Dianoga) during upload to Sitecore media library

I describe here I implemented functionality to resize and compress images during upload to media library.

Read More

Quantus - the library to handle plurals of nouns for Sitecore Dictionary and Habitat Dictionary

I created library that helps with handling plurals of nouns for different languages in Sitecore.

Read More

Search Query Performance: From 800ms to 70ms

A few tips about how to get the best performance of your search query.

Read More

How to create a helix serialization module with Unicorn 4.0 from scratch

I created a video where you can see how to create a helix serialization module with Unicorn 4.0 from scratch.

Read More

How to configure Visual Studio to do local publish

I created a video where you can see how to configure Visual Studio do local publish.

Read More

How to create a Sitecore Helix solution from scratch

I created a video where you can see how to create a new Sitecore Helix solution from scratch.

Read More

How to organize your Sitecore custom configuration files

See how to organize your Sitecore custom configration files.

Read More

How to populate sitecore with test data using powershell

If you want to populate sitecore with some test data you can use powershell. I put here sample script and a few informations about its performance.

Read More

How to query for unused assets in media library in sitecore using powershell

If assets in media library in sitecore are stored in the database after some time your db can grow to considerable size. I created the powershell script, which can query for unused resources larger than 1MB.

Read More

AutoHotkey - brilliant tool that can make your life easier

A few weeks ago I decided to install a brilliant tool which is AutoHotkey. Since then I have used it every day. See how it can help you.

Read More