Help routing .net mvc

I could not find something similar to rails nested resources. I want to define routes as

Contributors/3/Activities

that just simply ActivitiesController, IndexwithContributor_Id = 3

I know that I can manually determine this specific route (I would not know how to do this), but what I am looking for here actually represents some recommendations for obtaining a flexible solution for such scenarios.

+3
source share
1 answer

Take a look at Here and Here to see if this can do the trick for you. This is a custom RESTful route routing mechanism by Steve Hodgkis.

0
source

Source: https://habr.com/ru/post/1791122/


All Articles