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 React to Http namespace changes. 2015-05-07 15:19:10 -07:00
ActionExecutorTests.cs Fix #2414 Part 2 - Add [DefaultValue(...)] support to the invoker for 2015-05-14 13:58:02 -07:00
BindAttributeTest.cs [Fixes #2564] Support comma separated string include in BindAttribute 2015-06-08 14:30:10 -07:00
ControllerActionArgumentBinderTests.cs Split Mvc.Core 2015-06-09 02:12:13 -07:00
ControllerActionDescriptorBuilderTest.cs Update LICENSE.txt and license header on files. 2015-05-01 13:55:25 -07:00
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 Update LICENSE.txt and license header on files. 2015-05-01 13:55:25 -07:00
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 Update LICENSE.txt and license header on files. 2015-05-01 13:55:25 -07:00
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 Custom stream writer which avoids writing the BOM and does not flush or close the stream. 2015-05-11 13:27:05 -07:00
KnownRouteValueConstraintTests.cs Update LICENSE.txt and license header on files. 2015-05-01 13:55:25 -07:00
Microsoft.AspNet.Mvc.Core.Test.xproj
MockMvcOptionsAccessor.cs Update LICENSE.txt and license header on files. 2015-05-01 13:55:25 -07:00
MockScopedInstance.cs Update LICENSE.txt and license header on files. 2015-05-01 13:55:25 -07:00
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 Update LICENSE.txt and license header on files. 2015-05-01 13:55:25 -07:00
RouteTemplateProviderAttributesTest.cs [Fixes #2700] Added HttpHeadAttribute 2015-06-17 12:58:02 -07:00
ScopedInstanceTest.cs Update LICENSE.txt and license header on files. 2015-05-01 13:55:25 -07:00
SessionStateTempDataProviderTest.cs React to Session api review changes 2015-06-08 09:44:05 -07:00
SimpleTypeExcludeFilterTest.cs Update LICENSE.txt and license header on files. 2015-05-01 13:55:25 -07:00
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 Update LICENSE.txt and license header on files. 2015-05-01 13:55:25 -07:00
TestController.cs Fix #2414 Part 2 - Add [DefaultValue(...)] support to the invoker for 2015-05-14 13:58:02 -07:00
UrlHelperTest.cs React to Http namespace changes. 2015-05-07 15:19:10 -07:00
project.json