When a http post request from a remote client arrived, I want to pass this reqeuest (upload some files) to the controller to process. What shall I do in the view page using razor?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
The HttpContext is automatically available in your Controller, just use the
HttpContextproperty.Likewise, the HttpRequest is available through the
Requestproperty.