Legal Notice
The opinions expressed herein are my own personal opinions and do not represent my employer’s view in anyway.Top Posts
- Create C# Class from SQL
- C# HttpClient POST or PUT Json with content type application/json
- Run tasks in parallel using .NET Core, C# and async coding
- C# get results from Task.WhenAll
- C# Get expiry timestamp from JWT token
- Using C# HttpClient from Sync and Async code
- ASP.Net Core API - "'s' is an invalid start of a value. Path: $ | LineNumber: 0 | BytePositionInLine: 0."
Archive
Meta
Category Archives: Sitecore
Sitecore poor Index Update performance linked to missing Index in the Links database
Suddenly my index updates took forever to finish. I mean, one index update would take 2 minutes. And I have a lot of index updates. A lot. UPDATE: 2022-01-19: Sitecore have suggested the same changes to the links database in … Continue reading
Posted in General .NET, Sitecore, Sitecore 5, Sitecore 6, Sitecore 7, Sitecore 8, Sitecore 9
Tagged index, Linkdatabase, links, Sitecore
2 Comments
Why Sitecore Composable DXP is great news for developers and consultants
Sitecore announced that they will embrace the Composable DXP approach. DXP is, according to Gartner: A digital experience platform (DXP) is an integrated set of core technologies that support the composition, management, delivery and optimization of contextualized digital experiences. Gartner … Continue reading
Sitecore read from Custom Database
It is very easy to read from a custom database in your Sitecore code. STEP 1: ADD THE CONNECTIONSTRING TO CONNECTIONSTRINGS.CONFIG This is an example of a .config file that transforms the connection strings for existing Sitecore databases (like the … Continue reading
Posted in c#, General .NET, Sitecore, Sitecore 6, Sitecore 7, Sitecore 8, Sitecore 9
Tagged Configuration, Dapper, Sitecore, SQL
Leave a comment
Sitecore KeepLockAfterSave – Configuring Security Policies Per-Role Based
Now here is a nifty Sitecore trick. You have probably learned about the AutomaticLockOnSave feature that allows Sitecore to lock an item when it is saved. The feature is enabled or disabled using configuration setting (and can be negated with … Continue reading
Posted in Sitecore, Sitecore 6, Sitecore 7, Sitecore 8, Sitecore 9
Tagged KeepLockAfterSave, Locks, security, Sitecore
1 Comment
Sitecore ComputedIndexField extends your SOLR index
The Sitecore SOLR index is your quick access to Sitecore content. And you can extend this access by adding computed index fields. This is a way of enriching your searches with content that is not part of your Sitecore templates, … Continue reading
Posted in General .NET, Sitecore, Sitecore 5, Sitecore 6, Sitecore 7, Sitecore 8, Sitecore 9
Tagged Computed Index Field, Sitecore, SOLR
Leave a comment
Sitecore LinkField TargetItem is NULL – what’s wrong?
An ancient topic, that pops up once or twice every year. The TargetItem of Sitecore.Data.Links.LinkField returns NULL and you are CERTAIN that the item is published. What to do? CASE 1: THERE IS SECURITY SET ON THE TARGETITEM Items where … Continue reading
Posted in .net, c#, General .NET, Sitecore, Sitecore 6, Sitecore 7, Sitecore 8, Sitecore 9
Tagged LinkField, LinkManager, SecurityDisabler, Sitecore, TargetItem
Leave a comment
Which of my old Sitecore posts are still valid in Sitecore 9?
I have been writing Sitecore blog posts since April 2006. The first ones were for Sitecore 4.2. Now, 13 years later, some of the old posts are still valid, while others are obsolete as the Sitecore API have changed. But … Continue reading
Posted in .net, .NET Core, c#, General .NET, Sitecore, Sitecore 4, Sitecore 5, Sitecore 6, Sitecore 7, Sitecore 8, Sitecore 9
Tagged Sitecore
Leave a comment
Sitecore remove “Job started” and “Job ended” from log files
In large Sitecore installations with many background tasks you will find the following log lines over and over again: ManagedPoolThread #1 10:26:05 INFO Job started: xxxxx ManagedPoolThread #5 10:26:05 INFO Job ended: xxxxx (units processed: ) This is the Sitecore … Continue reading
Posted in Sitecore, Sitecore 6, Sitecore 7, Sitecore 8, Sitecore 9
Tagged Agent, Job, Log4Net, Sitecore
1 Comment
Create Sitecore items using PowerShell
You can use the Sitecore PowerShell Extensions for many trivial tasks. This script creates a “components” folder below all items from a root item: This script was created by my colleague Adam Honore, when I realized that I had forgot … Continue reading
So we are doing Sitecore MVP announcements now, are we?
Yes, again Sitecore thought that my rants about contacts, experience editor, SOLR, and other Sitecore related topics, are good enough to be awarded with the Sitecore MVP title. My first award was given back in 2010. Back then, the Sitecore MVP … Continue reading
Posted in Sitecore
Leave a comment