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

Fri at 9:14 PM
Edited Fri at 9:14 PM
Hello,

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.