Accessing Form Data Into the Controller Using the Request Object in ASP.NET MVC


Accessing form data inside a controller is a very common scenario.

Note: Post updated with source code files posted on gist.github.com

Steps required to do:

  • Create a controller with Get and Post methods
  • Inside the HttpPost action method access the form data values using the Request object
  • Create a Create.cshtml View file with a form using Html.BeginForm
  • Create a breakpoint and check the form values


About author


.NET Online Instructor

Hello! My name is Abhishek Luv and I am an online trainer for C# & ASP.NET MVC from Mumbai, India. I provide my online training services in India and overseas. I have successfully done a lot of online training for clients from USA (Chicago, Pennsylvania, Texas, Oklahoma, Seattle, Florida, Michigan), Dubai, UK(Wales, London, Birmingham), Ireland(Dublin), Panama City, Colombia(Bogota), Denmark(Hjørring), Afghanistan, Switzerland(Zurich), Sri Lanka(Colombo), New Zealand, India(Hyderabad, Mumbai, Bangalore, Delhi, Faridabad, Kolkata, Chennai, Madurai, Gujarat).

Recent Blog Posts


Reading Corner Updated for 2018

by Abhishek Luv, Friday, May 25, 2018 at 10:53 PM

Read more

Online Training Feedback #5

by Abhishek Luv, Friday, May 25, 2018 at 10:43 PM

Read more

Online Training Feedback #4

by Abhishek Luv, Monday, November 6, 2017 at 10:34 PM

Read more

Online Training Feedback #3

by Abhishek Luv, Wednesday, July 5, 2017 at 10:45 PM

Read more