Intresting in why would you add partial routing on startpage? what is the scenario here? Why not just route everyting to startpage controller?
endpoints.MapControllerRoute(name: "everygthingystart", pattern: "{id?}", defaults: new { controller = "StartPage", action = "Index" });
Hi Optimizely team,
I'm trying implement custom PartialRouter follow this Developer guide - Routing and seem it's not working.
I created CustomPartialRouter as bellow:
Registed in DI and called UseTemplate as bellow
Updated StartPageController to pass string parameter named "id" as bellow
And when debug, I saw custom PartialRouter setted routesValues before go to StartPageController, but parameter still empty as image bellow: