We will learn how to design a web page that allows users to select a file for upload and then by the click of a button submit the same web page to upload a file on the webserver. Your email address will not be published. Use the InputFile component to read browser file data into .NET code. .NET Framework Collections. We will add the view to allow the user to select the file for upload and submit the same to the server. I have this code. Open Visual Studio and create a new project, choose ASP.NET Core Web API. If this attribute isn't set on the