I've found properties corresponding to each action named like this: MVC.<Controller>.<Action>Params
, they contain parameter names for each action. What are they for and how they can be used?
Asked
Active
Viewed 54 times
0

artvolk
- 9,448
- 11
- 56
- 85
-
oh right my answer is out of scope... – Raphaël Althaus Jun 13 '12 at 09:13
1 Answers
2
There were some edge scenarios where it was interesting to pass the parameter name as a constant. I can't instantly recall what that person was doing, but I could see this being useful is calls to AddRouteValue. In the end, it's all about never to have to use a literal string that refers to a C# object, whether it's a class, method, or param.

David Ebbo
- 42,443
- 8
- 103
- 117