Blog / .NET
102 Posts

.NET
Based on .NET Core + jQuery to implement file breakpoint chunk upload

Based on .NET Core + Jquery for File Chunked Upload Introduction This project is implemented using .NET Core and Jquery for file chunked upload. It has not been tested because the blogger does not have such large files to test. Currently, uploading files around 2GB is working fine. Technologies Used Redis caching technology Jquery ajax request technology Why use Redis? This will be explained later in the article, leaving a suspense for now. Page Screenshot ![](C:\Users\Lenovo\Desktop)

查看全文
.NET
Design of File Upload Service

.NET File Upload Service Design Preface Learned a small backend project on Bilibili and found that the file upload design was quite good. I will implement and explain it here. Project Structure: Based on Strategy + Factory Pattern to implement the file upload service Enum Create in the Model layer ```csharp public enum UploadMode { Local = 1, //Local upload Qiniu = 2 //Qiniu Cloud upload } ``` Step 1: Create file strategy and factory

查看全文