Go to file
David Fowler 22423271c9 Make the RequestServicesContainerMiddleware thinner (#1360)
- Today the request services middleware is responsible for making sure there are request scoped services.
This PR tries introduces some breaking changes that are hopefully acceptable in order to gain some performance.
- Here are the assumptions this PR makes:
 - Since this middleware is first in the pipeline, the only thing that can
  set a default service provider would be the server itself. Since we have no servers that do that
  I removed that code that tries to noop if there's an existing service provider.
 - This PR no longer restores the previous service provider feature since it gets replaced every request
 anyways. Kestrel also clears out the feature on each request so it shouldn't be a problem (in theory).
 Once again, since this middleware is first, it is the last thing that runs before the server re-gains
 control on the way out so there's no need to restore anything.
 - We use the RegisterForDispose method to dispose of the IServiceProvider instead of doing it inline.
2018-03-21 02:19:25 -07:00
build Branching for 2.1.0-preview2 2018-03-16 11:14:32 -07:00
samples
shared/Microsoft.AspNetCore.Hosting.WebHostBuilderFactory.Sources
src Make the RequestServicesContainerMiddleware thinner (#1360) 2018-03-21 02:19:25 -07:00
test Convert TestHost ResponseStream to use Pipes. 2018-03-07 15:22:20 -08:00
.appveyor.yml
.gitattributes
.gitignore
.travis.yml
CONTRIBUTING.md
Directory.Build.props Convert TestHost ResponseStream to use Pipes. 2018-03-07 15:22:20 -08:00
Directory.Build.targets
Hosting.sln Add missing TestAssets projects to Hosting.sln (#1352) 2018-03-14 18:31:10 -07:00
LICENSE.txt
NuGet.config
NuGetPackageVerifier.json
README.md
build.cmd
build.sh
korebuild-lock.txt Branching for 2.1.0-preview2 2018-03-16 11:14:32 -07:00
korebuild.json Update KoreBuild channel 2018-03-16 12:29:37 -07:00
run.cmd
run.ps1
run.sh
version.props

README.md

Hosting

AppVeyor: AppVeyor

Travis: Travis

The Hosting repo contains code required to host an ASP.NET Core application, it is the entry point used when self-hosting an application.

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.