dotnet-serve 1.1.0

A simple command-line HTTP server.

There is a newer version of this package available.
See the version list below for details.
dotnet tool install --global dotnet-serve --version 1.1.0
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 dotnet-serve --version 1.1.0
This package contains a .NET tool you can call from the shell/command line.
#tool dotnet:?package=dotnet-serve&version=1.1.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
nuke :add-package dotnet-serve --version 1.1.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

After installing, run dotnet serve to launch a server in the current directory. Use dotnet serve -o to automatically open a web browser.

Common options -o or --open-browser launches the browser -S or --tls enables HTTPs. -p or --port to change the port. (Defaults to 8080)

See dotnet serve --help for advanced options and details on usage.

After installing, run dotnet serve to launch a server in the current directory. Use dotnet serve -o to automatically open a web browser.

Common options -o or --open-browser launches the browser -S or --tls enables HTTPs. -p or --port to change the port. (Defaults to 8080)

See dotnet serve --help for advanced options and details on usage.

Release Notes

New feature:
* @Tarmil: Add support for setting custom MIME types base on file extension

Deprecated feature:
* Remove `--razor`. This was a prototype, but due to pending deprecation of some Razor APIs, this feature won't work in the future anyways. See https://github.com/aspnet/Announcements/issues/312
   
See /blob/master/CHANGELOG.md#v110 for release notes.

Dependencies

This package has no dependencies.

Version History

Version Downloads Last updated
1.8.34 3,815 3/4/2021
1.8.31 77 3/4/2021
1.8.26 90 3/4/2021
1.8.25 85 3/4/2021
1.8.15 12,730 1/31/2021
1.7.141 1,787 12/3/2020
1.7.140 115 12/3/2020
1.7.139 3,096 11/6/2020
1.7.138 218 11/6/2020
1.7.137 929 10/1/2020
1.7.136 643 9/5/2020
1.7.135 240 9/2/2020
1.7.134 226 9/2/2020
1.7.133 252 8/30/2020
1.7.132 1,150 7/17/2020
1.7.131 640 6/28/2020
1.7.130 195 6/28/2020
1.7.125 199,820 5/2/2020
1.7.124 360 4/25/2020
1.7.123 189 4/25/2020
1.7.122 681 4/11/2020
1.7.121 363 4/11/2020
1.7.120 1,022 3/15/2020
1.7.119 534 2/29/2020
1.7.116 500 2/11/2020
1.6.0 9,057 12/4/2019
1.5.0 89,758 10/22/2019
1.4.1 826 9/21/2019
1.4.0 257 9/20/2019
1.3.0 636 8/29/2019
1.2.0 2,971 2/25/2019
1.1.0 1,706 10/18/2018
1.0.0 1,875 5/30/2018
0.4.1 657 5/11/2018
0.4.0 577 5/11/2018
0.3.0 671 4/11/2018
0.2.1 648 3/28/2018
0.2.0 661 3/12/2018
0.1.0 778 12/13/2017
Show less