CommunityToolkit.Aspire.Hosting.Solr 13.1.1

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.Solr --version 13.1.1
                    
NuGet\Install-Package CommunityToolkit.Aspire.Hosting.Solr -Version 13.1.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="CommunityToolkit.Aspire.Hosting.Solr" Version="13.1.1" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="CommunityToolkit.Aspire.Hosting.Solr" Version="13.1.1" />
                    
Directory.Packages.props
<PackageReference Include="CommunityToolkit.Aspire.Hosting.Solr" />
                    
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.Solr --version 13.1.1
                    
#r "nuget: CommunityToolkit.Aspire.Hosting.Solr, 13.1.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.
#:package CommunityToolkit.Aspire.Hosting.Solr@13.1.1
                    
#: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.Solr&version=13.1.1
                    
Install as a Cake Addin
#tool nuget:?package=CommunityToolkit.Aspire.Hosting.Solr&version=13.1.1
                    
Install as a Cake Tool

CommunityToolkit.Aspire.Hosting.Solr

This package provides a .NET Aspire hosting integration for Apache Solr, enabling you to add and configure a Solr container as part of your distributed application.

Getting Started

Install the package

In your AppHost project, install the package using the following command:

dotnet add package CommunityToolkit.Aspire.Hosting.Solr

Usage Example

var builder = DistributedApplication.CreateBuilder(args);

// Add Solr resource with default settings (port 8983, core "solr")
var solr = builder.AddSolr("solr");

// Add Solr with custom port
var solrWithCustomPort = builder.AddSolr("solr-custom", port: 8984);

// Add Solr with custom core name
var solrWithCustomCore = builder.AddSolr("solr-core", coreName: "mycore");

// Add Solr with both custom port and core name
var solrCustom = builder.AddSolr("solr-full", port: 8985, coreName: "documents");

// Reference the Solr resource in a project
var exampleProject = builder.AddProject<Projects.ExampleProject>()
                            .WithReference(solr);

// Initialize and run the application
builder.Build().Run();

Feedback & contributing

https://github.com/dotnet/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.1.2-beta.509 26 1/20/2026
13.1.2-beta.508 40 1/19/2026
13.1.2-beta.507 40 1/19/2026
13.1.2-beta.506 40 1/16/2026
13.1.2-beta.505 37 1/16/2026
13.1.2-beta.504 36 1/16/2026
13.1.1 85 1/16/2026
13.1.1-beta.502 39 1/16/2026
13.1.0 83 1/14/2026
13.1.0-beta.499 44 1/14/2026
13.0.1-beta.498 41 1/14/2026
13.0.1-beta.486 40 1/12/2026
13.0.1-beta.468 620 12/3/2025
13.0.1-beta.467 614 12/3/2025
13.0.0 186 11/25/2025
13.0.0-beta.462 128 11/25/2025
13.0.0-beta.456 130 11/23/2025
13.0.0-beta.454 83 11/23/2025
13.0.0-beta.453 108 11/22/2025
13.0.0-beta.450 113 11/22/2025
13.0.0-beta.448 107 11/22/2025
13.0.0-beta.444 338 11/17/2025
13.0.0-beta.443 254 11/17/2025
13.0.0-beta.440 92 11/15/2025
13.0.0-beta.439 225 11/12/2025
13.0.0-beta.438 225 11/12/2025
13.0.0-beta.436 224 11/12/2025
13.0.0-beta.435 227 11/11/2025
13.0.0-beta.433 147 11/10/2025
13.0.0-beta.432 152 11/10/2025
13.0.0-beta.431 139 11/6/2025
13.0.0-beta.430 144 11/6/2025
9.9.0 193 11/3/2025
9.9.0-beta.427 141 11/3/2025
9.8.1-beta.426 140 11/3/2025
9.8.1-beta.424 134 10/28/2025
9.8.1-beta.420 140 10/27/2025
9.8.1-beta.419 134 10/27/2025
9.8.1-beta.417 132 10/27/2025
9.8.1-beta.414 123 10/24/2025
9.8.1-beta.413 128 10/22/2025
9.8.1-beta.410 125 10/16/2025
9.8.1-beta.408 122 10/16/2025
9.8.1-beta.407 119 10/16/2025
9.8.1-beta.406 124 10/15/2025
9.8.0 182 9/26/2025
9.8.0-beta.405 129 10/15/2025
9.8.0-beta.404 125 10/13/2025
9.8.0-beta.402 135 9/29/2025
9.8.0-beta.401 124 9/29/2025
9.8.0-beta.399 128 9/26/2025
9.8.0-beta.398 130 9/25/2025
9.8.0-beta.397 133 9/25/2025
9.8.0-beta.395 140 9/24/2025
9.8.0-beta.394 135 9/23/2025
9.8.0-beta.393 138 9/23/2025
9.8.0-beta.392 131 9/23/2025
9.8.0-beta.389 260 9/18/2025
9.8.0-beta.388 266 9/16/2025
9.8.0-beta.386 211 9/15/2025
9.8.0-beta.385 207 9/15/2025
9.8.0-beta.384 71 9/13/2025