Click here to Skip to main content
15,903,388 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:[^][^][^][^]

look this link first one display product of desktop category.
and another 3 is product details page link.
but I think there is no controller and action in these links.

can anybody explain how to do this.

1 solution

you first need to understand routing like in default routing there is default controller of home and action is index

in the examples above all are focusing on controller like (desktops) and the action in index(whatever) they have defined in their routing

you can understand routing in this link

Routing Basics in ASP.NET MVC[^]
Share this answer

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900