How can you recieve form data without a model binder in a controller action?

Advertisement

  • public IFormResult ReceivedDataByRequest() { string theName = Request.Forms[“theName”]; return View(); }
  • public IActionResult ReceivedDataByRequest() { string theName = Request.Forms[“theName”]; return View(); }
  • public IFormResult ReceivedDataByRequest() { string theName = Request.Form[“theName”]; return View(); }
  • public IActionResult ReceivedDataByRequest() { string theName = Request.Form[“theName”]; return View(); }
Join our list

Subscribe to our mailing list and get interesting stuff and updates to your email inbox.

Thank you for subscribing.

Something went wrong.

Leave a Comment


Share via
Join our list

Subscribe to our mailing list and get interesting stuff and updates to your email inbox.

Thank you for subscribing.

Something went wrong.

Send this to a friend