Back

Explore Courses Blog Tutorials Interview Questions
0 votes
1 view
in AWS by (19.1k 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.3k 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 

Related questions

Want to get 50% Hike on your Salary?

Learn how we helped 50,000+ professionals like you !

0 votes
1 answer

Browse Categories

...