CommunityToolkit.Aspire.Hosting.DuckDB
17.0.0
Prefix Reserved
dotnet add package CommunityToolkit.Aspire.Hosting.DuckDB --version 17.0.0
NuGet\Install-Package CommunityToolkit.Aspire.Hosting.DuckDB -Version 17.0.0
<PackageReference Include="CommunityToolkit.Aspire.Hosting.DuckDB" Version="17.0.0" />
<PackageVersion Include="CommunityToolkit.Aspire.Hosting.DuckDB" Version="17.0.0" />
<PackageReference Include="CommunityToolkit.Aspire.Hosting.DuckDB" />
paket add CommunityToolkit.Aspire.Hosting.DuckDB --version 17.0.0
#r "nuget: CommunityToolkit.Aspire.Hosting.DuckDB, 17.0.0"
#:package CommunityToolkit.Aspire.Hosting.DuckDB@17.0.0
#addin nuget:?package=CommunityToolkit.Aspire.Hosting.DuckDB&version=17.0.0
#tool nuget:?package=CommunityToolkit.Aspire.Hosting.DuckDB&version=17.0.0
CommunityToolkit.Aspire.Hosting.DuckDB library
Provides extension methods and resource definitions for the Aspire AppHost to support creating and running DuckDB databases.
DuckDB is an in-process analytical (OLAP) database, ideal for analytics workloads, Parquet/CSV querying, and data processing.
By default, the DuckDB resource will create a new DuckDB database in a temporary location. You can also specify a path to an existing DuckDB database file.
Getting Started
Install the package
In your AppHost project, install the package using the following command:
dotnet add package CommunityToolkit.Aspire.Hosting.DuckDB
Example usage
Then, in the Program.cs file of AppHost, define a DuckDB resource, then call AddDuckDB:
var duckdb = builder.AddDuckDB("analytics");
To use a read-only database for analytics:
var duckdb = builder.AddDuckDB("warehouse")
.WithReadOnly();
Additional Information
Feedback & contributing
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | 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. net11.0 is compatible. |
-
net10.0
- Aspire.Hosting (>= 17.0.0)
- Microsoft.Extensions.Hosting.Abstractions (>= 10.0.15)
-
net11.0
- Aspire.Hosting (>= 17.0.0)
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 |
|---|---|---|
| 17.0.0 | 56 | 11/20/2026 |
| 17.0.0-beta.1090 | 52 | 11/20/2026 |
| 17.0.0-beta.1088 | 43 | 11/20/2026 |
| 17.0.0-beta.1080 | 87 | 11/20/2026 |
| 17.0.0-beta.1078 | 60 | 11/19/2026 |
| 17.0.0-beta.1077 | 48 | 11/19/2026 |
| 17.0.0-beta.1076 | 39 | 11/19/2026 |
| 17.0.0-beta.1075 | 43 | 11/19/2026 |
| 17.0.0-beta.1052 | 56 | 11/16/2026 |
| 17.0.0-beta.1051 | 61 | 11/12/2026 |
| 17.0.0-beta.1033 | 57 | 11/10/2026 |
| 17.0.0-beta.1022 | 61 | 11/8/2026 |
| 17.0.0-beta.1018 | 62 | 11/6/2026 |
| 17.0.0-beta.1009 | 60 | 11/5/2026 |
| 17.0.0-beta.994 | 60 | 11/4/2026 |
| 17.0.0-beta.993 | 65 | 11/4/2026 |
| 13.6.2-beta.959 | 71 | 10/27/2026 |
| 13.6.1 | 143 | 10/26/2026 |
| 13.6.1-beta.950 | 71 | 10/26/2026 |
| 13.6.1-beta.938 | 70 | 10/24/2026 |