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

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

https://github.com/microsoft/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 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. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

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.1 is deprecated because it is no longer maintained.
13.0.0 50,669 11/11/2025 13.0.0 is deprecated because it is no longer maintained.