Is it okay to hit the database from a custom model binder?

Posted by Byron Sommardahl on Stack Overflow See other posts from Stack Overflow or by Byron Sommardahl
Published on 2010-04-17T13:00:56Z Indexed on 2010/04/17 13:03 UTC
Read the original article Hit count: 308

Filed under:
|

Say I have an object that gets some data from HttpPost and some from the database. I think I want to allow the ModelBinder to go to the database/repository for the that data missing from the post. In practice, is this a good or bad idea?

© Stack Overflow or respective owner

Related posts about asp.net-mvc

Related posts about modelbinders