Tag: File Handling
-
Clipboard API and Angular
In this article, I will show you how to display an image copied directly into your application using Ctrl+V. Configuration in the Template In your template, you will create a div that listens to the (paste) event. This event will be triggered when the user performs a CTRL+V, and it defines an area in your…
-
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…