MintPlayer.AspNetCore.NodeServices
10.0.1
dotnet add package MintPlayer.AspNetCore.NodeServices --version 10.0.1
NuGet\Install-Package MintPlayer.AspNetCore.NodeServices -Version 10.0.1
<PackageReference Include="MintPlayer.AspNetCore.NodeServices" Version="10.0.1" />
<PackageVersion Include="MintPlayer.AspNetCore.NodeServices" Version="10.0.1" />
<PackageReference Include="MintPlayer.AspNetCore.NodeServices" />
paket add MintPlayer.AspNetCore.NodeServices --version 10.0.1
#r "nuget: MintPlayer.AspNetCore.NodeServices, 10.0.1"
#:package MintPlayer.AspNetCore.NodeServices@10.0.1
#addin nuget:?package=MintPlayer.AspNetCore.NodeServices&version=10.0.1
#tool nuget:?package=MintPlayer.AspNetCore.NodeServices&version=10.0.1
MintPlayer.AspNetCore.NodeServices
This package provides Node.js integration for ASP.NET Core applications, enabling server-side execution of JavaScript code. It is a core dependency for SPA prerendering functionality.
Installation
NuGet Package Manager
Install-Package MintPlayer.AspNetCore.NodeServices
.NET CLI
dotnet add package MintPlayer.AspNetCore.NodeServices
MSBuild Integration
This package automatically configures your project with MSBuild props and targets for SPA development. These are applied transitively to all projects that reference this package.
Properties
The following MSBuild properties are automatically configured (can be overridden in your .csproj):
| Property | Default | Description |
|---|---|---|
EnableSpaBuilder |
true |
Master switch to enable/disable all SPA build automation |
SpaRoot |
ClientApp\ |
Path to your SPA source folder |
BuildServerSideRenderer |
true |
Whether to build the SSR bundle during publish |
Build Targets
| Target | Runs | Description |
|---|---|---|
DebugEnsureNodeEnv |
Before Build (Debug only) | Ensures Node.js is installed and runs npm install if node_modules doesn't exist |
PublishRunWebpack |
After ComputeFilesToPublish | Builds the SPA and includes output in publish folder |
File Exclusions
The package automatically configures your project to:
- Exclude SPA source files from compilation
- Exclude
node_modulesfrom the project - Show SPA files in Solution Explorer without including them in build output
Disabling SPA Builder
If your project references this package (directly or transitively) but doesn't have a SPA, you can disable all build automation:
<PropertyGroup>
<EnableSpaBuilder>false</EnableSpaBuilder>
</PropertyGroup>
This will:
- Skip the
DebugEnsureNodeEnvtarget - Skip the
PublishRunWebpacktarget - Skip SPA file exclusion rules
Customizing SPA Root
If your SPA is in a different folder than ClientApp, override the SpaRoot property:
<PropertyGroup>
<SpaRoot>src\frontend\</SpaRoot>
</PropertyGroup>
Client-Only Builds
To build only the client bundle (without SSR) during publish:
<PropertyGroup>
<BuildServerSideRenderer>false</BuildServerSideRenderer>
</PropertyGroup>
Related Packages
- MintPlayer.AspNetCore.SpaServices - Core SPA services
- MintPlayer.AspNetCore.SpaServices.Prerendering - Prerendering support
- MintPlayer.AspNetCore.SpaServices.Routing - SPA route integration
License
This project is licensed under the Apache 2.0 License.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | 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. |
-
net10.0
- Newtonsoft.Json (>= 13.0.4)
- Yarn.MSBuild (>= 1.22.19)
NuGet packages (2)
Showing the top 2 NuGet packages that depend on MintPlayer.AspNetCore.NodeServices:
| Package | Downloads |
|---|---|
|
MintPlayer.AspNetCore.SpaServices
This package contains the ASP.NET Core prerenderer. |
|
|
MintPlayer.AspNetCore.SpaServices.Prerendering
This package is built as a dependency of MintPlayer.AspNetCore.SpaServices.Routing. |
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 10.0.1 | 51 | 1/12/2026 |
| 10.0.0 | 576 | 11/13/2025 |
| 10.0.0-rc.6 | 236 | 11/11/2025 |
| 10.0.0-rc.5 | 234 | 11/11/2025 |
| 10.0.0-rc.4 | 148 | 11/5/2025 |
| 10.0.0-rc.1 | 158 | 10/2/2025 |
| 9.0.0 | 3,193 | 11/13/2024 |
| 8.3.0 | 1,691 | 6/10/2024 |
| 8.2.0 | 8,993 | 11/28/2023 |
| 8.1.0 | 409 | 11/28/2023 |
| 8.0.0 | 419 | 11/14/2023 |
| 8.0.0-rc2 | 232 | 11/13/2023 |
| 8.0.0-rc1 | 233 | 11/6/2023 |
| 7.0.3 | 7,848 | 8/9/2023 |
| 7.0.2 | 2,580 | 12/6/2022 |
| 7.0.1 | 641 | 11/15/2022 |
| 7.0.0 | 682 | 11/14/2022 |
| 7.0.0-preview.1 | 234 | 10/30/2022 |
| 6.1.7 | 777 | 8/9/2023 |
| 6.1.6 | 6,209 | 12/6/2022 |
| 6.1.5 | 889 | 11/15/2022 |
| 6.1.4 | 1,132 | 10/28/2022 |
| 6.1.3 | 8,373 | 8/26/2022 |
| 6.1.2 | 966 | 8/26/2022 |
| 6.1.1 | 4,790 | 7/5/2022 |
| 6.1.0 | 1,059 | 7/5/2022 |
| 6.0.4 | 5,449 | 12/19/2021 |
| 6.0.3 | 697 | 12/8/2021 |
| 6.0.1 | 765 | 12/2/2021 |
| 6.0.0 | 1,595 | 12/2/2021 |
| 1.0.0 | 672 | 12/2/2021 |