A simple command-line HTTP/HTTPS server for the .NET Core CLI that serves files from the current directory.
dotnet-serve is a command-line HTTP/HTTPS server tool for the .NET Core CLI that serves static files from the current directory. It provides a quick way to spin up a local web server for development, testing, or file sharing, with built-in support for HTTPS, reverse proxying, and compression. The tool simplifies common tasks like serving single-page applications or proxying API requests during local development.
.NET developers who need a lightweight, local web server for testing static websites, APIs, or single-page applications without configuring IIS or other web servers. It is also useful for developers working in containerized environments like Docker who require a simple file server.
Developers choose dotnet-serve for its simplicity, seamless integration with the .NET ecosystem, and robust feature set including HTTPS with developer certificates, reverse proxy support, and configuration persistence. Unlike heavier alternatives, it requires minimal setup and is distributed as a global .NET tool, making it easily accessible from any directory.
Simple command-line HTTPS server for the .NET Core CLI
Supports TLS with default ASP.NET Core developer certificates, custom PEM/PFX files, and simple flags like -S, making local HTTPS testing painless without manual certificate configuration.
Allows mapping path patterns to backend URLs using ASP.NET routing syntax (e.g., --reverse-proxy), enabling seamless API forwarding during frontend development without additional tools.
Options like port, headers, and compression can be saved to .netconfig files via --save-options, promoting consistency and reducing repetitive command-line arguments across projects.
Distributed as a global .NET tool, it requires minimal setup and leverages the .NET ecosystem, such as developer certificates, for a smooth, CLI-focused experience.
Cannot handle server-side logic or dynamic content generation; it's strictly for serving static files and proxying, which restricts use cases compared to full web servers.
Requires .NET SDK or runtime installation, adding overhead for non-.NET environments or teams preferring language-agnostic tools.
CORS support is all-or-nothing with the -c flag, lacking granular control over origins or methods, and there's no built-in authentication for secured access.
Only supports RSA private keys for PEM files, as noted in the README, which may complicate setups using other key types like ECC certificates.
A convention-based object-object mapper in .NET.
Humanizer meets all your .NET needs for manipulating and displaying strings, enums, dates, times, timespans, numbers and quantities
:angel: The ultimate angle brackets parser library parsing HTML5, MathML, SVG and CSS to construct a DOM based on the official W3C specifications.
A fast, powerful, CommonMark compliant, extensible Markdown processor for .NET
Open-Awesome is built by the community, for the community. Submit a project, suggest an awesome list, or help improve the catalog on GitHub.