This project is read-only.

Generate routes based on parameters without having to use the FromRoute Attribute on all the parameters

May 19, 2017 at 10:14 PM
Edited May 19, 2017 at 10:14 PM

Virtually all my actions have various parameters.

Is there a way to set up my route config so that MvcCodeRouting will automatically generate the correct routes for all my action methods including the parameters?

I'm hoping to avoid putting [FromRoute] everywhere; it would be less obtrusive to have MvcCodeRouting just pick all those up by default.

Thank you very much.