✅ Will I fall into a gotcha with this constructor?
Hi, all:
I'm trying to setup a class for managing my AWS S3 interactions, but I'm wondering if there are any issues with my definition:
Looks simple enough, but I'm worried about two things, TransferUtility inherits from
I'll be expecting to upload many (~50 25MB) files at once. If the latter approach is more appropriate I can of course pass in a list of objects I'd like to upload.
Thanks
I'm trying to setup a class for managing my AWS S3 interactions, but I'm wondering if there are any issues with my definition:
Looks simple enough, but I'm worried about two things, TransferUtility inherits from
IDisposable, will the framework properly handle the disposability of the _transferUtility? Also, would it be more appropriate to create a new TransferUtility object under the scope of each function that I want to use the class rather than creating a class field? For example:I'll be expecting to upload many (~50 25MB) files at once. If the latter approach is more appropriate I can of course pass in a list of objects I'd like to upload.
Thanks
TransferUtility Class
