Aspire.Hosting.JavaScript
13.2.4
Prefix Reserved
dotnet add package Aspire.Hosting.JavaScript --version 13.2.4
NuGet\Install-Package Aspire.Hosting.JavaScript -Version 13.2.4
<PackageReference Include="Aspire.Hosting.JavaScript" Version="13.2.4" />
<PackageVersion Include="Aspire.Hosting.JavaScript" Version="13.2.4" />
<PackageReference Include="Aspire.Hosting.JavaScript" />
paket add Aspire.Hosting.JavaScript --version 13.2.4
#r "nuget: Aspire.Hosting.JavaScript, 13.2.4"
#:package Aspire.Hosting.JavaScript@13.2.4
#addin nuget:?package=Aspire.Hosting.JavaScript&version=13.2.4
#tool nuget:?package=Aspire.Hosting.JavaScript&version=13.2.4
Aspire.Hosting.JavaScript library
Provides extension methods and resource definitions for an Aspire AppHost to configure JavaScript projects.
Getting started
Install the package
In your AppHost project, install the Aspire JavaScript library with NuGet:
dotnet add package Aspire.Hosting.JavaScript
Usage example
Then, in the AppHost.cs file of AppHost, add a Or resource and consume the connection using the following methods:
var builder = DistributedApplication.CreateBuilder(args);
builder.AddJavaScriptApp("frontend", "../frontend", "app.js");
builder.Build().Run();
Additional documentation
https://github.com/microsoft/aspire-samples/tree/main/samples/aspire-with-javascript https://github.com/microsoft/aspire-samples/tree/main/samples/aspire-with-node
Feedback & contributing
| Product | Versions 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 was computed. 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. |
-
net8.0
- Aspire.Hosting (>= 13.2.4)
- AspNetCore.HealthChecks.Uris (>= 9.0.0)
- Google.Protobuf (>= 3.33.5)
- Grpc.AspNetCore (>= 2.76.0)
- Grpc.Net.ClientFactory (>= 2.76.0)
- Grpc.Tools (>= 2.78.0)
- Humanizer.Core (>= 2.14.1)
- JsonPatch.Net (>= 3.3.0)
- KubernetesClient (>= 18.0.13)
- Microsoft.Extensions.Configuration.Abstractions (>= 10.0.5)
- Microsoft.Extensions.Configuration.Binder (>= 10.0.5)
- Microsoft.Extensions.DependencyInjection.Abstractions (>= 10.0.5)
- Microsoft.Extensions.Diagnostics.HealthChecks (>= 8.0.25)
- Microsoft.Extensions.FileSystemGlobbing (>= 10.0.5)
- Microsoft.Extensions.Hosting (>= 10.0.5)
- Microsoft.Extensions.Hosting.Abstractions (>= 10.0.5)
- Microsoft.Extensions.Http (>= 10.0.5)
- Microsoft.Extensions.Logging.Abstractions (>= 10.0.5)
- Microsoft.Extensions.Options (>= 10.0.5)
- Microsoft.Extensions.Primitives (>= 10.0.5)
- ModelContextProtocol (>= 1.0.0)
- Newtonsoft.Json (>= 13.0.4)
- Polly.Core (>= 8.6.5)
- Semver (>= 3.0.0)
- StreamJsonRpc (>= 2.22.23)
- System.IO.Hashing (>= 10.0.3)
- System.Text.Json (>= 10.0.5)
NuGet packages (6)
Showing the top 5 NuGet packages that depend on Aspire.Hosting.JavaScript:
| Package | Downloads |
|---|---|
|
CommunityToolkit.Aspire.Hosting.JavaScript.Extensions
An Aspire integration for hosting NodeJS apps using Vite, Yarn, PNPM, or NPM. |
|
|
CommunityToolkit.Aspire.Hosting.McpInspector
An Aspire to run the MCP Inspector against a MCP server. |
|
|
Dutchskull.Aspire.PolyRepo
A description of your package. |
|
|
JavaScriptExtensionsAspire
Adding package json commands for Javascript Resource |
|
|
AspireTools
Contains sensible conventions and utilities for Aspire projects that are deployed to Azure. |
GitHub repositories (13)
Showing the top 13 popular GitHub repositories that depend on Aspire.Hosting.JavaScript:
| Repository | Stars |
|---|---|
|
jasontaylordev/CleanArchitecture
Clean Architecture Solution Template for ASP.NET Core
|
|
|
fullstackhero/dotnet-starter-kit
Production Grade Cloud-Ready .NET 10 Starter Kit (Web API + Blazor Client) with Multitenancy Support, and Clean/Modular Architecture that saves roughly 200+ Development Hours! All Batteries Included.
|
|
|
exceptionless/Exceptionless
Exceptionless application
|
|
|
microsoft/aspire-samples
|
|
|
colinin/abp-next-admin
这是基于vue-vben-admin 模板适用于abp vNext的前端管理项目
|
|
|
cmu-sei/GHOSTS
GHOSTS is a realistic user simulation framework for cyber experimentation, simulation, training, and exercise
|
|
|
CommunityToolkit/Aspire
A community project with additional components and extensions for Aspire
|
|
|
davidfowl/aspire-ai-chat-demo
Aspire AI Chat is a full-stack chat sample that combines modern technologies to deliver a ChatGPT-like experience.
|
|
|
J-Tech-Japan/Sekiban
Sekiban - an Opinionated Event Sourcing and CQRS Framework using C#. It can store data into Azure Cosmos DB, AWS Dynamo DB or Postgres
|
|
|
fpindej/netrock
SaaS starter kit for small productions - .NET 10 Clean Architecture API + SvelteKit frontend, fully dockerized. Fork it, init it, build your product..
|
|
|
zhuyongzhengs/Rex.ShopMicroService.Sample
一个基于ABP Framework 10.0、PostgreSQL、MongoDB、Redis、RabbitMQ、CAP、ElasticSearch、Minio、YARP的微服务电商商城平台,采用主流的互联网技术架构、全新的UI设计、可视化布局、支持集群部署;拥有活动促销、优惠卷、商品秒杀等众多完整的营销功能。
|
|
|
Keboo/DotnetTemplates
A repository for my dotnet templates
|
|
|
Dutchskull/Aspire.PolyRepo
This library for DotNet Aspire enables poly repo support and the addition of Git repositories to your Aspire projects. It simplifies multi-repository management and streamlines dependency handling, making it easier to work with multiple repositories in a Aspire project.
|
| Version | Downloads | Last Updated | |
|---|---|---|---|
| 13.2.4 | 16,084 | 4/24/2026 | |
| 13.2.3 | 16,347 | 4/21/2026 | |
| 13.2.2 | 70,817 | 4/8/2026 | |
| 13.2.1 | 55,846 | 3/31/2026 | |
| 13.2.0 | 89,158 | 3/23/2026 | |
| 13.1.3 | 27,559 | 3/19/2026 | |
| 13.1.2 | 138,675 | 2/26/2026 | |
| 13.1.1 | 105,526 | 2/11/2026 | |
| 13.1.0 | 368,079 | 12/17/2025 | |
| 13.0.2 | 33,991 | 12/4/2025 | |
| 13.0.1 | 19,377 | 11/26/2025 | |
| 13.0.0 | 50,669 | 11/11/2025 |