Asp.net mvc 2 HttpContext中的发布数据在哪里

Asp.net mvc 2 HttpContext中的发布数据在哪里,asp.net-mvc-2,Asp.net Mvc 2,我将Json数据发布到Restful Api 服务器ASP.Net MVC应用程序使用JsonValueProviderFactory自动将数据绑定到模型对象 [HttpPut] [ActionName("Student")] public ActionResult PutStudent(Student s) { return Content(""); } 只有部分json数据绑定到Student。其他人则不然。在MVC应用程序中,如何查看原始发布的数据?我无法在HttpContext

我将Json数据发布到Restful Api

服务器ASP.Net MVC应用程序使用JsonValueProviderFactory自动将数据绑定到模型对象

[HttpPut]
[ActionName("Student")]
public ActionResult PutStudent(Student s)
{
    return Content("");
}
只有部分json数据绑定到Student。其他人则不然。在MVC应用程序中,如何查看原始发布的数据?我无法在HttpContext中找到它


请提供帮助。

尝试在
HttpContext.Request.InputStream
对象中读取流。

您可以用来检查原始HTTP流量。

现在Chrome和Firebug中也基本内置了Fiddler功能。@NickLarsen,谁说客户端是浏览器?当然,如果是的话,FireBug就是一条出路。