net8.0net9.0
Meilisearch support for .NET Aspire.
Published
Mar 3, 2025
1y ago
Total Downloads
75.6K
75,610
Install
dotnet add package CommunityToolkit.Aspire.Hosting.Meilisearch --version 9.2.1
| Product | Versions |
|---|---|
| .NET |
README
CommunityToolkit.Aspire.Hosting.Meilisearch library
Provides extension methods and resource definitions for the .NET Aspire AppHost to support running Meilisearch containers.
Getting Started
Install the package
In your AppHost project, install the package using the following command:
dotnet add package CommunityToolkit.Aspire.Hosting.Meilisearch
Example usage
Then, in the Program.cs file of AppHost, add a Meilisearch resource and consume the connection using the following methods:
var builder = DistributedApplication.CreateBuilder(args);
var meilisearch = builder.AddMeilisearch("meilisearch");
var myService = builder.AddProject<Projects.MyService>()
.WithReference(meilisearch);
builder.Build().Run();
Additional Information
https://learn.microsoft.com/dotnet/aspire/community-toolkit/hosting-meilisearch
Feedback & contributing
Changes from Previous Version
No structural changes between v9.2.1-beta.207 and v9.2.1.
Adoption Assessment
A verified publisher signal is available. Assess fit from the package's supported frameworks, license and dependency graph rather than popularity alone.
Compatibility metadata lists 2 target frameworks; confirm the exact target used by your application.
Related Guides & Workflows
Learn how to evaluate, integrate, or audit this package in your .NET project.