[file upload] Setting temp folder

Hi there,


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 !