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
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
nuke :add-package SimpleStaticHttpServer --version 1.0.3
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
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 | Versions 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.
-
.NETFramework 4.0
- CommandLineParser (>= 2.9.1)
- SimpleStaticHttp (>= 1.0.7)