Hi, Im having some problem with getting the url route to display propertly.
UrlPath: {UserKey}
or:
UrlPath: {ProductName}
I have set up a Products Database. And on my list page I print out all products details link with this code:
<a class='title' href='@Url.FrontUrl().PageUrl("Details",new { UserKey = item.UserKey})'>@item.Name</a>
or
<a class='title' href='@Url.FrontUrl().PageUrl("Details",new { ProductName = item.Name})'>@item.Name</a>
The problem comes when I click the link, the path in the browser looks ok, but the page content get rendered two times.