November Happy Hour will be moved to Thursday December 5th.

How to combining Server with Client Routing in Episerver

Vote:
 

Hi,

I have url like this http://site.com/register/ and at register page with next step something like register/step1-> register/step2...register/stepn i want to use Client routing. It still work fine unti i refresh or copy the link sent for my friend. The friend open that link follow by the request goes to the server after that server figures out this page is note exist on CMS and response 404

The problem with this kind of approach is that the URL structure that lives in the client application does not match the one that lives on the server

So my question: How to combining Server with Client Routing in Episerver?

Regards,

Thang Le

#283983
Edited, Jul 20, 2022 4:09
Vote:
 

Hi Thang

You can use PartialRouter and "catch-all" routing endpoint to handle your scenario. Check out the following articles for more details. 

Combining Server with Client Routing in Episerver | Niteco

Add Client Side Routing in ASP.NET Core | BinaryIntellect Knowledge Base

#284345
Jul 25, 2022 0:33
This topic was created over six months ago and has been resolved. If you have a similar question, please create a new topic and refer to this one.
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.