Author Archives: Volodymyr

Fix for Security and Indexing Events – Sitecore 8.1

Recently I played around with Security and Indexing events but was not able to get them to work on the latest Sitecore 8.1 rev. 151207 (Update-1) version. However, I was unable to trigger any events. This issue involves two event … Continue reading

Posted in C#, Sitecore | Tagged , | Leave a comment

Razl – Keep Your Sitecore Synchronized

Let’s talk about Sitecore synchronization. Sometimes a new feature needs to be tested with a set of real data. For example: Content Management(CM) data a UAT server. There are common approaches like restoring DBs, creating packages, serializing items, etc. However, … Continue reading

Posted in build, PowerShell, Razl, Sitecore | Tagged , | Leave a comment

How to avoid NullReferenceExceptions while working with Sitecore

Today we’ll talk about our favorite exception in C# 🙂 The purpose of this article is to help rid the codebase of nulls and create somewhat of a “null-safe” domain where everything can operate smoothly without nulls creating object property … Continue reading

Posted in C#, Sitecore | Tagged , | Leave a comment

GIT repository cleanup

The project has been moved from the TFS & TFVC to the VSO & GIT and I was surprised by the size of one of my GIT repositories – it was 13GB! This is quite large for a GIT repo … Continue reading

Posted in BFG, cleanup, GIT, GIT-TF, TFS | Tagged , , , , | 1 Comment

MS SQL databases restore with TFS Team Build and PowerShell

Currently I’m working on a web project with a few environments like Dev, POC, QA, UAT, Staging, etc. Once per sprint we have to synchronize our DBs from Staging to other servers to make sure all environments are on the … Continue reading

Posted in PowerShell, TFS | Tagged , | Leave a comment

Run batch file from TFS build?

From time to time, I have to run batch files to perform some cleanup or restore jobs on CI servers. Usually this is as simple as logging into the remote server and manually launching a batch file. But what about … Continue reading

Posted in build, TFS | Tagged , , | 1 Comment