Changing Model Binder per Controller instead of by type or with attributes?

Posted by jfar on Stack Overflow See other posts from Stack Overflow or by jfar
Published on 2009-12-28T21:12:24Z Indexed on 2010/03/26 11:13 UTC
Read the original article Hit count: 324

I'd like to be able to swap model binders out on a per Controller or per ActionMethod basis.

AFAIK the only options supported by the framework are to bind a model binder to a specific type.

How could I change my model binder per Controller or per ActionMethod in a clean way?

© Stack Overflow or respective owner

Related posts about asp.net-mvc-2

Related posts about asp.net-mvc