aspnetcore/test
Ryan Nowak d2908e7b7b Tweak lifetimes for a few commonly resolved services
This is some low hanging fruit for reducing the number of resolves we have
per request.

DefaultHtmlGenerator: Lots of these are created by RazorPage. It needs
IUrlHelper, so scoped is the best we can do for now. For an example, on
the front page of our sample, 48 of these are created for each request.
48! This takes it down to 1-per-request.

JsonResult: Again, multiple created per request (12 for the sample). This
class is totally stateless, so we can get down to 0-per-request.

DefaultViewComponentInvokerFactory: Same story as JsonResult.

DefaultObjectValidator/MvcMarkerService/DefaultFilterProvider:
these are stateless and pretty much guaranteed to be used by every request.
Getting them off the table.
2015-06-25 12:52:15 -07:00
..
Microsoft.AspNet.JsonPatch.Test
Microsoft.AspNet.Mvc.Abstractions.Test Add `ModelState` entries for greedy and type-matching model binders 2015-06-23 22:34:55 -07:00
Microsoft.AspNet.Mvc.ApiExplorer.Test
Microsoft.AspNet.Mvc.Common.Test
Microsoft.AspNet.Mvc.Core.Test Tweak lifetimes for a few commonly resolved services 2015-06-25 12:52:15 -07:00
Microsoft.AspNet.Mvc.Extensions.Test Add `ModelBindingContext.IsFirstChanceBinding` and `IsTopLevelObject` 2015-06-24 09:17:29 -07:00
Microsoft.AspNet.Mvc.FunctionalTests Get tests working with `core.autocrlf=false` 2015-06-24 14:53:07 -07:00
Microsoft.AspNet.Mvc.IntegrationTests Add `ModelBindingContext.IsFirstChanceBinding` and `IsTopLevelObject` 2015-06-24 09:17:29 -07:00
Microsoft.AspNet.Mvc.Razor.Host.Test Get tests working with `core.autocrlf=false` 2015-06-24 14:53:07 -07:00
Microsoft.AspNet.Mvc.Razor.Test
Microsoft.AspNet.Mvc.TagHelpers.Test
Microsoft.AspNet.Mvc.Test
Microsoft.AspNet.Mvc.TestCommon Get tests working with `core.autocrlf=false` 2015-06-24 14:53:07 -07:00
Microsoft.AspNet.Mvc.WebApiCompatShimTest
Microsoft.AspNet.Mvc.Xml.Test
WebSites Get tests working with `core.autocrlf=false` 2015-06-24 14:53:07 -07:00