Axiell WebAPI home page > Documentation > Axiell Azure Blob Storage media plugin

Axiell Azure Blob Storage media plugin

The Axiell WebAPI image server configuration

From WebAPI version 3.4.1.1939, an Axiell.AzureBlobStorage.Plugin.dll plugin for the Axiell WebAPI is available to allow the ingest and retrieval of images from a Microsoft Azure Blob Storage. As all other plugins it allows you or your Axiell system to use writecontent and getcontent calls to communicate with the storage-specific API via the Axiell WebAPI. An appropriate configuration in adlibweb.xml is all you need to set up the connection. For Azure Blob Storage you need a configuration similar to the following:

<!-- Image server settings -->
<imageServerConfiguration name="azure">
    <servertype>FileSystem</servertype>
    <path>C:\Data\Projects\model5.0\images</path>
    <ImagePlugin type="Axiell.AzureBlobStorage.Plugin.AzureBlobStoragePlugin, Axiell.AzureBlobStorage.Plugin">
      <AccountName>myaccount</AccountName>
      <SasToken>si=mypolicy&spr=https&sv=2021-06-08&sr=c&sig=AfHRUI8934lldlqZC2LAe5X4Jjkflds8JKNDxWqa3R%3D</SasToken>
      <Container>mycontainer</Container>
    </ImagePlugin>
</imageServerConfiguration>
From Axiell Ingest 1.7.3.1741, you can use this tool in combination with the WebAPI to ingest files into the Azure blob store. Simply pass the URL with the writecontent command as the destination folder. (Uploading to a URL with Ingest, rather then moving files to a folder was already in place, but some small changes for ingesting into Azure were made to Ingest still.) Example of such a URL in the Destination folder setting for an ingest source in the Ingest setup: http://ourserver.com/wwwopac.ashx?command=writecontent&server=azure&value={id}