17 Dec 2018 NET Core Web API part) and then to use those files in our Angular If you want to download our finished project, you can do that from Upload Files . as a result of this action after we place our stream into the defined folder. Close(); stream.Flush(); stream.Close(); byte[] bytes = System.IO.File. And html anchor below for downloading pdf file Angular code
A traditional way of doing is to open the url in a new window. It can work unless there’s no authentication required by the API.
Angular2 File Upload.