Robbss.Aspire.Hosting.Memgraph
0.0.3
See the version list below for details.
dotnet add package Robbss.Aspire.Hosting.Memgraph --version 0.0.3
NuGet\Install-Package Robbss.Aspire.Hosting.Memgraph -Version 0.0.3
<PackageReference Include="Robbss.Aspire.Hosting.Memgraph" Version="0.0.3" />
paket add Robbss.Aspire.Hosting.Memgraph --version 0.0.3
#r "nuget: Robbss.Aspire.Hosting.Memgraph, 0.0.3"
// Install Robbss.Aspire.Hosting.Memgraph as a Cake Addin #addin nuget:?package=Robbss.Aspire.Hosting.Memgraph&version=0.0.3 // Install Robbss.Aspire.Hosting.Memgraph as a Cake Tool #tool nuget:?package=Robbss.Aspire.Hosting.Memgraph&version=0.0.3
Aspire.Hosting.Memgraph
Provides extension methods and resource definitions for .NET Aspire AppHost to configure a Memgraph resource.
Getting started
Install the package
In your AppHost Project, install the .NET Aspire Memgraph Hosting library with NuGet:
dotnet add package Aspire.Hosting.Memgraph
Usage example
Then, in the Program.cs file of AppHost
, add a Memgraph resource and consume the connection using the following methods:
var memegraph = builder
.AddMemgraph("example-name");
var myservice = builder
.AddProject<Projects.MyService>()
.WithReference(memegraph);
Memgraph Lab
An instance of Memgraph Lab, configured with quick connect can also be included with the following method:
var memegraph = builder
.AddMemgraph("example-name")
.WithMemgraphLab();
Additional resources
https://memgraph.com/docs/getting-started/install-memgraph/docker
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. |
-
net8.0
- Aspire.Hosting (>= 8.2.0)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.