title: How to get FormValueProvider instance in a Custom Model Binder in ASP.NET MVC 2
body: <p>I'm using the MVC 2 RC. I have a custom model binder that used to iterate over posted form values in MVC 1.0 like this:</p>
  
  <pre><code>var values = bindingContext.ValueProvider.Where(x =&gt; x.Key.StartsWith("prefix"));    
  foreach (var value in values) { /* do something */ }
  </code></pre>
  
  <p>In version 2, I can't do this anymore. <a href="http://mgolchin.net/posts/19/dive-deep-into-mvc-ivalueprovider" rel="nofollow noreferrer">Apparently there are new implementations of IValueProvider that come with ASP.NET MVC 2.0.</a> I think I need to somehow use FormValueProvider in my custom model binder, but I don't know how to get at it.</p>