CommunityToolkit.Aspire.Hosting.SurrealDb 9.8.0-beta.364

Prefix Reserved
This is a prerelease version of CommunityToolkit.Aspire.Hosting.SurrealDb.
There is a newer version of this package available.
See the version list below for details.
dotnet add package CommunityToolkit.Aspire.Hosting.SurrealDb --version 9.8.0-beta.364
                    
NuGet\Install-Package CommunityToolkit.Aspire.Hosting.SurrealDb -Version 9.8.0-beta.364
                    
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="9.8.0-beta.364" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="CommunityToolkit.Aspire.Hosting.SurrealDb" Version="9.8.0-beta.364" />
                    
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 9.8.0-beta.364
                    
#r "nuget: CommunityToolkit.Aspire.Hosting.SurrealDb, 9.8.0-beta.364"
                    
#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@9.8.0-beta.364
                    
#: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=9.8.0-beta.364&prerelease
                    
Install as a Cake Addin
#tool nuget:?package=CommunityToolkit.Aspire.Hosting.SurrealDb&version=9.8.0-beta.364&prerelease
                    
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 was computed.  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
9.8.0 116 9/26/2025
9.8.0-beta.402 36 9/29/2025
9.8.0-beta.401 36 9/29/2025
9.8.0-beta.399 111 9/26/2025
9.8.0-beta.398 112 9/25/2025
9.8.0-beta.397 117 9/25/2025
9.8.0-beta.395 116 9/24/2025
9.8.0-beta.394 121 9/23/2025
9.8.0-beta.393 120 9/23/2025
9.8.0-beta.392 119 9/23/2025
9.8.0-beta.389 242 9/18/2025
9.8.0-beta.388 252 9/16/2025
9.8.0-beta.386 196 9/15/2025
9.8.0-beta.385 200 9/15/2025
9.8.0-beta.384 45 9/13/2025
9.8.0-beta.376 119 9/8/2025
9.8.0-beta.375 53 9/6/2025
9.8.0-beta.373 131 9/5/2025
9.8.0-beta.372 128 9/4/2025
9.8.0-beta.370 120 9/2/2025
9.8.0-beta.364 115 9/1/2025
9.7.2 207 8/29/2025
9.7.2-beta.362 161 8/29/2025
9.7.2-beta.361 166 8/29/2025
9.7.2-beta.360 163 8/29/2025
9.7.2-beta.359 162 8/28/2025
9.7.2-beta.358 160 8/28/2025
9.7.2-beta.357 165 8/28/2025
9.7.1 196 8/27/2025
9.7.1-beta.355 166 8/27/2025
9.7.1-beta.354 166 8/27/2025
9.7.1-beta.353 163 8/27/2025
9.7.1-beta.352 164 8/27/2025
9.7.1-beta.351 166 8/27/2025
9.7.1-beta.348 126 8/14/2025
9.7.1-beta.344 74 8/10/2025
9.7.1-beta.343 200 8/8/2025
9.7.1-beta.342 199 8/7/2025
9.7.1-beta.341 196 8/6/2025
9.7.1-beta.340 186 8/5/2025
9.7.1-beta.339 182 8/5/2025
9.7.0 110 8/1/2025
9.7.0-beta.337 83 8/1/2025
9.7.0-beta.336 92 8/1/2025
9.7.0-beta.335 92 8/1/2025