NetLah.Extensions.SpaServices.Hosting 1.2.0

Prefix Reserved
dotnet add package NetLah.Extensions.SpaServices.Hosting --version 1.2.0
                    
NuGet\Install-Package NetLah.Extensions.SpaServices.Hosting -Version 1.2.0
                    
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="NetLah.Extensions.SpaServices.Hosting" Version="1.2.0" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="NetLah.Extensions.SpaServices.Hosting" Version="1.2.0" />
                    
Directory.Packages.props
<PackageReference Include="NetLah.Extensions.SpaServices.Hosting" />
                    
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 NetLah.Extensions.SpaServices.Hosting --version 1.2.0
                    
#r "nuget: NetLah.Extensions.SpaServices.Hosting, 1.2.0"
                    
#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 NetLah.Extensions.SpaServices.Hosting@1.2.0
                    
#: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=NetLah.Extensions.SpaServices.Hosting&version=1.2.0
                    
Install as a Cake Addin
#tool nuget:?package=NetLah.Extensions.SpaServices.Hosting&version=1.2.0
                    
Install as a Cake Tool

NetLah.Extensions.SpaServices.Hosting - .NET Library

NetLah.Extensions.SpaServices.Hosting is a library support setting ASP.NET Core SpaServices hosting from configuration.

Nuget package

NuGet

Build Status

ASP.NET Core

Getting started

1. Add/Update PackageReference to web .csproj

<ItemGroup>
  <PackageReference Include="NetLah.Extensions.SpaServices.Hosting" />
</ItemGroup>

2. Use SPA Hosting

builder.AddSpaApp();
...
var app = builder.Build();

app.UseSpaApp(action: app => app.UseSerilogRequestLoggingLevel());

app.Run();

Sample Docker Image

https://hub.docker.com/r/netlah/spa-host-sample

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 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. 
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
1.2.0 209 6/17/2025
1.2.0-rc1 179 4/22/2025
1.1.0 283 4/17/2025
1.1.0-alpha1 172 12/6/2024
1.0.2 303 11/27/2024
1.0.1 143 10/14/2024
1.0.0 140 7/11/2024
1.0.0-rc7 118 6/6/2024
1.0.0-rc6 114 6/5/2024
1.0.0-rc3 204 3/22/2024
1.0.0-rc1 213 1/13/2024
0.2.3 295 3/16/2023
0.2.0 476 1/10/2023
0.1.0 435 1/3/2023
0.1.0-rc2 357 9/27/2022
0.1.0-rc1 312 9/26/2022
0.1.0-a1.1 254 9/16/2022