Take the 2-minute tour ×  I've been using the MVC4 beta and am
currently working to upgrade to the recently released RC
version.  It appears that model-binding complex request types
has changed, but I can't figure out how / what I'm doing wrong.
For example, say I have the following API controller:  public
class HomeApiController : ApiController     public TestModel
Get()         return new TestModel             Id =
int.MaxValue,             Description = "TestDescription",
Time = DateTime.Now  This yields the expected result:
<TestModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance"
xmlns="http://schemas.datacontract.org/2004/07/xxxx">  Now say I
just change the signature, taking in a request type, like this:
public TestModel Get(TestRequestModel request)  public class
TestRequestModel     public int? SomeParameter { get; set; }  I
now get the following error:  <Exception
xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http:
//schemas.datacontract.org/2004/07/System.Web.Http.Di