SimpleStaticHttpServer 1.0.3

dotnet tool install --global SimpleStaticHttpServer --version 1.0.3
This package contains a .NET tool you can call from the shell/command line.
dotnet new tool-manifest # if you are setting up this repo
dotnet tool install --local SimpleStaticHttpServer --version 1.0.3
This package contains a .NET tool you can call from the shell/command line.
#tool dotnet:?package=SimpleStaticHttpServer&version=1.0.3
nuke :add-package SimpleStaticHttpServer --version 1.0.3

SimpleStaticHttpServer

A simple tool to serve static files over HTTP using SimpleStaticHttp library.

ℹī¸ This utility is meant to help development and not optimized for production.

Usage

To install:

$ dotnet tool install -g SimpleStaticHttpServer

To run:

$ simple-static-http-server # Serves current dir at http://localhost:8080

Use --help to see how to configure host, port, and base dir.

Support for .NET framework 4.*

For .NET framework 4.*, this is not installable as dotnet tool but can be built:

$ dotnet build -f net40 -c Release
Product Compatible and additional computed target framework versions.
.NET net5.0 is compatible.  net5.0-windows was computed.  net6.0 is compatible.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 is compatible.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 is compatible.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
Version Downloads Last updated
1.0.3 99 4/27/2024
1.0.2 94 4/26/2024
1.0.1 85 4/26/2024
1.0.0 84 4/26/2024