In this repository, you can find an Angular SPA, an ASP.NET Core Web API project, and its integration test project, for uploading/downloading files.
-
Upload Files with Angular and .NET Web API
In this article, we will go through details of creating an Angular component for uploading files to a .NET Web API endpoint. The following screen recording shows the demo app.
You are also recommended to read my other article, File Upload via Swagger
-
Upload Multiple Files with Angular and .NET Web API
In this article, we will go through details of creating an Angular component for uploading multiple files to a .NET Web API endpoint. The following screen recording shows the demo app.
-
In this article, I will use a demo Web API application in ASP.NET Core to show you how to transmit files through an API endpoint. In the final HTML page, end users can left-click a hyperlink to download the file or right-click the link to choose "Save Link As" in the context menu and save the file.
Feel free to use the code in this repository as it is under MIT license.