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. |
||
|---|---|---|
| .. | ||
| wwwroot | ||
| ControllersFromServicesWebSite.xproj | ||
| NotInServicesController.cs | ||
| Startup.cs | ||
| ViewData.cshtml | ||
| project.json | ||
| readme.md | ||
readme.md
Functional test site for verifying that controllers registered as services can be consumed by DefaultControllerFactory.