Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/DataJuggler/BlazorFileUpload
This was originally a wrapper of Steve Sanderson's BlazorFileInput. It has since been upgraded to a wrapper of ASP.NET CORE FileInput
https://github.com/DataJuggler/BlazorFileUpload
blazor csharp fileupload
Last synced: 2 months ago
JSON representation
This was originally a wrapper of Steve Sanderson's BlazorFileInput. It has since been upgraded to a wrapper of ASP.NET CORE FileInput
- Host: GitHub
- URL: https://github.com/DataJuggler/BlazorFileUpload
- Owner: DataJuggler
- Created: 2019-11-11T17:04:07.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2024-09-13T13:42:36.000Z (4 months ago)
- Last Synced: 2024-10-13T16:59:39.092Z (3 months ago)
- Topics: blazor, csharp, fileupload
- Language: C#
- Homepage:
- Size: 13.5 MB
- Stars: 32
- Watchers: 7
- Forks: 11
- Open Issues: 10
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- awesome-blazor - DataJuggler.Blazor.FileUpload - ![stars](https://img.shields.io/github/stars/DataJuggler/BlazorFileUpload?style=flat-square&cacheSeconds=604800) ![last commit](https://img.shields.io/github/last-commit/DataJuggler/BlazorFileUpload?style=flat-square&cacheSeconds=86400) Wrapper for Steve Sanderson's BlazorFileInput component. (Libraries & Extensions / Tools & Utilities)
README
# BlazorFileUpload
This project was originally a wrapper of Steve Sanderson's BlazorFileInput, but now has been
updated to the InputFile .NET component. This project has been updated to .NET 8.# Update 8.19.2024 - New sample Project and Video
First Ever Opensource Saturday - Sunday Edition
https://youtu.be/uxa1xR6xpzk# New Sample Project
NTouch - A Simple Contact Management Demo
https://github.com/DataJuggler/NTouch/# Blazor Gallery
Blazor Gallery is a C#, Blazor, SQL Server image portfolio site, allowing anyone to create up to
five folders with up to 20 images per file.Live Demo: https://blazorgallery.com
To see a complete working example, with source code please visit:
Blazor Gallery
https://github.com/DataJuggler/BlazorGalleryBlazor Gallery can also be installed as a dotnet cli project:
(You may change the top line to any directory you wish)cd c:\Projects\BlazorGallery
dotnet new install DataJuggler.BlazorGallery
dotnet new DataJuggler.BlazorGalleryAnother complete working example, with source code please visit:
Blazor Excelerate
https://excelerate.datajuggler.com
Code Generate C# Classes From Excel Header RowsThe source code for the above project is available at:
https://github.com/DataJuggler/Blazor.Excelerate
Here is an example of creating a file upload component:
@using DataJuggler.Blazor.FileUpload
To handle the File Upload event 'OnFileUploaded'. The code shown also starts a progress bar timer and reads the sheet names
using Nuget package DataJuggler.Excelerate (the Nuget package that powers Blazor Excelerate).#region OnFileUploaded(UploadedFileInfo file)
///
/// This method On File Uploaded
///
public void OnFileUploaded(UploadedFileInfo file)
{
// if the file was uploaded
if (!file.Aborted)
{
// Show the Progressbar
ShowProgress = true;
// if the ProgressBar
if (HasProgressBar)
{
// Start the Timer
ProgressBar.Start();
}
// Create a model
GetSheetNamesModel model = new GetSheetNamesModel();
// Set the model
model.FullPath = file.FullPath;
// Store this for later
ExcelPath = file.FullPath;
// reload the model
HandleDiscoverSheets(model);
}
else
{
// for debugging only
if (file.HasException)
{
// for debugging only
string message = file.Exception.Message;
}
}
}
#endregion
Updates9.13.2023: I updated 5 NuGet packages.
11.17.2023: This project has been updated to .NET8.
8.13.2023: DataJuggler.Blazor.Components was updated because DataJuggler.UltimateHelper was updated.
version 7.1.0
7.2.2023: DataJuggler.BlazorFileUpload now supports multiple file uploads.7.1.2
7.22.2023: DataJuggler.Blazor.Components was updated.