Steve H
unread,Aug 6, 2010, 11:36:00 AM8/6/10Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Sign in to report message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to mvc2inaction-discuss
In section 10.2 of the book, there's a parameter builder object that
substitutes for "magic string" based query parameters. I understand
the advantage of a strongly typed object like this, to aid in
refactoring. But won't the ParameterBuilder object get overwhelmed
with methods if it's being used for all query string parameters?
For example, if I'm in view XYZ and call the Param object defined in
your custom ViewPageBase class (pg 144, for those who want to follow
along) I'll see the Username method-- along with every other method
defined for every other query string parameter in the site, including
many that have nothing to do with the view I'm currently on. Could be
I'm not understanding how the Param object works, or maybe I'm
overstating the problem, but it seems the Param object will get
bloated pretty fast?