DynamicRouting.Kentico.MVCOnly
12.29.14
Provides Dynamic Routing capabilities for Kentico based on DynamicRouting Attributes. Must override DynamicRoutingEvents.GetPage to insert your own lookup logic. This is a stand alone MVC only module and does not integrate with the Url Slug logic in the normal DynamicRouting.Kentico and DynamicRouting.Kentico.MVC packages.
Install-Package DynamicRouting.Kentico.MVCOnly -Version 12.29.14
dotnet add 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
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).
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).
Release Notes
Converted DynamicRouteHelper into an interface IDynamicRouteHelper so UnitTesting is supported. Added BaseDynamicRouteHelper and added Obsolete on normal DynamicRouteHelper class with instructions on autofac hookup.
Dependencies
-
- 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)
Used By
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.