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.

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[...]

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[...]

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[...]

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[...]

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[...]

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[...]

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[...]

Why You Should Never Change Your Episerver CMS Database Schema

I never thought that I would have to write this article, but on a recent project, a fairly big agency thought it was a good idea to customize the Episerver schema.  I'm still not sure the reason.. but for anyone reading this, who are considering chan[...]

5 Best Practice Tips About Splitting Your Episerver Website Into Blocks and Pages

Over the years, I've worked with a number of agencies who build websites for companies and I've also worked for a number of companies directly.  Each type of organization typically has a different approach to how they architect a website. In an agen[...]

Configuration Over Duplication When Designing Your Episerver Website

On every project I've worked on in the past few years, a recurring theme is that UX/design create a number of similar components with slight variations.  An example of this might be a promo block, that has the same data model, e.g. text, summary and [...]

Homepage Learn Episerver CMS Episerver Developers Guide Episerver Best Practices, Tips and Tricks
Back to top