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.

1

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

2

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

3

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

4

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

5

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

6

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

7

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

8

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

9

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

Back to top