CommunityToolkit.Aspire.Hosting.SurrealDb 13.0.0

Prefix Reserved
There is a newer prerelease version of this package available.
See the version list below for details.
dotnet add package CommunityToolkit.Aspire.Hosting.SurrealDb --version 13.0.0
                    
NuGet\Install-Package CommunityToolkit.Aspire.Hosting.SurrealDb -Version 13.0.0
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="CommunityToolkit.Aspire.Hosting.SurrealDb" Version="13.0.0" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="CommunityToolkit.Aspire.Hosting.SurrealDb" Version="13.0.0" />
                    
Directory.Packages.props
<PackageReference Include="CommunityToolkit.Aspire.Hosting.SurrealDb" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add CommunityToolkit.Aspire.Hosting.SurrealDb --version 13.0.0
                    
#r "nuget: CommunityToolkit.Aspire.Hosting.SurrealDb, 13.0.0"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package CommunityToolkit.Aspire.Hosting.SurrealDb@13.0.0
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=CommunityToolkit.Aspire.Hosting.SurrealDb&version=13.0.0
                    
Install as a Cake Addin
#tool nuget:?package=CommunityToolkit.Aspire.Hosting.SurrealDb&version=13.0.0
                    
Install as a Cake Tool

CommunityToolkit.Aspire.Hosting.SurrealDb library

Provides extension methods and resource definitions for the .NET Aspire AppHost to support running SurrealDB containers.

Getting started

Install the package

In your AppHost project, install the .NET Aspire SurrealDB Hosting library with NuGet:

dotnet add package CommunityToolkit.Aspire.Hosting.SurrealDb

Usage example

Then, in the Program.cs file of AppHost, add a SurrealDB resource and consume the connection using the following methods:

var db = builder.AddSurrealServer("surreal")
                .AddNamespace("ns")
                .AddDatabase("db");

var myService = builder.AddProject<Projects.MyService>()
                       .WithReference(db);

Additional Information

https://learn.microsoft.com/dotnet/aspire/community-toolkit/hosting-surrealdb

Feedback & contributing

https://github.com/CommunityToolkit/Aspire

Product 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 is compatible.  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. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

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
13.0.1-beta.486 23 1/12/2026
13.0.1-beta.468 627 12/3/2025
13.0.1-beta.467 621 12/3/2025
13.0.0 212 11/25/2025
13.0.0-beta.462 142 11/25/2025
13.0.0-beta.456 139 11/23/2025
13.0.0-beta.454 97 11/23/2025
13.0.0-beta.453 116 11/22/2025
13.0.0-beta.450 121 11/22/2025
13.0.0-beta.448 120 11/22/2025
13.0.0-beta.444 342 11/17/2025
13.0.0-beta.443 263 11/17/2025
13.0.0-beta.440 111 11/15/2025
13.0.0-beta.439 236 11/12/2025
13.0.0-beta.438 239 11/12/2025
13.0.0-beta.436 240 11/12/2025
13.0.0-beta.435 239 11/11/2025
13.0.0-beta.433 158 11/10/2025
13.0.0-beta.432 162 11/10/2025
13.0.0-beta.431 152 11/6/2025
13.0.0-beta.430 152 11/6/2025
9.9.0 267 11/3/2025
9.9.0-beta.427 148 11/3/2025
9.8.1-beta.426 151 11/3/2025
9.8.1-beta.424 141 10/28/2025
9.8.1-beta.420 142 10/27/2025
9.8.1-beta.419 138 10/27/2025
9.8.1-beta.417 144 10/27/2025
9.8.1-beta.414 133 10/24/2025
9.8.1-beta.413 133 10/22/2025
9.8.1-beta.410 140 10/16/2025
9.8.1-beta.408 120 10/16/2025
9.8.1-beta.407 136 10/16/2025
9.8.1-beta.406 139 10/15/2025
9.8.0 210 9/26/2025
9.8.0-beta.405 136 10/15/2025
9.8.0-beta.404 139 10/13/2025
9.8.0-beta.402 141 9/29/2025
9.8.0-beta.401 140 9/29/2025
9.8.0-beta.399 148 9/26/2025
9.8.0-beta.398 151 9/25/2025
9.8.0-beta.397 139 9/25/2025
9.8.0-beta.395 143 9/24/2025
9.8.0-beta.394 146 9/23/2025
9.8.0-beta.393 147 9/23/2025
9.8.0-beta.392 143 9/23/2025
9.8.0-beta.389 261 9/18/2025
9.8.0-beta.388 270 9/16/2025
9.8.0-beta.386 219 9/15/2025
9.8.0-beta.385 225 9/15/2025
9.8.0-beta.384 71 9/13/2025
9.8.0-beta.376 142 9/8/2025
9.8.0-beta.375 77 9/6/2025
9.8.0-beta.373 160 9/5/2025
9.8.0-beta.372 151 9/4/2025
9.8.0-beta.370 139 9/2/2025
9.8.0-beta.364 141 9/1/2025
9.7.2 305 8/29/2025
9.7.2-beta.362 183 8/29/2025
9.7.2-beta.361 187 8/29/2025
9.7.2-beta.360 190 8/29/2025
9.7.2-beta.359 195 8/28/2025
9.7.2-beta.358 188 8/28/2025
9.7.2-beta.357 191 8/28/2025
9.7.1 246 8/27/2025
9.7.1-beta.355 189 8/27/2025
9.7.1-beta.354 189 8/27/2025
9.7.1-beta.353 195 8/27/2025
9.7.1-beta.352 187 8/27/2025
9.7.1-beta.351 191 8/27/2025
9.7.1-beta.348 152 8/14/2025
9.7.1-beta.344 97 8/10/2025
9.7.1-beta.343 223 8/8/2025
9.7.1-beta.342 218 8/7/2025
9.7.1-beta.341 224 8/6/2025
9.7.1-beta.340 211 8/5/2025
9.7.1-beta.339 210 8/5/2025
9.7.0 149 8/1/2025
9.7.0-beta.337 105 8/1/2025
9.7.0-beta.336 115 8/1/2025
9.7.0-beta.335 121 8/1/2025