CommunityToolkit.Aspire.Hosting.Java 9.2.1-beta.205

Prefix Reserved
This is a prerelease version of CommunityToolkit.Aspire.Hosting.Java.
There is a newer version of this package available.
See the version list below for details.
dotnet add package CommunityToolkit.Aspire.Hosting.Java --version 9.2.1-beta.205
                    
NuGet\Install-Package CommunityToolkit.Aspire.Hosting.Java -Version 9.2.1-beta.205
                    
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.Java" Version="9.2.1-beta.205" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="CommunityToolkit.Aspire.Hosting.Java" Version="9.2.1-beta.205" />
                    
Directory.Packages.props
<PackageReference Include="CommunityToolkit.Aspire.Hosting.Java" />
                    
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.Java --version 9.2.1-beta.205
                    
#r "nuget: CommunityToolkit.Aspire.Hosting.Java, 9.2.1-beta.205"
                    
#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.
#addin nuget:?package=CommunityToolkit.Aspire.Hosting.Java&version=9.2.1-beta.205&prerelease
                    
Install CommunityToolkit.Aspire.Hosting.Java as a Cake Addin
#tool nuget:?package=CommunityToolkit.Aspire.Hosting.Java&version=9.2.1-beta.205&prerelease
                    
Install CommunityToolkit.Aspire.Hosting.Java as a Cake Tool

CommunityToolkit.Aspire.Hosting.Java library

Provides extensions methods and resource definitions for the .NET Aspire AppHost to support running Java/Spring applications either using either the JDK or a container and configuring the OpenTelemetry agent for Java.

Getting Started

Install the package

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

dotnet add package CommunityToolkit.Aspire.Hosting.Java

Example usage

Then, in the Program.cs file of AppHost, define a Java resource, then call AddJavaApp or AddSpringApp:

// Define the Java container app resource
var containerapp = builder.AddSpringApp("containerapp",
                           new JavaAppContainerResourceOptions()
                           {
                               ContainerImageName = "<repository>/<image>",
                               OtelAgentPath = "<agent-path>"
                           });

// Define the Java executable app resource
var executableapp = builder.AddSpringApp("executableapp",
                           new JavaAppExecutableResourceOptions()
                           {
                               ApplicationName = "target/app.jar",
                               OtelAgentPath = "../../../agents"
                           });

Additional Information

https://learn.microsoft.com/dotnet/aspire/community-toolkit/hosting-java

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.4.1-beta.289 117 5/16/2025
9.4.1-beta.288 170 5/16/2025
9.4.1-beta.287 162 5/16/2025
9.4.1-beta.286 169 5/16/2025
9.4.1-beta.285 181 5/14/2025
9.4.1-beta.284 185 5/13/2025
9.4.1-beta.283 189 5/12/2025
9.4.1-beta.282 108 5/7/2025
9.4.1-beta.280 100 5/2/2025
9.4.1-beta.279 101 5/2/2025
9.4.1-beta.277 119 4/23/2025
9.4.1-beta.276 121 4/23/2025
9.4.1-beta.275 113 4/23/2025
9.4.1-beta.274 124 4/23/2025
9.4.1-beta.273 116 4/23/2025
9.4.1-beta.272 123 4/23/2025
9.4.1-beta.271 113 4/23/2025
9.4.1-beta.270 125 4/20/2025
9.4.0 173 4/20/2025
9.4.0-beta.269 124 4/20/2025
9.4.0-beta.268 118 4/20/2025
9.3.1-beta.267 121 4/20/2025
9.3.1-beta.266 43 4/19/2025
9.3.1-beta.265 149 4/15/2025
9.3.1-beta.264 156 4/15/2025
9.3.1-beta.263 148 4/15/2025
9.3.1-beta.262 153 4/15/2025
9.3.1-beta.260 121 4/10/2025
9.3.1-beta.259 121 4/8/2025
9.3.1-beta.258 122 4/8/2025
9.3.1-beta.257 125 4/8/2025
9.3.1-beta.256 118 4/8/2025
9.3.1-beta.255 122 4/8/2025
9.3.1-beta.254 120 4/8/2025
9.3.1-beta.253 119 4/1/2025
9.3.1-beta.252 101 3/27/2025
9.3.1-beta.250 100 3/27/2025
9.3.1-beta.249 98 3/27/2025
9.3.1-beta.248 96 3/27/2025
9.3.1-beta.247 100 3/27/2025
9.3.1-beta.244 446 3/25/2025
9.3.1-beta.242 443 3/24/2025
9.3.1-beta.241 118 3/19/2025
9.3.0 308 3/19/2025
9.3.0-beta.239 117 3/19/2025
9.2.2-beta.237 116 3/19/2025
9.2.2-beta.236 89 3/14/2025
9.2.2-beta.230 115 3/13/2025
9.2.2-beta.229 112 3/13/2025
9.2.2-beta.228 124 3/11/2025
9.2.2-beta.227 121 3/11/2025
9.2.2-beta.226 125 3/11/2025
9.2.2-beta.225 125 3/11/2025
9.2.2-beta.224 121 3/11/2025
9.2.2-beta.223 128 3/10/2025
9.2.2-beta.222 126 3/10/2025
9.2.2-beta.220 125 3/9/2025
9.2.2-beta.218 124 3/9/2025
9.2.2-beta.217 154 3/7/2025
9.2.2-beta.216 167 3/7/2025
9.2.2-beta.215 164 3/7/2025
9.2.2-beta.214 160 3/5/2025
9.2.2-beta.213 157 3/5/2025
9.2.2-beta.212 167 3/5/2025
9.2.2-beta.211 161 3/4/2025
9.2.2-beta.210 163 3/4/2025
9.2.2-beta.208 57 3/3/2025
9.2.1 180 3/3/2025
9.2.1-beta.207 77 3/2/2025
9.2.1-beta.206 52 3/1/2025
9.2.1-beta.205 55 2/27/2025
9.2.1-beta.204 47 2/26/2025
9.2.1-beta.203 50 2/26/2025
9.2.0 107 2/26/2025
9.2.0-beta.202 48 2/26/2025
9.2.0-beta.201 52 2/26/2025
9.2.0-beta.199 59 2/26/2025
9.2.0-beta.198 56 2/26/2025
9.1.1-beta.197 59 2/25/2025
9.1.1-beta.196 65 2/25/2025
9.1.1-beta.195 52 2/25/2025
9.1.1-beta.194 54 2/25/2025
9.1.1-beta.193 50 2/25/2025
9.1.1-beta.192 58 2/24/2025
9.1.1-beta.191 53 2/24/2025
9.1.1-beta.190 57 2/19/2025
9.1.1-beta.189 54 2/19/2025
9.1.1-beta.188 59 2/19/2025
9.1.1-beta.187 64 2/19/2025
9.1.1-beta.183 66 2/18/2025
9.1.1-beta.182 66 2/18/2025
9.1.1-beta.181 78 2/18/2025
9.1.1-beta.180 61 2/17/2025
9.1.1-beta.178 51 2/17/2025
9.1.1-beta.177 67 2/12/2025
9.1.1-beta.176 67 2/11/2025
9.1.1-beta.175 61 2/11/2025
9.1.1-beta.173 66 2/10/2025
9.1.1-beta.169 55 2/6/2025
9.1.1-beta.168 51 2/5/2025
9.1.1-beta.166 53 2/5/2025
9.1.1-beta.165 54 2/5/2025
9.1.1-beta.164 56 2/3/2025
9.1.1-beta.162 56 2/3/2025
9.1.1-beta.155 52 1/30/2025
9.1.1-beta.154 51 1/30/2025
9.1.1-beta.153 52 1/30/2025
9.1.1-beta.152 47 1/29/2025
9.1.1-beta.150 54 1/29/2025
9.1.1-beta.148 50 1/26/2025
9.1.1-beta.147 47 1/26/2025
9.1.1-beta.146 52 1/23/2025
9.1.1-beta.145 49 1/22/2025
9.1.1-beta.144 46 1/22/2025
9.1.1-beta.142 49 1/22/2025
9.1.1-beta.140 51 1/22/2025
9.1.1-beta.139 52 1/21/2025
9.1.1-beta.138 47 1/20/2025
9.1.1-beta.137 43 1/17/2025
9.1.1-beta.136 42 1/15/2025
9.1.1-beta.135 22 1/15/2025
9.1.1-beta.134 23 1/15/2025
9.1.1-beta.128 40 1/9/2025
9.1.1-beta.127 39 1/9/2025
9.1.1-beta.126 43 1/9/2025
9.1.1-beta.125 46 1/9/2025
9.1.1-beta.124 46 1/9/2025
9.1.0 235 12/12/2024
9.1.0-beta.123 63 1/3/2025
9.1.0-beta.122 61 1/3/2025
9.1.0-beta.121 58 1/2/2025
9.1.0-beta.120 49 12/30/2024
9.1.0-beta.119 47 12/30/2024
9.1.0-beta.118 51 12/30/2024
9.1.0-beta.116 53 12/30/2024
9.1.0-beta.114 49 12/30/2024
9.1.0-beta.113 49 12/30/2024
9.1.0-beta.112 56 12/18/2024
9.1.0-beta.110 65 12/16/2024
9.1.0-beta.109 53 12/12/2024
9.0.1-beta.108 57 12/12/2024
9.0.1-beta.107 51 12/11/2024
9.0.1-beta.106 55 12/12/2024
9.0.1-beta.104 54 12/11/2024
9.0.1-beta.102 59 12/6/2024
9.0.1-beta.99 55 12/6/2024
9.0.1-beta.98 57 12/6/2024
9.0.1-beta.95 57 12/5/2024
9.0.1-beta.94 56 12/5/2024
9.0.1-beta.93 46 12/2/2024
9.0.1-beta.92 53 11/30/2024
9.0.1-beta.91 52 11/30/2024
9.0.1-beta.90 52 11/29/2024
9.0.1-beta.89 52 11/29/2024
9.0.1-beta.88 51 11/27/2024
9.0.1-beta.87 54 11/27/2024
9.0.1-beta.86 59 11/27/2024
9.0.1-beta.84 51 11/24/2024
9.0.1-beta.83 53 11/22/2024
9.0.1-beta.82 58 11/21/2024
9.0.1-beta.81 45 11/19/2024
9.0.1-beta.80 43 11/19/2024
9.0.1-beta.79 51 11/19/2024
9.0.1-beta.77 48 11/15/2024
9.0.0 119 11/15/2024
9.0.0-beta.76 54 11/14/2024
9.0.0-beta.75 51 11/14/2024
9.0.0-beta.74 50 11/14/2024
9.0.0-beta.73 56 11/14/2024
9.0.0-beta.72 53 11/14/2024
9.0.0-beta.71 57 11/13/2024
9.0.0-beta.70 57 11/13/2024
9.0.0-beta.69 54 11/13/2024
9.0.0-beta.68 53 11/13/2024
9.0.0-beta.67 50 11/13/2024
9.0.0-beta.66 55 11/13/2024
9.0.0-beta.63 57 11/12/2024
9.0.0-beta.54 50 10/31/2024
9.0.0-beta.53 52 10/29/2024
8.3.0 121 10/29/2024
8.3.0-beta.51 52 10/29/2024
8.3.0-beta.50 53 10/28/2024
8.3.0-beta.49 52 10/28/2024
8.3.0-beta.48 51 10/28/2024
8.3.0-beta.47 54 10/28/2024
8.3.0-beta.46 53 10/27/2024
8.3.0-beta.45 56 10/25/2024
8.3.0-beta.44 55 10/25/2024
8.3.0-beta.43 53 10/25/2024
8.3.0-beta.42 55 10/24/2024
8.2.1 97 10/23/2024
8.2.1-beta.40 46 10/23/2024
8.2.1-beta.39 53 10/23/2024
8.2.1-beta.38 54 10/23/2024
8.2.1-beta.37 54 10/23/2024
8.2.1-beta.36 53 10/23/2024
8.2.1-beta.35 55 10/23/2024
8.2.0-beta.34 67 10/23/2024
8.2.0-beta.33 56 10/23/2024
8.2.0-beta.32 57 10/22/2024
1.0.0-beta.60 62 11/11/2024
1.0.0-beta.58 56 11/4/2024
1.0.0-beta.57 50 11/1/2024
1.0.0-beta.56 50 11/1/2024
1.0.0-beta.55 55 11/1/2024