DynamicRouting.Kentico
12.29.19
Wrong assembly version was published in it
See the version list below for details.
dotnet add package DynamicRouting.Kentico --version 12.29.19
NuGet\Install-Package DynamicRouting.Kentico -Version 12.29.19
<PackageReference Include="DynamicRouting.Kentico" Version="12.29.19" />
paket add DynamicRouting.Kentico --version 12.29.19
#r "nuget: DynamicRouting.Kentico, 12.29.19"
// Install DynamicRouting.Kentico as a Cake Addin #addin nuget:?package=DynamicRouting.Kentico&version=12.29.19 // Install DynamicRouting.Kentico as a Cake Tool #tool nuget:?package=DynamicRouting.Kentico&version=12.29.19
DynamicRouting - Kentico Admin ("Mother")
Dynamic Routing for Kentico is a two part system that allows you to automatically handle page requests and route them to certain actions based on the Page Type of the current page. This is done through the automatic generation of Url Slugs that help Kentico identify which Page you are requesting (based on the Url), and Assembly Attribute tags to route that page appropriately.
While the main module consistant of a Kentico "Mother" Nuget package (DynamicRouting.Kentico) and an MVC Nuget Package (DynamicRouting.Kentico.MVC), there is a stand alone MVC package, housed on a separate branch that you can use if you want the Dynamic Routing Attributes without the Automatic Url Slug Generation.
Installation
Installing on the Admin ("Mother")
- Install the NuGet Package DynamicRouting.Kentico on your Kentico Admin instance, and run the site.
- Go to Modules within Kentico's Interface, edit Dynamic Routing, and go to Sites and add the module to the current site.
- If you wish, create Roles and assign the Permissions "Read", "Modify" or "Manage Url Slug" appropriately (Manage Url Slug is needed for users to customize Url Slugs on pages), and assign the Url Slugs UI element under CMS - Adminstration - Content Management - Pages - Edit - Properties - Url Slugs
- Configure Settings in Settings - URLs and SEO - Dynamic Routing if needed
- Lastly, go to Dynamic Routing UI element → Quick Operations, and click
Rebuild Site
to generate your Url Slugs for the first time.
Installing on the MVC Site
- Install the NuGet Package DynamicRouting.Kentico.MVC on your MVC Site, and run the site.
- Configure your RouteConfig.cs (see Project Site for full code)
route = routes.MapRoute(
name: "DynamicRouting",
url: "{*url}",
defaults: new { defaultcontroller = "HttpErrors", defaultaction = "Index" },
constraints: new { PageFound = new DynamicRouteConstraint() }
);
route.RouteHandler = new DynamicRouteHandler();
- Add DynamicRouting assembly tags as needed
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET Framework | net is compatible. |
This package has no dependencies.
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
Version | Downloads | Last updated | |
---|---|---|---|
12.29.20 | 729 | 2/19/2021 | |
12.29.19 | 375 | 2/19/2021 | |
12.29.18 | 3,878 | 9/24/2020 | |
12.29.17 | 701 | 9/4/2020 | |
12.29.16 | 2,334 | 6/15/2020 | |
12.29.15 | 464 | 6/12/2020 | |
12.29.11 | 887 | 3/30/2020 | |
12.29.9 | 2,083 | 2/7/2020 | |
12.29.7 | 1,461 | 1/5/2020 | |
12.29.6 | 1,514 | 12/18/2019 | |
12.29.5 | 553 | 12/3/2019 | |
12.29.4 | 472 | 11/29/2019 | |
12.29.3 | 1,161 | 11/18/2019 | |
12.29.2 | 491 | 11/12/2019 | |
12.29.0 | 527 | 11/11/2019 | |
12.0.1 | 519 | 11/1/2019 | |
12.0.0 | 591 | 10/29/2019 |
Added Security (Read permissioN) to Quick Operations, fixed Culture bug.