BoldSign®Effortlessly integrate e-signatures into your app with the BoldSign® API. Create a sandbox account!
Hi Team,
Hi Kishor,
Query1: "I need an example to speedup large file upload in sfuploader control and save to db.
Chunk upload was one option but couldn't found any example around it"
For large file uploads, you can utilize the chunk upload feature in SfUploader
. This functionality enables large files to be divided into smaller chunks and transmitted to the server via AJAX. Additionally, it supports pause, resume, and retry for failed chunks, ensuring a reliable upload process.
For more details, refer to the following resources:
UG: https://blazor.syncfusion.com/documentation/file-upload/chunk-upload
Demos:https://blazor.syncfusion.com/demos/file-upload/chunk-upload?theme=fluent2
Query2: "Need help in issue where rich text box text(html string) is not printing on page with format, it is showing plain html text over.I want to save to db and print the rich text box text with format."
We have created a new forum regarding the Rich textbox query . please follow the below forum for further assistance.
Regards,
Priyanka K
Hi Priyanka,
I have checked these links.
This demo link itself taking too much time to upload 6mb file on it,
https://blazor.syncfusion.com/demos/file-upload/chunk-upload?theme=fluent2&_gl=1*1jyip80*_ga*MTQyMDAwMTA3Ni4xNzMxNDc3MTU1*_ga_41J4HFMX1J*MTczOTc3NjA4MC4zLjEuMTczOTc3NjMxNy4wLjAuMA..
Actually, we are not using APIs, we have application layer to deal with database. and here in syncfusion examples Api calls are suggested.
Also, there is not any example to utilize chunk upload start, success or failure events (args use).
I am expecting any working example that will upload large files smoothly.
Thank you,
Kishor.
Hi Kishor,
Thank you for your update. We completely understand your concern regarding the Syncfusion demo taking too long to upload a 6MB file. Additionally, We acknowledge that you require a working example demonstrating smooth large-file uploads using chunk upload, without relying on API calls. Since your application uses an application layer to interact with the database directly, the standard Syncfusion examples that utilize API calls may not fully align with your requirements.
To address this, We have outlined a simple Blazor example that demonstrates chunk upload functionality without external API dependencies. This example utilizes the Syncfusion Blazor File Upload component, implementing chunk upload logic directly within the Blazor component.
If you're looking to improve large-file upload performance, adjusting the ChunkSize
parameter can help optimize the upload speed.
Index.razor
|
SampleDataController.cs
|
For further reference, you may find these documentation links helpful:
This SampleDataController
provides a basic implementation for handling chunk uploads on the server side. It temporarily saves each chunk and combines them once all chunks are received. You may need to modify this logic to align with your application layer and database storage requirements.
Regards,
Priyanka K