RM.DynamicRoutingWildcards.Kentico.MVC
12.29.0
See the version list below for details.
dotnet add package RM.DynamicRoutingWildcards.Kentico.MVC --version 12.29.0
NuGet\Install-Package RM.DynamicRoutingWildcards.Kentico.MVC -Version 12.29.0
<PackageReference Include="RM.DynamicRoutingWildcards.Kentico.MVC" Version="12.29.0" />
paket add RM.DynamicRoutingWildcards.Kentico.MVC --version 12.29.0
#r "nuget: RM.DynamicRoutingWildcards.Kentico.MVC, 12.29.0"
// Install RM.DynamicRoutingWildcards.Kentico.MVC as a Cake Addin #addin nuget:?package=RM.DynamicRoutingWildcards.Kentico.MVC&version=12.29.0 // Install RM.DynamicRoutingWildcards.Kentico.MVC as a Cake Tool #tool nuget:?package=RM.DynamicRoutingWildcards.Kentico.MVC&version=12.29.0
Dynamic Routing Wildcards
Dynamic Routing Wildcards for Kentico is an extension of KenticoDevTrev's Dynamic Routing Package. In KenticoDevTrev's package you are able to link Views, Controllers and Pages to customisable routes in Kentico MVC. With this package you can now introduce parameters to your Urls. For example if I have a url /blog but I want to filter my blog listing page to only show certain categories, I can add the url /blog/{category}. This will route to the original page and add parameters to the route data to parse into your controller actions.
Installation
Installing on the Admin
- Install the NuGet Package DynamicRouting.Kentico.Wildcards on your Kentico Admin.
- Go to modules and ensure that DynamicRouting.Kentico.Wildcards exist
- That's it for the admin 🎉
installing on the Presentation Layer
- Install the same NuGet Package DynamicRouting.Kentico.Wildcards on your main MVC site.
- In your Global.asax.cs add the following using statement
using DynamicRouting.Kentico.Wildcards.Helpers;
- In your Application_Start() method add the following code
WildcardRoutingInitialiser.AddWildcards();
All Done! 🎉
You should now be able to just add url wildcards in your Kentico admin. NOTE: Remember to always start a new wildcard with /{urlslug}/
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET Framework | net461 is compatible. net462 was computed. net463 was computed. net47 was computed. net471 was computed. net472 was computed. net48 was computed. net481 was computed. |
-
- Antlr (>= 3.5.0.2)
- DynamicRouting.Kentico.MVC (>= 12.29.17)
- Kentico.AspNet.Mvc (>= 12.0.29)
- Microsoft.AspNet.Razor (>= 3.2.7)
- Microsoft.AspNet.WebPages (>= 3.2.7)
- Microsoft.CSharp (>= 4.4.1)
- Microsoft.Owin.Security (>= 3.1.0)
- Microsoft.Owin.Security.Cookies (>= 3.1.0)
- Microsoft.Owin.Security.OAuth (>= 3.1.0)
- Microsoft.Web.Xdt (>= 2.1.1)
- Newtonsoft.Json (>= 11.0.2)
- WebGrease (>= 1.6.0)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.