dotnet-serve
Simple command-line HTTPS server for the .NET Core CLI
File Explorer
Download Latest Version (.zip)- Bug_report.md
- config.yml
- Feature_request.md
- Question.md
- ci.yml
- stale.yml
- CODEOWNERS
- launch.json
- tasks.json
- GenerateCert.md
- DefaultExtensionsExtensions.cs
- DefaultExtensionsMiddleware.cs
- DefaultExtensionsOptions.cs
- EphemeralXmlRepository.cs
- KeyManager.cs
- HeadersExtensions.cs
- HeadersMiddleware.cs
- HeadersOptions.cs
- AssemblyInfo.cs
- launchSettings.json
- CertificateLoader.cs
- NullAuthPolicyProvider.cs
- .netconfig
- CommandLineOptions.cs
- ConsoleExtensions.cs
- dotnet-serve.csproj
- DotNetUtilities.cs
- IPAddressParser.cs
- Program.cs
- releasenotes.props
- SimpleServer.cs
- Startup.cs
- common.psm1
- Directory.Build.targets
- fallback-file.html
- cert.pfx
- cert.pem
- private.key
- make-cert.sh
- file.js
- file.log
- file.mytxt
- Index.cshtml
- api.json
- file.html
- BrotliTests.cs
- CertLoaderTests.cs
- CommandLineOptionsTests.cs
- ConfigTests.cs
- dotnet-serve.Tests.csproj
- DotNetServe.cs
- FallbackFileTests.cs
- GzipTests.cs
- HeadersTests.cs
- HttpClientExtensions.cs
- MimeTests.cs
- OptionsRequestTest.cs
- ReverseProxyTests.cs
- .editorconfig
- .gitattributes
- .gitignore
- build.ps1
- CLAUDE.md
- CONTRIBUTING.md
- Directory.Build.props
- dotnet-serve.sln
- LICENSE.txt
- README.md
# Installation Guide
1. Get the code
git clone https://github.com/natemcmaster/dotnet-serve
Downloads the entire project code from GitHub to your computer.
cd dotnet-serve
Moves into the project folder you just downloaded.
2. .NET
Medium RecommendedPrerequisites
dotnet tool install --global dotnet-serve
Type this command into your terminal and run it.
dotnet serve -o
Type this command into your terminal and run it.
dotnet serve -o -S
Type this command into your terminal and run it.
dotnet serve --port 8080
Type this command into your terminal and run it.
dotnet serve --address any
Type this command into your terminal and run it.
After dotnet run, check the message or address shown in the terminal.
Pulled directly from this repo's README.
// repository documentation
Was this content helpful?
(0 ratings)
