0 votes
1 view
in AWS by (19.2k points)

I created an empty .Net Core application and installed NuGet packages for Both Amazon.Core and Amazon.S3.

Then I tried to use S3 to get an object but I'm stuck at the very first moment... Amazon.AWSClientFactory is nowhere to be found inside the assembly. Even with dotPeek, I tried to search for this factory method but I couldn't find it. Even the sample code from Amazon doesn't work.

Where did I suppose to find this class?

1 Answer

0 votes
by (44.6k points)

Use the IAmazonS3 and AmazonS3Client found in the Amazon.S3 NuGet package:

using (IAmazonS3 client = new AmazonS3Client())


  // do stuff


Check out these documents for more information:

Get an Object Using the AWS SDK for .NET

AmazonS3Client Class 

Welcome to Intellipaat Community. Get your technical queries answered by top developers !