NetLah.Extensions.SpaServices.Hosting 1.1.0

Prefix Reserved
There is a newer prerelease version of this package available.
See the version list below for details.
dotnet add package NetLah.Extensions.SpaServices.Hosting --version 1.1.0
                    
NuGet\Install-Package NetLah.Extensions.SpaServices.Hosting -Version 1.1.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.1.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.1.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.1.0
                    
#r "nuget: NetLah.Extensions.SpaServices.Hosting, 1.1.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.
#addin nuget:?package=NetLah.Extensions.SpaServices.Hosting&version=1.1.0
                    
Install NetLah.Extensions.SpaServices.Hosting as a Cake Addin
#tool nuget:?package=NetLah.Extensions.SpaServices.Hosting&version=1.1.0
                    
Install NetLah.Extensions.SpaServices.Hosting 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. 
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-rc1 73 4/22/2025
1.1.0 200 4/17/2025
1.1.0-alpha1 131 12/6/2024
1.0.2 181 11/27/2024
1.0.1 82 10/14/2024
1.0.0 78 7/11/2024
1.0.0-rc7 80 6/6/2024
1.0.0-rc6 73 6/5/2024
1.0.0-rc3 163 3/22/2024
1.0.0-rc1 175 1/13/2024
0.2.3 218 3/16/2023
0.2.0 396 1/10/2023
0.1.0 336 1/3/2023
0.1.0-rc2 256 9/27/2022
0.1.0-rc1 210 9/26/2022
0.1.0-a1.1 164 9/16/2022