Uploading file in Asp.Net Core 2.0 is done with an interface IFormFile that you would take as a parameter in your post action.
Lets say you have an ajax post that will call the POST action and upload a file.
You would first create the form data.
var data = new FormData();
data.set("file", $("#uploadControl").val())
$.ajax({
   type: "POST",
   url: "upload",
   data: data,
   contentType: false,
   processData: false
});
Your action would look like this
[HttpPost]
public IActionResult Upload(IFormFile file)
{
   //save the file
}
Please do not copy/paste this as this is just the general idea of how to do it.