/AngularFileUpload

Upload files from Angular client to a .NET API endpoint

Primary LanguageC#MIT LicenseMIT

Upload/Download files with Angular and .NET Web API

Buy Me a Coffee at ko-fi.com

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.

Medium Articles

  • 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.

    screen recording

    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.

    upload multiple files

  • Download Files using Web API

    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.

    file downloading via web API

License

Feel free to use the code in this repository as it is under MIT license.

Buy Me a Coffee at ko-fi.com