Robbss.Aspire.Hosting.Memgraph 8.2.1

dotnet add package Robbss.Aspire.Hosting.Memgraph --version 8.2.1                
NuGet\Install-Package Robbss.Aspire.Hosting.Memgraph -Version 8.2.1                
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="Robbss.Aspire.Hosting.Memgraph" Version="8.2.1" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Robbss.Aspire.Hosting.Memgraph --version 8.2.1                
#r "nuget: Robbss.Aspire.Hosting.Memgraph, 8.2.1"                
#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.
// Install Robbss.Aspire.Hosting.Memgraph as a Cake Addin
#addin nuget:?package=Robbss.Aspire.Hosting.Memgraph&version=8.2.1

// Install Robbss.Aspire.Hosting.Memgraph as a Cake Tool
#tool nuget:?package=Robbss.Aspire.Hosting.Memgraph&version=8.2.1                

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 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. 
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
8.2.1 114 9/21/2024
0.0.4 87 9/21/2024
0.0.3 98 9/21/2024
0.0.2 90 9/21/2024