Tag: FileContentResult

  • How to download a file in Angular .NET

    In this article, I will show you how to download a file in an Angular project with a .NET 5+ Web Api. .NET Side You need to create a controller, for example DownloadController, with a DownloadFile Api of HttpGet type. If you want you can send the file name to be downloaded as a parameter…