AzureBlobStorage Class
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Simple storage provider for writing grain state data to Azure blob storage in JSON format.
public class AzureBlobStorage : Orleans.Storage.IStorageProvider
type AzureBlobStorage = class
interface IStorageProvider
interface IProvider
Public Class AzureBlobStorage
Implements IStorageProvider
- Inheritance
-
AzureBlobStorage
- Implements
Example configuration for this storage provider in OrleansConfiguration.xml file:
<OrleansConfiguration xmlns="urn:orleans">
<Globals>
<StorageProviders>
<Provider Type="Orleans.Storage.AzureBlobStorage" Name="AzureStore"
DataConnectionString="UseDevelopmentStorage=true"
/>
</StorageProviders>
Required configuration params: DataConnectionString
Optional configuration params: ContainerName
-- defaults to grainstate
SerializeTypeNames
-- defaults to OrleansGrainState
PreserveReferencesHandling
-- defaults to false
UseFullAssemblyNames
-- defaults to false
IndentJSON
-- defaults to false
Clear |
Clear / Delete state data function for this storage provider. |
Close() |
Shutdown this storage provider. |
Init(String, IProvider |
Initialization function for this storage provider. |
Read |
Read state data function for this storage provider. |
Write |
Write state data function for this storage provider. |