Loading...

Emer's Blog

My Sitecore adventures

Custom Sitecore 404 Page in a controller and writing a unit test

Recently I had to create a custom pipeline for a 404 page in Sitecore and write a unit test for it. I am going to demonstrate how to implement 404 page in a controller action and then we are going to write a unit test for it.

Read more

Sitecore Custom 301 Redirects Pipeline using a CSV file

There are already couple of 301 Redirect modules for Sitecore but what if you just want to use a single CSV file with thousands of 301 redirects and do it without any updates to the Sitecore content tree...

Read more

How to bundle css and js files in Sitecore MVC

Let's go over how to bundle your css and js files in Sitecore MVC. We are keeping it simple today.

Read more

Sample unit tests for a Sitecore pipeline

Just a quick overview of couple of unit test samples for a custom Sitecore pipleline utilizing Glass Mapper and Moq.

Read more

Importance of making sure that correct xmlns:patch attribute is in included Sitecore config files

Weird issue you might encounter if you don't have correct xmlns:patch attribute in your included Sitecore config file.

Read more

Sitecore Experience Accelerator - Set Rendering Datasource to Parent

Sitecore Experience Accelerator (SXA) is a great new Sitecore tool with lots of potential. Unfortunately, setting rendering datasource to parent isn't straightforward.

Read more
Disclaimer
This is a personal blog. The opinions expressed here represent my own and not those of people, institutions or organizations that the owner may or may not be associated with in professional or personal capacity, unless explicitly stated.. In addition, my thoughts and opinions change from time to time I consider this a necessary consequence of having an open mind. This blog disclaimer is subject to change at anytime without notifications.