https://github.com/netlah/spaservices-hosting
The ASP.NET Core hosting the single-page application
https://github.com/netlah/spaservices-hosting
asp-net-core aspnetcore configurable dotnet host hosting netcore single-page-application spa web-ssh webssh
Last synced: 6 months ago
JSON representation
The ASP.NET Core hosting the single-page application
- Host: GitHub
- URL: https://github.com/netlah/spaservices-hosting
- Owner: NetLah
- License: mit
- Created: 2022-09-12T07:22:09.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2025-02-17T02:19:32.000Z (8 months ago)
- Last Synced: 2025-03-25T14:40:15.664Z (6 months ago)
- Topics: asp-net-core, aspnetcore, configurable, dotnet, host, hosting, netcore, single-page-application, spa, web-ssh, webssh
- Language: C#
- Homepage: https://hub.docker.com/r/netlah/spa-host
- Size: 224 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# NetLah.Extensions.SpaServices.Hosting - .NET Library
[NetLah.Extensions.SpaServices.Hosting](https://www.nuget.org/packages/NetLah.Extensions.SpaServices.Hosting/) is a library support setting ASP.NET Core SpaServices hosting from configuration.
## Nuget package
[](https://www.nuget.org/packages/NetLah.Extensions.SpaServices.Hosting/)
## Build Status
[](https://github.com/NetLah/spaservices-hosting/actions/workflows/aspnet-core.yml)
## Getting started
### 1. Add/Update PackageReference to web .csproj
```
```
### 2. Use SPA Hosting
```csharp
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