title: System.Web.UI.Request is not available in .net core, need alternative
body: <pre><code>System.Web.UI.Request
  </code></pre>
  
  <p>is not available in <strong>.net core</strong> so the question is about the alternative of this namespace. </p>
  
  <p>I need to read the file content for upload on server. in version 4.5 of .net, i was doing like <code>HttpPostedFile file = Request.Files["content"];</code> but now this is not working in .net core. I need to know if there is any alternative of best example of file uploading in .net core please share.</p>
  
  <p>following is my old code.</p>
  
  <pre><code>HttpPostedFile file = Request.Files["content"];
  byte[] fileData = null;
                      using (var binaryReader = new BinaryReader(file.InputStream))
                      {
                          fileData = binaryReader.ReadBytes(file.ContentLength);
                      }
  
                      var fileName = Request.Form["fileName"];
  
                      FileBusiness.SaveFile(domain, new Guid(token), fileName, fileData, true);
                      Response.Write("Normal file uploaded");
  </code></pre>
  
  <p>I am asking for the upload file functionality in RC1 which is in think is not available in RC1 but i have found in .net core 1.0 RTM libraries. I need to know if there is any way to upload the file in .net core RC1?</p>