This change makes the handling of graceful shutdown work for more than just http scenarios. This should allow us to move TLS further out and should also allow us to start moving things to connection middleware instead of connection adapters. Summary of the things changed/added: - Added IConnectionLifetimeNotificationFeature that represents an attempt to gracefully close the connection that isn't being aborted. This feels pretty awful but we may have to do it. - Moved connection management to the ConnectionDispatcher and out of the HttpConnectionMiddleware - Removed Http from the names of the ConnectionManager and Heartbeat |
||
|---|---|---|
| .vscode | ||
| .vsts-pipelines/builds | ||
| benchmarkapps/PlatformBenchmarks | ||
| benchmarks/Kestrel.Performance | ||
| build | ||
| samples | ||
| shared | ||
| src | ||
| test | ||
| tools/CodeGenerator | ||
| .gitattributes | ||
| .gitignore | ||
| CONTRIBUTING.md | ||
| Directory.Build.props | ||
| Directory.Build.targets | ||
| KestrelHttpServer.sln | ||
| LICENSE.txt | ||
| NuGet.config | ||
| NuGetPackageVerifier.json | ||
| README.md | ||
| ToProjectReferences.ps1 | ||
| build.cmd | ||
| build.sh | ||
| korebuild-lock.txt | ||
| korebuild.json | ||
| run.cmd | ||
| run.ps1 | ||
| run.sh | ||
| version.props | ||
README.md
KestrelHttpServer
This repo contains a cross-platform web server for ASP.NET Core.
This project is part of ASP.NET Core. You can find samples, documentation and getting started instructions for ASP.NET Core at the Home repo.
Building from source
To run a complete build on command line only, execute build.cmd or build.sh without arguments. See developer documentation for more details.
File logging for functional test
Turn on file logging for Kestrel functional tests by specifying the environment variable ASPNETCORE_TEST_LOG_DIR to the log output directory.
Packages
Kestrel is available as a NuGet package.
| Package name | Stable | Nightly (dev branch) |
|---|---|---|
Microsoft.AspNetCore.Server.Kestrel |
||
Microsoft.AspNetCore.Server.Kestrel.Https |