download file in blazor wasm project from byte array
License
—
Deps
1
Install Size
—
Vulns
✓ 0
Published
Jun 29, 2022
$ dotnet add package FileDownloaderdownload file in blazor wasm project from byte array
Install-Package FileDownloader -Version x.x.x
builder.Services.AddFileDownloder();
inject class in your component
@inject Downloader downloader
then use
await downloader.Download(bytes, "filename");