title: How does asp.net mvc convert post data to a model?
body: <p>I am extracting some code from a project outside of the MVC-area to a HttpHandler while reusing as much code as possible.</p>
  
  <p>To make things easy I would like to convert the posted data to the same Model that was already used in the Controller.</p>
  
  <p>So, now I am looking for the logic MVC is using under the covers to magically convert posted data to a Model, but after several decompile attempts I am unable to find this.</p>
  
  <p>Could anyone point me in the right direction?</p>
  
  <p>Thanks!</p>
  
  <blockquote>
    <p>SaphuA: Basically, I want to input the HttpContext and the type of the target Model and have the helper method do the rest of the mapping.</p>
  </blockquote>