10 references to TryAddTransient
Microsoft.AspNetCore.Mvc.Core (4)
DependencyInjection\MvcCoreServiceCollectionExtensions.cs (4)
200
services.
TryAddTransient
<RequestSizeLimitFilter>();
201
services.
TryAddTransient
<DisableRequestSizeLimitFilter>();
202
services.
TryAddTransient
<RequestFormLimitsFilter>();
253
services.
TryAddTransient
<MvcAttributeRouteHandler>(); // Many per app
Microsoft.AspNetCore.Mvc.RazorPages (1)
DependencyInjection\MvcRazorPagesMvcCoreBuilderExtensions.cs (1)
149
services.
TryAddTransient
<PageSaveTempDataPropertyFilter>();
Microsoft.AspNetCore.Mvc.ViewFeatures (1)
DependencyInjection\MvcViewFeaturesMvcCoreBuilderExtensions.cs (1)
192
services.
TryAddTransient
<ControllerSaveTempDataPropertyFilter>();
Microsoft.AspNetCore.Routing (2)
DependencyInjection\RoutingServiceCollectionExtensions.cs (2)
86
services.
TryAddTransient
<DfaMatcherBuilder>();
88
services.
TryAddTransient
<DataSourceDependentMatcher.Lifetime>();
Microsoft.Extensions.Http.Resilience.PerformanceTests (2)
RetryBenchmark.cs (1)
36
services.
TryAddTransient
<ResiliencePipelineBuilder>();
StandardResilienceBenchmark.cs (1)
36
services.
TryAddTransient
<ResiliencePipelineBuilder>();