Watch Aspire live streamsDocsTry Aspire
Watch Aspire live streamsDocsTry

addSpringBootApp

Method
📦 Aspire.Hosting.Java v13.6.0-preview.1.26478.8
interface IDistributedApplicationBuilder {
// ... omitted for brevity
addSpringBootApp(
name: string,
appDirectory: string): JavaAppResource;
}

Signature

methodaddSpringBootAppbuilder
Adds a Spring Boot application to the application model, built and launched with its own Maven or Gradle wrapper.
addSpringBootApp(
name: string,
appDirectory: string): JavaAppResource
namestring
appDirectorystring
JavaAppResource

Applies to

This method applies to the following types: