One of my first question about Sitecore ASP .NET Core SDK was that, is there any built in rendering side caching mechanism implemented already?
This is in consideration in the roadmap, we are looking at ways to expose publishing events to the rendering host to enable this.Nick Wesselman
Meanwhile, I thought I implement something simple to achieve this. The basic idea is to open and endpoint in the ASP .NET Core rendering host which will “clear” the cache. This endpoint can be called by the Sitecore CM while publishing. This is not a production ready implementation but could be a good starting point for you. So let’s start with it!
Continue reading “Sitecore ASP .NET Core SDK output caching PoC”
I published my last post a long time ago, but I faced new challenges while upgrading a Sitecore infrastructure from 9.0.1 to 9.3. As you all probably know, Identity Server is used as primary authenticator for CM environments by default.
Continue reading “Sitecore 9.3 CM with reverse proxy and Identity Server”
I got a feature request that I should store something on session start. In the old ASP.NET Framework world it was easy because we had
Continue reading “ASP.NET Core MVC – Start session extension modularized”
Globbal.asax.cs and its
Session_Start event. The original answer to this question is here. But, as I prefer
overengineering modular architecture and Sitecore Helix principles I wanted to make it extensible without touching this Foundation piece of code. As you probably know we have
Startup.cs instead of
DistributedSessionStore. To extend the Create method of the
DistributedSessionStore you can just simply inherit from its interface
The requirements are the following:
Continue reading “Find and replace external URL references with internal link”
- We have thousand of rich text components which has URL references to external pages
- These references needs to be replaced by an internal Sitecore item reference based on a field of the pages
This blog post is for you if you find the following warnings in Sitecore logs:
Continue reading “Diagnose Solr connectivity issues on production”
[Index=<indexname>] Crawling Paused
[Index=<indexname>] Synchronous Indexing Strategy is disabled while indexing is paused.
IndexingStateSwitcher: Indexing is not resumed since indexes have not been initialized yet…
Exception: SolrNet.Exceptions.SolrConnectionException, Message: Unable to connect to the remote server
On of my project we switched from TDS to Unicorn. After we configured Unicorn and set up dependencies between configurations I wanted to verify that every item was migrated from TDS (
Continue reading “Switching from TDS to Unicorn – some useful verifying SQL scripts”
*.item) to Unicorn (
*.yml) in the database successfully.
I wanted to install Solr 6.0.1 on my brand new laptop for Sitecore 8.2 after I already installed Solr 7.2.1 for Sitecore 9.1. I thought it will be easy because I have already a Java environment installed. I had 2 issues.
Continue reading “Solr install – Unrecognized VM option ‘PrintGCDateStamps’”
Sitecore provides you the possibility to implement your own layout resolver if the default one is not enough for you. Basically you can change the layout of a page based on a business logic without changing the item in the database.
Continue reading “Custom layout resolver”
In the last days I had to discover why on first load of the IIS site SitecoreContext.Database is null.
Continue reading “Glass Mapper – SitecoreContext.Database is null”