Sign inSign up

netlah/spa-host

By netlah

•Updated 17 days ago

ASP.NET Core hosting Single Page Applications (SPA)

Image
1

7.5K

netlah/spa-host repository overview

⁠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.NETCore 6

⁠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();

Tag summary

Content type

Image

Digest

sha256:1dd86fd67…

Size

69.5 MB

Last updated

17 days ago

docker pull netlah/spa-host