Feature: Azure Data Lake Gen2 Provider (ManagedCode.Storage.Azure.DataLake)
Purpose
Implement IStorage on top of Azure Data Lake Storage Gen2.
Main Flows
flowchart LR
App --> ADL[AzureDataLakeStorage : IAzureDataLakeStorage]
ADL --> SDK[Azure.Storage.Files.DataLake]
SDK --> ADLS[(ADLS Gen2)]
Components
Storages/ManagedCode.Storage.Azure.DataLake/AzureDataLakeStorage.csStorages/ManagedCode.Storage.Azure.DataLake/AzureDataLakeStorageProvider.cs- DI:
- Options:
DI Wiring
dotnet add package ManagedCode.Storage.Azure.DataLake
using ManagedCode.Storage.Azure.DataLake.Extensions;
builder.Services.AddAzureDataLakeStorageAsDefault(options =>
{
options.FileSystem = "my-filesystem";
options.ConnectionString = configuration["AzureDataLake:ConnectionString"]!;
});
Current Behavior
- Uses
ConnectionString+FileSystemas the “container” equivalent. - Creates the filesystem automatically when
CreateContainerIfNotExists = true.