netlah/spa-host-sample

By netlah

Updated 6 months ago

Sample ASP.NET Core hosting Single Page Applications (SPA)

Image
0

5.3K

netlah/spa-host-sample 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:910e6046c

Size

154 MB

Last updated

6 months ago

docker pull netlah/spa-host-sample:1.3.1-10.0-nanoserver-1809