title: How to get IFormFile / FormFile object in asp.et core
body: <p>Using ASP.NET core 2.1, have HttpRequest.Body with the uploaded file as MemoryStream. In the docs it says if I use asp.net core webAPI then can get that file as FormFile object. In my case I'm not using ASP.NET webAPI. Is there a way to get the FormFile object ? All I want to know the metadata of the file , like the filename, type etc. Once its in the memorystream I couldnt get that details easily.</p>
  
  <p>Thanks for any pointers.</p>