DynamicRouting.Kentico.MVCOnly
12.29.14
dotnet add package DynamicRouting.Kentico.MVCOnly --version 12.29.14
NuGet\Install-Package DynamicRouting.Kentico.MVCOnly -Version 12.29.14
<PackageReference Include="DynamicRouting.Kentico.MVCOnly" Version="12.29.14" />
paket add DynamicRouting.Kentico.MVCOnly --version 12.29.14
#r "nuget: DynamicRouting.Kentico.MVCOnly, 12.29.14"
// Install DynamicRouting.Kentico.MVCOnly as a Cake Addin #addin nuget:?package=DynamicRouting.Kentico.MVCOnly&version=12.29.14 // Install DynamicRouting.Kentico.MVCOnly as a Cake Tool #tool nuget:?package=DynamicRouting.Kentico.MVCOnly&version=12.29.14
DynamicRouting - MVC Only
Dynamic Routing in Kentico using Assembly Attribute. This module is the MVC Stand Alone package, and should only be used if you do not wish to use the normal DynamicRouting.Kentico packages (which include the Url Slug Generation logic).
This package requires you provide the logic to Get the Page based on the request using the DynamicRoutingEvents.GetPage global event hooks.
Installation
Please see the project site's Readme file for full details. Below is only a summary.
- Install the NugetPackage DynamicRouting.Kentico.MVCOnly into your MVC Site
- Hook onto the DynamicRoutingEvents.GetPage (Before or after) global event.
- Add your logic to find the page based on the given
GetPageEventArgs
, see "Sample GetPage Logic" below - Adjust your route.config to include your dynamic routing, see "Route Configuration" below
- Add
[assembly: DynamicRouting]
Attribute tags to define your Dynamic Routing
Contributions, but fixes and License
Feel free to Fork and submit pull requests to contribute.
You can submit bugs through the issue list and i will get to them as soon as i can, unless you want to fix it yourself and submit a pull request!
Check the License.txt for License information
Compatability
Can be used on any Kentico 12 SP site (hotfix 29 or above).
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)
- 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.
Converted DynamicRouteHelper into an interface IDynamicRouteHelper so UnitTesting is supported. Added BaseDynamicRouteHelper and added Obsolete on normal DynamicRouteHelper class with instructions on autofac hookup.