Episerver Routing

A lot of people starting Episerver struggle to get their head around how it works.  If your website is based on the MVC then understanding how the Episerver pipeline works, how pages are loaded, what parameters are passed around behind the scenes, etc… will make your life a lot easier.  This section will hopefully help you gain this understanding.

EPiServer 7 : Enforcing Lower Case Url's

This post is short and simple.  Out of the box EPiServr does not provide a way to enforce lowercase Url's.  Out of all the solutions I've seen on the web, the main one by Joel Abrahamsson uses Url Segment to make the Url lower case when the page is c[...]

EPiServer 7 Routing For Dummies

On one of my first EPiServer 7 projects was to implement a blog within Episerver.  When you work with concepts like categories, tags and blog posts you might not want these assets living inside your content tree like the example below: In these ty[...]

Dummy's Guide To Explaining Partial Routing Within Your EPiServer

Today's guide will try to explain what partial routing is, why you may want to use it and how to implement using Episerver within your site. The concept of partial routing is pretty easy to grasp.. the implementation details took me a bit longer to g[...]

How To Set-Up A Partial Router

In today's tutorial, I will show you how to implement a partial router within EpiSever. If you want to know what a partial router is, then first please read Dummy’s Guide To Explaining Partial Routing Within Your EPiServer. We will do this by impleme[...]

EPiServer Segments Explained, registering custom routes in EPiServer

I've previously blogged in EPiServer 7 Routing For Dummies which talked a bit about segments in Episerver. Today we're going to go one step further and create our own custom segment. What is a segment? In the switch over to .Net and MVC the way Url's[...]

How To Pass Parameters and Debug Route Data In Episerver

Trying to pass parameters between pages and blocks in Episerver seems to give a lot of people headaches and can be the root of a lot of frustration. One of the main issues I see a lot of people struggle with is understanding the difference between st[...]

How To Get The Episerver Action, Controller and Tag Data Out Of The Http Context In MVC

Recently, I had a task of writing a custom cache provider, which was fun.  The reasons and tribulations of that task are outside the scope of this article, but as part of the journey, I needed to call a lot of block controllers directly and do all so[...]

How To Get The MVC Controller Of An Episerver Block

I've previously written about a few requirements around donut caching and rendering custom content areas that involved needing to know the action and controller required for the current block.  In How To Get The Action, Controller and Tag Data Out Of[...]

Setting Up Episerver To Always Use WWW Links

Probably, one of the most forgotten about features developers forget to set-up is to enforce either a WWW or non-WWW Url strategy on a website. The WWW/non-WWW debate has been waging for years and a lot of my non-technical clients are unsure of what [...]

The Episerver Template Resolver Explained - How Does Episerver Call Your Controller?

As I've previously mentioned, in How to Hook Into The Episerver CMS Events Pipeline  Episerver MVC based websites are very closely related to the normal MVC pipeline, with a few surprises.  The main difference between Episerver and MVC are how incomi[...]

How To Limit The Display Options Available To A Block Using The Template Resolver

This is the 6th post in a series of posts explaining the different ways of dealing with display options within Episerver. When we work with Episerver, we sometimes want to allow content editors to be able to dynamically set the width of a block on a [...]

How To Disable Access To The Episerver Backend Edit/Admin Screens

In a lot of environments, it is very common to run EPiserver in a load balanced environment, with a master/slave configuration.  On the slaves/live web boxes, it's usually a good idea to disable access to the Episerver editor.  A few people have blog[...]

Homepage Learn Episerver CMS Episerver Developers Guide Episerver Routing
Back to top