Respect The Block! How To Decide What Should Be A Block When You Start A New Episerver Project

Episerver projects are unique in nature compared to most other web projects. In today's guide, I'll cover some basic principlesI recommend you follow when you start planning out your project. As Spiderman once famously said, with great power comes great responsibility. Even though on first appearances Spiderman and Episerver don't have much in common, that […]

What To Do When Your Client Doesn't Listen To You?

I remember one example of this happening a few years ago. In a meeting, the test manager made a number of recommendations about the sign-off process. The person in question had specialized in testing for several years and knew what he said. I can't remember the specifics of the meeting, but basically, his suggestions were […]

How To Turn Your Design Into A CMS Website

If you're at the start of a new web project and the PSD's have been signed off and delivered, it can be tricky to decide how to tackle the CMS integration. I've worked with clients and agencies throughout the UK and there is generally two approaches, create a HTML version and then integrate it, or, […]

How To Use C# Classes To Create Custom Database Tables and Repositories With Umbraco

Today, I'm going to talk about a sensitive area for some developers. Creating custom tables within your CMS database. Custom tables within your CMS database are frowned upon by a lot of purists. In a lot of situations, I consider myself to be in this camp. If you build you application logic within your website, […]

How To Create A Search Page In Umbraco

Do you need to implement a site search within your Umbraco website, then read on. Search is technically one of the pages on a lot of projects. A basic search is pretty easy to get started, but the further down the rabbit hole you get, the more complicated things become. Before I panic you too […]

How To Create A Paginated List In Umbraco

Displaying lists on a website is another requirement of almost every website, website search, blog posts, latest news the list could go on and on. If you find yourself wanting to create a list in Umbraco and need some advice, then read on. Front-end Vs Back-end As I write this it's 2017 and over the […]

One Essential Tip All Developers Should Follow To Ensure A Happy Life

Do you want a happy life? Read on to learn one tip that could make your life a lot more enjoyable. I have a lot of people reach out to me through this site, some are just starting out, some are permanent, freelance or contractor and the interesting thing is that some projects sound like […]

How To Add A Recapture Within Your Umbraco Website

Spam is annoying, wasting hours deleting spam is also annoying; if you want to make your life a little easier then read on. CAPTACHAS were introduced to try and stop magic robots from taking over the world... well your inbox at least. If you have ever managed or run a wordpress site that has a […]

How To Create A Web Api In Umbraco In Less Than 5 Minutes!

Building an API within a project is a pretty standard process now. When you use .NET and MVC you can use web API to set-up an API layer pretty easily. In a standard .NET approach, you create a service that inherits from a controller, define some routes, update your route config to point to your […]

How To Render Rich Text In Your Views When You Use Strongly Typed Models Within Umbraco

When you work with Umbraco, or in fact any MVC or .NET website I always recommend trying to work with strongly -typed models. In case you're fairly new to .NET and that statement confuses you, what I mean is that you should always work with C# classes instead of hard-coding strings all over your code […]

How To Display Code Snippets On Your Umbraco Website

If you're working on a website that needs to display code (like this one), then you'll need a way to make it readable and look cool. Instead of wasting your time trying to write something yourself, it's much easier to implement a ready-made off the shelf solution. In today's tutorial I'm going to tell you […]

Umbraco: Document type inheritance for document type with '' alias, cannot be updated.

If you have read any of my getting started with Umbraco guides, then you'll know that I recommend and favour using strong types objects with Umbraco.  As Umbraco doesn't allow you to work with strongly-typed objects out-of-the-box, you'll need to use a third-party package, or write something yourself. I recommend looking at uSiteBuilder, however, when you work […]

Is the JS CMS The Way Of The Future?

Have you ever had a drunken conversation at the pub, where you come up with an amazing idea only to never do anything about it?  We came up with a concept for a Javascript CMS in 2014, which seemed like a good idea but probably a little too much work and effort to actually develop.   […]

Umbraco: How To Get The Url From An IContent

This is a quick post for those of you struggling to figure out how to get the URL for a page within Umbraco by code. Figuring out the friendly Url is something that you will need to do sooner rather than later, when you're creating a website. You'll obviously need a menu, or you'll need […]

How To Create A New Episerver Database?

As developers, we often want to experiment and tinker around with things.  The annoying part of this is that our development databases can often get destroyed or corrupted.  To make life easier, Episerver introduced a quick and easy way for us to create a clean database.  In today's post, I'm going to show you how […]

UmbracoHelper Vs ContentTypeService

Umbraco has several useful APIs and one common misconception is when to use the UmbracoHelper, compared to the ContentTypeService. If you look at the constructor of the Umbraco Helper, it takes an UmbracoContext as a parameter and this is when the first big difference appears. The UmbracoContext, like the normal.NET HTTP Context, works on a […]

Umbraco, Unable to publish - String or binary data would be truncated on Saving

This error can be a bit of a school boy error. I've only usually bumped into it when I've been in the midst of a content migration phase and using something like uSIteBuilder. When importing text once in a while I'll see the 'Unable to publish - String or binary data would be truncated' when […]

The Umbraco ApplicationEventHandler Explained

On a lot of projects, you’ll need to hook into the Umbraco pipeline. In today's tutorial, I'll briefly explain why you may want to consider using an ApplicationEventHandler, what sort of things you can use it for and the code you'll need to write in order to create one. What things will I put in […]

Umbraco : GetRootContent Resolution is not frozen, it is not yet possible to get values from it

If you run into this error, then it's likely that you're trying to do some form of Umbraco API call in application event handler, or, in some custom code outside of the normal route hi-jacking path. The error basically means the Umbraco context hasn't got far enough into the pipeline to set everything up. In […]

An Introduction To Use Episerver with MVC

Episerver has supported MVC since Episerver version 7 and since then hundreds of websites have been built using it. For those of you new to .NET, MVC is an architectural pattern that makes it easier for you to rewrite code that is easier to maintain, test and implement, compared to the first method, called Web […]

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 to change.  One of the main issues you'll encounter is not having […]

Why You Need To Upgrade Your Sitecore CMS

A common question I frequently get asked by marketing and business folk involves upgrading. Anyone who has worked with a CMS system for a long period of time will usually have a horror story about an upgrade; the upgrade might have been promised to take a few hours but ended up taking months. In general, […]

How To Create A Clean Umbraco Database?

As developers, we often want to experiment and tinker around with our website, one side effect of this is that databases tend to end up corrupting the database, or, wanting to start from scratch.  Luckily, with Umbraco, this is very easy and in today's tutorial, I'm going to go over the process to create a […]

How To Debug Your Umbraco Website Using the Health Checker

If you are using Umbraco 7.5+ you can use the 'Health Check' to check that your website is configured correctly.  Historially, to check your Umbraco configuration, you had to manually validate that your web server had the correct configuration.  For example, if you run Umbraco in a load balanced environment, then this involves remoting onto […]

2017 Web Development Digital Trends Predictions

Web development has got to be included in one of the fastest changing sectors in the world, so trends come and go faster than you can blink. I had learned Angular on my to-do list last year and then Angular 2 was released in beta, which changed things. .NET and Linux:  At Connect 2016, Microsoft announced […]

15 Reasons Why Visitors Leave Your Website In 10 Seconds

Have you ever wondered why some people leave your website so quickly?  Just because you spend time and money building a website doesn't mean anyone is going to visit it, let alone stick around long enough to read anything.  It’s not easy to continually churn out good content which is well laid out, with good […]

A Gentle Introduction To EpiCommerce

Creating and planning your first e-commerce project can be a daunting thought. E-commerce websites are complex and in general an e-commerce website will have a lot more moving parts and things to consider compared to a standard website. The primary focus of this post is for beginners completely new to e-commerce with the aim to educate […]

How To Create A Layout For A Sitecore Page

This is the fourth article in the 'Creating Your First Sitecore Page' series, we'll finally get around to discussing our web pages presentation. In Sitecore, when we talk about presentation and rendering text, CSS, JS and images onto our pages, we talk about layouts. What Is A Sitecore Layout? In the previous articles, we've created […]

A Reflective Look At 2016s Digital Trends

January is usually the time where people are the most reflective.  Gyms meet the people who'll pay their bills for the rest of the year but will only turn up for a  few weeks, offices will start to fear no one will drink ever again while others will have smoked the last cigarette of their lives.  What better […]

How To Create A Template For A Content Page In Sitecore

This is the third post in the 'Creating Your First Sitecore Page' series. In the last article, How To Create A Master Data Template In Sitecore, we created a master template. The purpose of the master template is to define a schema for all the common properties that exists on all of our web pages. […]

How To Create A Master Data Template In Sitecore

In the last article, I talked about breaking a web page down into Sitecore components, the first being the data-template. A Sitecore template is the fundamental building block for every Sitecore page. A data template can be thought of as a schema for your Sitecore content. What Does A Sitecore Data Template Look Like? A […]

How To Architect Your First Sitecore Page... Sitecore Fundamentals Explained

This post assumes that you are completely new to CMS development and that you don't know anything when it comes to creating a page in Sitecore. By the end of this article, you will hopefully have a basic understanding about how to convert a design into Sitecore items. Introduction To CMS Development Let's start at […]

Faster Redis and Easy Object Caching in Episerver

This is my second post regarding Redis. In How To Implement Redis With Episerver Easily . In my last post, I talked about the benefits of using Redis as a session state provider and a cache manager. To recap the article, Redis provides a persistence cache, you can reboot your Redis server and your users […]

Security Concerns You Need To Consider When Developing an Umbraco website

Umbraco security should be a topic of huge importance for every website owner. Google blacklists over 20,000 websites each week and Cybercrime damages are expected to cost the world $6 trillion by 2021. If you are serious about your brand, your company and your website, then you need to consider some Umbraco security best practices. […]

How To Add Dynamic Fields And Page Information To An Umbraco Template

This is the fourth article in 'Creating Your First Umbraco Page' series.  So far we've split a very boring HTML page into a master layout, header component, footer component and a homepage template.  So far the page is all hard coded and content editors can't update any of the text.  In today;s guide, we're going […]

Creating A Header and Footer Using Partial Views In Umbraco

How To Create A Master Layout In Umbraco

How To Architect Your First Umbraco Page

This post assumes that you know nothing of creating a page in Umbraco or MVC. By the end of this article, you will understand what a layout is, what a template is and what a partial view is. These are the fundamental concepts of creating your first page, that you can use in the real-world. […]

What Is A Sitecore Item?

In today's post, I'm going to talk about Sitecore Items.  A Sitecore 'item' is the basic building block for everything that makes up a Sitecore website.  Forget about C# and HTML files for now, as Sitecore items have no relation to actual real files on a filesystem.  A Sitecore 'item' is a virtual object that lives within […]

How To Enabled HTTP2 With Episerver

Over the last year or so, HTTP/2 is becoming a more widely adopted feature.  In today's post, I'm going to talk about what HTTP2 is, why you should be using it and how to implement it with your Episerver website. What Is HTTP/2? We all know and love HTTP but it's getting on a bit […]