NetLah.Extensions.SpaServices.Hosting 0.2.0

The ID prefix of this package has been reserved for one of the owners of this package by NuGet.org. Prefix Reserved
.NET 6.0
There is a newer version of this package available.
See the version list below for details.
dotnet add package NetLah.Extensions.SpaServices.Hosting --version 0.2.0
NuGet\Install-Package NetLah.Extensions.SpaServices.Hosting -Version 0.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="0.2.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add NetLah.Extensions.SpaServices.Hosting --version 0.2.0
#r "nuget: NetLah.Extensions.SpaServices.Hosting, 0.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.
// Install NetLah.Extensions.SpaServices.Hosting as a Cake Addin
#addin nuget:?package=NetLah.Extensions.SpaServices.Hosting&version=0.2.0

// Install NetLah.Extensions.SpaServices.Hosting as a Cake Tool
#tool nuget:?package=NetLah.Extensions.SpaServices.Hosting&version=0.2.0

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 Versions
.NET net6.0 net6.0-android net6.0-ios net6.0-maccatalyst net6.0-macos net6.0-tvos net6.0-windows net7.0 net7.0-android net7.0-ios net7.0-maccatalyst net7.0-macos net7.0-tvos net7.0-windows
Compatible target framework(s)
Additional computed target framework(s)
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
0.2.3 59 3/16/2023
0.2.0 207 1/10/2023
0.1.0 173 1/3/2023
0.1.0-rc2 82 9/27/2022
0.1.0-rc1 64 9/26/2022
0.1.0-a1.1 79 9/16/2022