private IFileStore CreateAzureBlobStorageStore(StatefulServiceContext context) { var backupRestoreConfiguration = new AzureBackupRestoreConfiguration(context); var partitionName = context.GetCurrentPartitionInfos().Result.InternalName; var backupStore = new AzureBlobStorageStore(backupRestoreConfiguration, context.GetSystemServiceName(), partitionName, context.CodePackageActivationContext.TempDirectory); return(backupStore); }