Hi,
Got a site up and running using custom controllers and hijacking.
However this is slowly getting out of hand with both RenderMvcControllers and SurfaceControllers doing stuff all over the place.
I can see in the source that the id parameter on the default route is set to optional which indicate that this could be used, but i cannot find out how to use this, all my efforts ends up with 404... Sure i could pass it as ?id=1234 but thats not what i want.
I do not need my RenderMvcControllers if thereĀ“s a way to pass something to this parameter, as you would in standard MVC.
Route with id
Hi,
Got a site up and running using custom controllers and hijacking.
However this is slowly getting out of hand with both RenderMvcControllers and SurfaceControllers doing stuff all over the place.
I can see in the source that the id parameter on the default route is set to optional which indicate that this could be used, but i cannot find out how to use this, all my efforts ends up with 404... Sure i could pass it as
?id=1234
but thats not what i want.I do not need my RenderMvcControllers if thereĀ“s a way to pass something to this parameter, as you would in standard MVC.
Thanks for any input!
Best regards
Robert
is working on a reply...