I created a simple mvc3 site with a home controller with these actions.
public JsonResult Param(string id)
{
string upper = String.Concat(id, "ff");
return Json(upper);
}
public ContentResult Param2(string id)
{
string upper = String.Concat(id, "ff");
return Content( upper);
}
public JsonResult Param3(string id)
{
string upper = String.Concat(id, "ff");
io gg = new io();
gg.IOName = upper;
return Json(gg);
}
}
public class io
{
public string IOName {get;set;}
}
How do I use c# webrquest to get the json and post to these action urls???