I have a simple actionMethod. I was just trying to Test the actionMethod using a QueryString but instead of returning Content i get this Error ): Yellow Screen of death ): Stated that :
A potentially dangerous Request.Path value was detected from the client (&).
QueryString:
http://localhost:63594/Home/LikePost/UserId=1&EntryId=1
ActionMethod:
// Like a Post.
public ActionResult LikePost(int UserId, int EntryId)
{
return Content("User Id Is : " + UserId + "Post Id is : " + EntryId);
}