November Happy Hour will be moved to Thursday December 5th.
November Happy Hour will be moved to Thursday December 5th.
Hi Janis
What if you add "dearPageSegment1" as a parameter to your action method? Like Index(string dearPageSegment1).
Nope, unfortunately, didn't work :/. Found a workaround where I'm passing around my path parameters in the page model.
Have you tried to overriding/writing a custom implementation of the IUrlSegmentRouter interface?
This is late but I would like adding a remark for later reference.
I think the updated UrlResolverContext' RouteValues should be available again for reading through a certain context-relatared service but currently have no idea how to do that.
As see, the HttpContext.Items is available through the pipeline from the IPartialRouter inheritance then to the Controller so we can use the HttpContext.Items property instead for passing desired values between the pipeline stages.
Hi!
Have a question about CMS 12 partial routing and passing parameters around. I see that it's possible to use RouteValues, e.g. like this:
My problem is that I don't see a way how to access these UrlResolverContext.RouteValues later on, e.g. in the PageCotroller? Anyone knows what would be the right way to use / access them?