CloudProviders: Connecting the ASP.NET File Manager and Upload Control to Amazon S3 Storage (Now available in v14.2)

Don Wibier's Blog
12 December 2014

What started as the preparations for a webinar ended as a really cool feature in v14.2!

You can now manage your files on Amazon S3 Storage with the ASPxFileManager because we’ve added brand new cloud providers, and you don’t need coding for it. Let’s see how you set it up:

Preparations on Amazon

After signing in or signing up at, the Amazon Web Services overview is being displayed. You will first need to setup a user which is allowed to access the S3 Storage Buckets. This is done by clicking the Identity & Access Management link in the Administration & Security (IAM) Section:

In the dashboard which shows up, create a user by clicking the User menu item, and Create New Users:


Enter the desired username (you are able to create several users in one go, but we will stick with one) and click Next:


Pay attention on the following screen which is only displayed once, click the hyperlink to get the users keys:



Copy the indicated information to a save place because you will never see them again in Amazon!

After storing theses keys, you have to click on the orange box to go to the Services overview from where you can go back the AIM Dashboard. Now you can create a group with S3 Policies enabled:


Give the group some logical name and click Next Step:


In the Set Permissions screen, scroll down in the Select Policy Template section to select the Amazon S3 Full Policy:


On the confirmation screen, click Next Step:


In the Group Overview, click on the group name:


And add the user to this group:




Now the security related things have been setup so you can create the S3 Bucket. Click the Orange Box in the Left Corner, and select S3:


On the Simple Storage welcome screen, click the Create Bucket button, enter the bucket name and select a region:


Connecting the ASPxFileManager to the bucket

In Visual Studio, drop an ASPxFileManager on a page or UserControl and specify the following properties:

Image 21

If you start your application, you’ll notice that you can start managing your bucket straight away!

Uploading directly with an ASPxUploadControl to the bucket

If you only want to upload files to Amazon S3 Storage, you can drop an ASPxUploadControl on your form and specify the following properties:

Image 22

You might want to specify some additional properties like ShowUploadButton = true, so you don’t need any additional coding at all.

If you prefer using Azure BlobStorage instead of Amazon S3, check here to find out how easy that is!


Click here to see the instructions and demo for WebForms and MVC on YouTube!

Free DevExpress Products - Get Your Copy Today

The following free DevExpress product offers remain available. Should you have any questions about the free offers below, please submit a ticket via the DevExpress Support Center at your convenience. We'll be happy to follow-up.
No Comments

Please login or register to post comments.