UploadFiles.On.External.Domain (nuget): This Nuget for facilitated  upload files (Image, PDF, Doc, Audio, Json) in an external domain Base on .Net 5.       1. Write this code in Startup >>  ConfigureServices :               services.AddSingleton<IUpLoadFile, UpLoadFile>();          2. Write this code in appsettings.json :              "UploadFileSettings": {                 "Domain": "yourdomain.com",                 "Root": "root//www//files,                 "Separator":"//",                 "MaximumSize": 5             }             "Domain": "your domain name".              "Root": "your server root" .             "Separator":"{for Windows //}, {for Linux \\}".            "MaximumSize":  number by MB.           3. Inject IUpLoad in constructor:              private readonly IUpLoadFile UpLoadFile;              public testController(IUpLoadFile iUpLoadFile)  { UpLoadFile = upLoadFile; }          4. Use functions               I- UpLoadFile.UpLoad();              II- UpLoadFile.UpLoad2();             III- UpLoadFile.Delete();
Keywords: Upload-Audio|Upload-Image|Upload-PDF|Upload-Doc|Upload-Json