ASP.Net MVC Model Binding Complex Object using GET
问题 I have a class in my web project: public class MyClass { public int? Param1 { get; set; } public int? Param2 { get; set; } } which is a parameter in my controller method: public ActionResult TheControllerMethod(MyClass myParam) { //etc. } If I call the method using POST, the model binding works automatically (I use angular on the js side, which likely doesn't matter): $http({ method: "post", url: controllerRoot + "TheControllerMethod", data: { myParam: myParam } }).success(function (data) {