Generate routes based on parameters without having to use the FromRoute Attribute on all the parameters
Imported from the CodePlex archive for reference purposes. Support for MvcCodeRouting has ended.
Commented on
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.