I have problems with my solution, I get an error message:
HttpRequestdoes not contain a definition for, BinaryReadand an extension method BinaryReadthat takes the first argument of the type cannot be found HttpRequest(do you miss the using directive or assembly reference?).
The problem is that I am using ASP.NET 5 (MVC 6 beta 5)
I am trying to implement this:
byte[] Param = Request.BinaryRead(Request.ContentLength);
string strRequest = Encoding.ASCII.GetString(Param);
source
share