Search

Version: 19.07 +

Applicable to: Futurama Website, Futurama WebService

 

Description

Futurama Supports the use of a FileProvider. The first provider we support is AzureFiles. You can use this functionality to open files from AzureFiles.

Configuration

Settings

Within the configuration element the next code has to be included:

<configSections>
	<sectionGroup name="futuramaSettings">
		<section type="ActuIT.Futurama.Library.IO.FileProviderSection, ActuIT.Futurama.Library, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null" name="fileproviders"></section>
	</sectionGroup>
</configSections>

Next to this code, also within the visionsettings or futuramasettings element the next code has to be included:

<fileproviders>
	<azurefiles>
		<azurefile name="azuretest" connectionstring="DefaultEndpointsProtocol=https;AccountName=accoutnname;AccountKey=accountkey" share="fileshareactuittest"></azurefile>
	</azurefiles>
</fileproviders>

Explanation

Within the fileproviders element you can now only add azureFiles. In future versions other providers will be supported. Within azureFiles you can add multiple fileshare definitions.

name

The name for the  fileprovider.

share

The name of the share in Azure

connectionstring

The connectstring in Azure.

 

Use of the files

After defining a fileshare as above you can reference files by using a filename in the form of name://path, where name is the name of the fileprovider.
Example: When a azure share is specified with the name ‘myazureshare’, you can access the file ‘/myfolder/subdir/myfile.txt’ by using the path ‘myazureshare:///myfolder/subdir/myfile.txt’. Note the usage of the triple slash. The third slash is the first character of the path, and indicates the root directory.

Manage AzureFiles

With the Microsoft Azure Storage Explorer you can manage your AzureFiles. Download the Microsoft Azure Storage Explorer and connect to your fileshare with the connection string.

Feedback

If you have any questions about this subject or if you want to provide us feedback please send us an e-mail.

Updated: 2019-09-10