Episerver Best Practices, Tips and Tricks


The term ‘best practice’ is something every developer reading this should want to aim for. A Google search of ‘coding best practices’ returns over 1.5 million results, which shows what a hot topic it is. I’ve been building CMS websites for over a decade and in that time I’ve seen some really well-architected websites and I’ve seen other project that has been scrapped immediately. The difference between those projects is usually based on how well it was built in the first place. Now that you know the basics of building an Episerver website before you leave I’m going to tell you some tips to make sure the code you write is something you can be proud of.

1

10 Essential Sitecore Tools For Developers

In today's post, I'm going to cover a few essential tools anyone new to Sitecore should check out. Team Development for Sitecore (TDS) TDS, in my opinion, is a MUST for Sitecore development. TDS is a commercial tool that dramatically improves your [...]

2

An Unofficial Guide On How To Log a Sitecore Support Ticket

To log support issues with Sitecore you need to meet a few criteria: A valid Sitecore developer account to log into the portal A valid Sitecore project with a current license If you meet these criteria, you can then head over to support.si[...]

3

Dependency Injection In Episerver - ServiceLocator and Injected Explained

Dependency injection is a fairly standard computer science topic nowadays, but I still see a lot of confusion over how dependency injection works within Episerver. In today's guide, I'm going to cover the tools Episerver give us developers out the bo[...]

4

Episerver 9 - Useful SQL Commands

Like all CMS solutions, Episerver stores your website's data within a database and provides a brilliant collection of API's to allow developers to access that data. When we build a website, developers should never directly call the CMS database for n[...]

5

Episerver DXC - How To Architect Your Episerver website in the new world

I've talked previously in Episerver DXC – What Is It? about the new hosting and service offering from Episerver. If you decide to work with DXC, or indeed the cloud, then some of the old patterns and technologies that you've become used to will need[...]

6

Episerver Structure Map Guide

With the release of Episerver 7, having a good understanding about dependency injection is critical to making a successful project. Out of the box, Episerver uses structure map so you don't have to add it in. You will need to be able to configure i[...]

7

How To Enable Beta Features In Episerver

Since Episerver has adopted the rapid-release cycle for their development process, a lot more beta code is now available. Out of the box, Episerver beta functionality is disabled by default.  Unless you specifically enable it, beta features will be u[...]

8

How To Get Page Revisions For An Episerver Page

When you work with content in the CMS you may need to work with older versions.  When you use the API's like IContentRepository or IContentLocator they will always return you the latest version of the content.  99% of the time you won't need to worry[...]

9

How To Prevent A Single Block Exception Taking Down Your Whole Episerver Page

Episerver provides content editors with a lot of flexibility for configuring content.  Gone are the days of having lots and lots of different templates.  On my projects, I would typically have less than 20 page types and then x number of blocks.  One[...]

10

The Do's And Dont's When Storing A Reference To Episerver Content In An External Data Source

Sometimes, when we work with Episerver, we may need to store a reference to an Episerver content item in a third-party service or database. On a recent project, I came across a situation where a developer had chosen to just store the ID part of a con[...]

Back to top