aspnetcore/test/Microsoft.AspNet.Mvc.Core.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
..
ApplicationModel [Fixes #2700] Added HttpHeadAttribute 2015-06-17 12:58:02 -07:00
Internal Split Mvc.Core 2015-06-09 02:12:13 -07:00
ModelBinding Add `ModelBindingContext.IsFirstChanceBinding` and `IsTopLevelObject` 2015-06-24 09:17:29 -07:00
Properties Split Mvc.Core 2015-06-09 02:12:13 -07:00
Routing
ActionExecutorTests.cs
BindAttributeTest.cs
ControllerActionArgumentBinderTests.cs Split Mvc.Core 2015-06-09 02:12:13 -07:00
ControllerActionDescriptorBuilderTest.cs
ControllerActionDescriptorProviderTests.cs Split Mvc.Core 2015-06-09 02:12:13 -07:00
ControllerActionInvokerTest.cs [Fixes #2409] Return EmptyResult for void actions 2015-06-11 11:51:51 -07:00
DefaultActionSelectorTests.cs [Fixes #2700] Added HttpHeadAttribute 2015-06-17 12:58:02 -07:00
DefaultAssemblyProviderTests.cs
DefaultControllerActivatorTest.cs Split Mvc.Core 2015-06-09 02:12:13 -07:00
DefaultControllerFactoryTest.cs Split Mvc.Core 2015-06-09 02:12:13 -07:00
DefaultControllerTypeProviderTest.cs Split Mvc.Core 2015-06-09 02:12:13 -07:00
DefaultFilterProviderTest.cs Tweak lifetimes for a few commonly resolved services 2015-06-25 12:52:15 -07:00
ExcludeTypeValidationFilterExtensionsTests.cs
FilterCollectionExtensionsTest.cs Split Mvc.Core 2015-06-09 02:12:13 -07:00
FlushReportingStream.cs Split Mvc.Core 2015-06-09 02:12:13 -07:00
HttpMethodProviderAttributesTests.cs [Fixes #2700] Added HttpHeadAttribute 2015-06-17 12:58:02 -07:00
HttpResponseStreamWriterTest.cs
KnownRouteValueConstraintTests.cs
Microsoft.AspNet.Mvc.Core.Test.xproj
MockMvcOptionsAccessor.cs
MockScopedInstance.cs
ModelBindingHelperTest.cs Split Mvc.Core 2015-06-09 02:12:13 -07:00
MvcCoreServiceCollectionExtensionsTest.cs Adding an 'AddMinimalMvc()' for Mvc.Core and sample 2015-06-12 11:29:47 -07:00
MvcOptionsTests.cs Split Mvc.Core 2015-06-09 02:12:13 -07:00
MvcRouteHandlerTests.cs Fix build break: React to aspnet/EventNotification#11 2015-06-24 09:02:58 -07:00
NoContentFormatterTests.cs Split Mvc.Core 2015-06-09 02:12:13 -07:00
NonDisposableStreamTest.cs Split Mvc.Core 2015-06-09 02:12:13 -07:00
ObjectResultTests.cs Split Mvc.Core 2015-06-09 02:12:13 -07:00
OutputFormatterTests.cs Split Mvc.Core 2015-06-09 02:12:13 -07:00
RouteDataActionConstraintTest.cs
RouteTemplateProviderAttributesTest.cs [Fixes #2700] Added HttpHeadAttribute 2015-06-17 12:58:02 -07:00
ScopedInstanceTest.cs
SessionStateTempDataProviderTest.cs
SimpleTypeExcludeFilterTest.cs
StreamOutputFormatterTest.cs Split Mvc.Core 2015-06-09 02:12:13 -07:00
StringOutputFormatterTests.cs Split Mvc.Core 2015-06-09 02:12:13 -07:00
TempDataDictionaryTest.cs
TestController.cs
UrlHelperTest.cs
project.json