Tech Tutorials Database
GeekArticles Microsoft Microsoft.NET
 

Drag-n-Drop file upload in Blazor using JS interop and minimal API (Part 1)

 
Author: dotnetbips.com
Category: Microsoft.NET
Comments (0)

Uploading files from client computer to the server is a common task in web applications. You can either use jQuery Ajax or InputFile component to accomplish that task. Files to be uploaded on the server are typically selected by the end user using file input field. However, most of the browsers also allow you to select files by dragging them from the client computer to your web application. To that end this article discusses how drag-n-drop of files can be done in Blazor Server apps. I am going to assume that you are familiar with JavaScript interop. You may read my previous article in case you familiar with JS interop.

Read More...




Sponsored Links




Read Next: Drag-n-Drop file upload in Blazor using JS interop and minimal API (Part 2)



 

 

Comments