Relative Content

Tag Archive for c#asp.netasp.net-core

how to make this URL pattern acceptable to asp core

I am working in a project (RAZOR PAGES) and I am trying to make this URL pattern "/{clientName}/Forms/{page}" acceptable to route. you should know I’m using Razor Pages NOT MVC.
clientName is any string
Forms is area
page is any page in Forms area
I did something similar in MVC but It didn’t work for me in this case;
I found this code