Skip to content

Latest commit

 

History

History
37 lines (23 loc) · 1.07 KB

README.md

File metadata and controls

37 lines (23 loc) · 1.07 KB

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