[file upload] Setting temp folder

Hi there,

image

I already had AddDefaultTempStorages set up in ConfigureServices() and it works. But the FileUpload control doc page states that I should use AddUploadedFileStorage().

What is best for simple single file upload in various ModalDialog controls ?

1 Like

AddDefaultTempStorages is just an alias for the AddUploadedFileStorage and AddReturnedFileStorage, so it doesn’t matter at all which one you use. I’d only use AddUploadedFileStorage if I’d want to have separate directories for uploaded and returned files

I see. Thanks yous !