A few days ago I came across a strange problem with the default model binder in ASP.NET MVC. It turned out that the name of the parameter in an Action was "request", and this was confusing the default model binder.
It sounds simple to fix (just change the variable name), but the process to figure it out is not that easy. What will help you solve the problem is diving into the ASP.NET MVC framework source code. Follow this post to learn how to debug it. I also had to download the source code, add it to my solution and reference those projects.
No comments:
Post a Comment