Episerver Event Listeners

This section covers event handling in Episerver.   Event handling within your website can cover many aspects, you can hook into page events, so when you publish a page you may want something to happen.  On the flipside of the coin, you may want to create a real-time application feature on your website that will require third-party libraries to be integrated within Episrver.

This page is split up into two sections.  The first is Event handling in Episerver.  This section explains how you can do this by hooking into the Episerver events pipeline.  I would recommend starting off reading this post, How to Hook Into The Episerver CMS Events Pipeline.

The second part, is how to deal with event handling within your website itself.  This covers topics such as long polling with libraries like Hangfire, and real-world messaging with web sockets and SignalR.

Episerver Event Handling

1. How to Hook Into The Episerver CMS Events Pipeline
2. How To Prevent A Page Being Deleted in Episerver
3. How To Hook Into Episerver Visitor Group Save and Delete Events

Website Event Handling

Real-time Applications

1. Different Ways Of Implementing Notifications Within Episerver
2. How To Install SignalR Within Episerver
3. How To Create A Real-Time Notification Area Within Your Episerver Website

Latest Event Handler Posts

How To Create A Real-Time Notification Area Within Your Episerver Website

This post is a continuation of: Different Ways Of Implementing Notifications Within Episerver and How To Install SignalR Within Episerver . In today's guide, I'm going to go over a demo project I've created that implements real-time notifications within Episerver. In this demo, notifications can be updated in real-time either through a 'Content Page Type' […]

How To Install SignalR Within Episerver

In today's tutorial, I'm going to create how to install SignalR with Episerver. First, you need to install two Nuget packages, right-click on your solution, select 'Manage Nuget Packages for solution...', from your search type in SignalR You will also need to install, 'Microsoft.Owin.Host.SystemWeb': To make SignalR work you need to register it, in an OwinStartup class. […]

Different Ways Of Implementing Notifications Within Episerver

Everyone reading this should understand the concepts of a notification area on a website, we've all been using website's long enough! A notification is a message you can display to the user, usually as an icon in a notification area, usually in the header of your website. Recently, a client wanted to add a notification […]

How To Hook Into Episerver Visitor Group Save and Delete Events

When you create a Visitor Group in Episerver, there may be occasions when you need to perform additional logic when a visitor group is deleted or saved. Maybe you only want a single type of visitor group to be created, or, you only want a visitor group to be deleted within a certain time frame. In […]

How To Prevent A Page Being Deleted in Episerver

I had a requirement on a recent project to store a reference to an Episerver page in a third-party database. This is fairly straightforward to achieve, serialise the content reference, then store it as a string within the database, however, as simple as it seems the process does throw an expected spanner in the works. […]

How to Hook Into The Episerver CMS Events Pipeline

A common requirement when working with Episerver is to add custom functionality into the page's events, for example, you may need to run custom code when you save, delete or move content. One example that springs to mind, is re-indexing your website's search index. Luckily for us, Episerver provides a very easy provider called the Content […]

How To Hook Into Episerver Commerces 8 Catalog Event Handlers

A common requirement on an Episerver Commerce project, is to hook into the commerce pages events handler, for example, you may need to do things like: Call an additional search index when a new game/variants is published Call a third party service, like a pricing service Add custom validation to prevent a product being saved […]