This change removes the dependency of TempData on the IHttpContextAccessor by creating an ITempDataDictionaryFactory abstraction. In general, no one will replace the factory, it's just indirection. This allows us to drop our dependency on IHttpContextAccessor, and move it to the functional tests where we specifically depend on it. The bulk of code churn here is to update tests that use TempData. |
||
|---|---|---|
| .. | ||
| Controllers | ||
| Views/Other | ||
| wwwroot | ||
| RequestIdMiddleware.cs | ||
| RequestIdService.cs | ||
| RequestIdViewComponent.cs | ||
| RequestScopedActionConstraint.cs | ||
| RequestScopedFilter.cs | ||
| RequestScopedTagHelper.cs | ||
| RequestServicesWebSite.xproj | ||
| Startup.cs | ||
| project.json | ||
| readme.md | ||
readme.md
RequestServicesWebSite
This web site registers services which are scoped per request. This web site is used for functional testing to ensure that the services are per-request and does not linger around to impact the next request.