This project is read-only.


Sep 3, 2012 at 7:51 AM


I got an action which is looks like this:

public HttpStatusCodeResult Add(WebeditUser user)

I cannot got user object now which seems model binder is not working

And when I change it to:

public HttpStatusCodeResult Add([FromRoute]WebeditUser user)

I got "The HTTP verb POST used to access path"

Any ideas about this?

btw, have been dig this for a while, but is seems all code I found from internet are not using HttpPost, and all action parameters are basic type (such as string, int), is there any restrictions for this?


Sep 3, 2012 at 12:38 PM

problem solved, my fault, sorry~