Resources



Sample Code and Libraries

Amazon S3 Library for SOAP in C#

Click for a printer friendly version of this document Printer Friendly Save to del.icio.us
Average Review:

A library in C# for working with the Amazon S3 SOAP interface.

Submitted By: EricW@AWS  

About This Sample

  • A library in C# for working with the Amazon S3 SOAP interface.
  • Part of a collection of interface libraries, each in a different language.
  • Updated on 2006-06-16 to use the list delimiter.
  • See the README file in the download for more information about the sample.

What's New?

  • 2006-10-02: Updates for server access logging.

Prerequisites

  • You must be signed up to use Amazon S3. You can sign up for Amazon S3 at http://aws.amazon.com/s3.
  • This sample was built using Visual Studio 2005.

Running the Sample

  • See the attached README file for information about running the sample.


Attachments
Click to download this attachment s3-example-cs_soap-library.zip (15.3 K)

Discussion
Click to start a discussion on this document Create a New Discussion
No discussion has been created for this document.

Reviews
Create Review Write a Review

Missing Stuff, Feb 17, 2007 3:32 PM
Reviewer: thomasgoddard
There are missing examples in this. The example for PutObject is missing and this is a major pitfall. The release on this page also doesn't include a date, which would be great for determining if I have the latest examples or not. The code comment in the S3 Explorer example that says "this example is worth exactly what you paid for it", is quite a stab at the developers. Don't you think it would be more professional to include a comment like: "this example sucks because I'm a bitter bean counter working at Amazon"?

If you are interested in running under Mono, Oct 16, 2007 7:44 AM
Reviewer: donalvarez
The S3 SOAP library is incompatible with Mono. The problem is that Amazon requires SOAP puts larger than 1MB to be done using DIME attachments. The DIME attachment requirement means that the S3 SOAP library requres a reference to the Microsoft.Web.Services2 dll (the dll that implements WSE 2.0, which is where DIME is defined in .NET). Mono neither supports nor plans to support WSE, so no S3 SOAP library under Mono. If anyone is interested in more details, the 1MB DIME requirement is described at http://developer.amazonwebservices.com/connect/ann.jspa?annID=144 and Mono's lack of WSE support is described at http://www.mono-project.com/WSE. The most recent developer discussion of DIME on Mono that I could find is at http://lists.ximian.com/pipermail/mono-list/2007-March/034692.html.
Welcome, Guest Help
Login Login