Apache.OpenDAL
0.1.2
dotnet add package Apache.OpenDAL --version 0.1.2
NuGet\Install-Package Apache.OpenDAL -Version 0.1.2
<PackageReference Include="Apache.OpenDAL" Version="0.1.2" />
<PackageVersion Include="Apache.OpenDAL" Version="0.1.2" />
<PackageReference Include="Apache.OpenDAL" />
paket add Apache.OpenDAL --version 0.1.2
#r "nuget: Apache.OpenDAL, 0.1.2"
#:package Apache.OpenDAL@0.1.2
#addin nuget:?package=Apache.OpenDAL&version=0.1.2
#tool nuget:?package=Apache.OpenDAL&version=0.1.2
Apache OpenDAL™ .NET Binding
This package provides a native .NET binding for Apache OpenDAL™, a data access layer that allows you to access various storage services in a unified way.
We release the OpenDAL .NET binding independently of the
opendal crate (Rust core). For updates
and compatibility, use the .NET binding version instead of the opendal crate
version.
Useful Links
- User guide: opendal.apache.org/docs/bindings/dotnet — install, connect, common tasks, and going to production.
- Services & configuration: opendal.apache.org/services
- OpenDAL Scheme reference: docs.rs/opendal — enum.Scheme
Installation
This binding is not yet published to NuGet. Build it from source — you need the
.NET SDK for net8.0 or
net10.0 and a Rust toolchain for the native library:
cargo build
dotnet build
Quickstart
using OpenDAL;
using System.Text;
// Configure a service, then build an operator from it.
using var op = new Operator("memory");
// The same verbs work on every service.
op.Write("hello.txt", Encoding.UTF8.GetBytes("Hello, World!"));
var bytes = op.Read("hello.txt");
Console.WriteLine(Encoding.UTF8.GetString(bytes));
Console.WriteLine(op.Stat("hello.txt").ContentLength);
To use a real backend, change the scheme and pass its configuration — the operations stay identical:
using var op = new Operator("s3", new Dictionary<string, string>
{
["bucket"] = "your_bucket",
["region"] = "your_region",
});
OpenDAL also has a first-class async API — every operation has an …Async
counterpart. See
Getting started
and Connecting to your storage
for the full guide.
Contributing
To build and test the binding from source:
cargo build
dotnet build
dotnet test
For a complete guide on building, testing, and contributing, see the project's CONTRIBUTING guide.
License and Trademarks
Licensed under the Apache License, Version 2.0: http://www.apache.org/licenses/LICENSE-2.0
Apache OpenDAL, OpenDAL, and Apache are either registered trademarks or trademarks of the Apache Software Foundation.
Third-party software
Compiled distributions include the following Mozilla Public License 2.0 components. Their source code is available from the linked project pages:
colored3.1.1 (source, homepage), licensed under MPL-2.0.option-ext0.2.0 (source, homepage), licensed under MPL-2.0.persy1.8.1 (source, homepage), licensed under MPL-2.0.
The distribution includes the MPL-2.0 text in LICENSE-MPL-2.0.txt.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net8.0 is compatible. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. net9.0 was computed. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. net10.0 is compatible. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
-
net10.0
- No dependencies.
-
net8.0
- No dependencies.
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 0.1.2 | 59 | 8/20/2026 |