9
Uploading and Reading an Excel File
There are many different scenarios that require a web app to allow users to upload local files. Also, there are just as many different types of files that a user may need to upload.
In this chapter, we will learn how to upload different types of files by using the InputFile component. We will learn how to upload image files and how to resize the images that are uploaded. We will also learn how to perform virtualization by using the Virtualize component to only render the visible data. Finally, we will learn how to read a Microsoft Excel file by using the Open XML SDK.
The project that we create in this chapter will be an Excel reader that will allow us to upload an Excel file and view its contents in a table, ...
Get Blazor WebAssembly By Example - Second Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.