asp.net mvc - Custom Model Binder -


i'd create custom model binder.

let's there're 20 properties. need manualy bind 5 of them. i'd bind other 15 properties automatic default binder does.

is somehow possible ?

sure, least thing can inherit defaultmodelbinder, override bindmodel(...) method , use base.bindmodel(...) whatever want. after provide own binding logic else.


Comments

Popular posts from this blog

Javascript line number mapping -

c# - Is it possible to remove an existing registration from Autofac container builder? -

php - Mysql PK and FK char(36) vs int(10) -