Amazon S3 provider for a CMS.IO namespace

February 17, 2012  |  Kentico

We have enclosed this provider into a latest hotfix package 6.0.18. After requesting this hotfix, we still have to go by several stairs to make it work. Installation of a provider depends on a form of plan we are using.

Web site project

  1. Add anxiety to your web site plan to CMS.AmazonStorage.dll.
  2. Delete a ~/CMSPages/GetAmazonFile.aspx.designer.cs file.

Web application/Windows Azure project

  1. Add anxiety to CMSApp plan to CMS.AmazonStorage.dll.
  2. Include ~/CMSPages/GetAmazonFile.aspx.designer.cs into CMSApp project.

Source code

  1. Include a AmazonStorage plan into your Kentico CMS solution.

    1. Go by Visual studio emigration sorceress if we are regulating Visual studio 2010.
    2. Set .NET chronicle to 4 if we are regulating this chronicle of .NET in a rest of a solution.
  2. Add anxiety to CMSApp plan to CMS.AmazonStorage.dll.
  3. Include ~/CMSPages/GetAmazonFile.aspx.designer.cs into CMSApp project.

Configuration of a storage is a same for all forms of projects and it’s all finished around focus settings keys in a web.config file:

add key=”CMSExternalStorageName” value=”CMS.AmazonStorage.dll” / – Specifies that a Amazon S3 storage provider is used.

add key=”CMSAmazonBucketName”  value=”YourBucketName” / – You need to mention a name of a bucket where we wish to save a files. This bucket contingency already exist. A bucket name contingency be singular in a whole Amazon namespace so a provider doesn’t emanate it by itself.

add


Leave a Reply