Orchard Autoroute

The new routing engine for Orchard 1.4.

This will completely replace the RoutePart with a much more powerful system based on Tokens. It uses Alias behind the scenes to map Urls to routes.

Currently will work with this fork of Orchard itself: http://orchard.codeplex.com/SourceControl/network/Forks/randompete/Autoroute

Note: currently there is no Admin UI for defining route patterns. You can use the following commands in Orchard Console, recipes, and web console:

autoroute pattern create "my-page" "{Content.Slug}" /AssignTo:Page
autoroute pattern assign Page "my-page"
autoroute patterns list

There are a number of sample recipes included in Orchard.Autoroute\Recipes which create patterns for some standard content types, and the "Blog" installation recipe has been updated to apply Autoroute patterns as well.

Last edited Dec 7, 2011 at 9:18 PM by randompete, version 2