55 references to AddMvc
BasicWebSite (7)
Startup.cs (1)
14services.AddMvc()
StartupRequestLimitSize.cs (1)
12services.AddMvc()
StartupWithCookieTempDataProviderAndCookieConsent.cs (1)
10services.AddMvc()
StartupWithCustomInvalidModelStateFactory.cs (1)
18.AddMvc()
StartupWithNewtonsoftJson.cs (1)
11.AddMvc()
StartupWithSessionTempDataProvider.cs (1)
12.AddMvc()
StartupWithSystemTextJson.cs (1)
11.AddMvc();
ClaimsTransformation (1)
Startup.cs (1)
31services.AddMvc();
Cookies (1)
Startup.cs (1)
33services.AddMvc();
CustomPolicyProvider (1)
Startup.cs (1)
25services.AddMvc();
DynamicSchemes (1)
Startup.cs (1)
28services.AddMvc();
Identity.DefaultUI.WebSite (3)
NoIdentityStartup.cs (1)
27services.AddMvc()
PocoUserStartup.cs (1)
28services.AddMvc()
StartupBase.cs (1)
46services.AddMvc();
Identity.ExternalClaims (1)
Startup.cs (1)
60services.AddMvc()
IdentitySample.DefaultUI (1)
Startup.cs (1)
43services.AddMvc().AddNewtonsoftJson();
IdentitySample.Mvc (1)
Startup.cs (1)
35services.AddMvc();
Microsoft.AspNetCore.Identity.FunctionalTests (2)
Infrastructure\ServerFactory.cs (2)
47.AddMvc() 98.AddMvc()
Microsoft.AspNetCore.Identity.UI (1)
IdentityBuilderUIExtensions.cs (1)
36.AddMvc()
Microsoft.AspNetCore.Mvc (1)
MvcServiceCollectionExtensions.cs (1)
51var builder = services.AddMvc();
Microsoft.AspNetCore.Mvc.IntegrationTests (3)
AuthorizeFilterIntegrationTest.cs (1)
180serviceCollection.AddMvc();
HasValidatorsValidationMetadataProviderIntegrationTest.cs (1)
21serviceCollection.AddMvc();
ModelBindingTestHelper.cs (1)
194serviceCollection.AddMvc()
Microsoft.AspNetCore.Mvc.NewtonsoftJson.Test (1)
DependencyInjection\NewtonsoftJsonMvcBuilderExtensionsTest.cs (1)
19services.AddMvc()
Microsoft.AspNetCore.Mvc.RazorPages.Test (1)
Builder\PageActionEndpointConventionBuilderResourceCollectionExtensionsTest.cs (1)
223collection.AddMvc()
Microsoft.AspNetCore.Mvc.Test (15)
MvcOptionsSetupTest.cs (1)
291serviceCollection.AddMvc();
MvcServiceCollectionExtensionsTest.cs (14)
53services.AddMvc(); 91services.AddMvc(); 171services.AddMvc(); 172services.AddMvc(); 307services.AddMvc(); 334services.AddMvc(); 335services.AddMvc(); 360services.AddMvc(); 361services.AddMvc(); 385services.AddMvc(); 409services.AddMvc(); 433services.AddMvc(); 447var builder = services.AddMvc(); 461services.AddMvc();
Mvc.RoutingWebSite (7)
StartupForDynamic.cs (1)
16.AddMvc()
StartupForDynamicAndRazorPages.cs (1)
14.AddMvc();
StartupForDynamicOrder.cs (1)
31.AddMvc()
StartupForEndpointFilters.cs (1)
14services.AddMvc().AddNewtonsoftJson();
StartupForFallback.cs (1)
15.AddMvc()
StartupForGroups.cs (1)
14services.AddMvc().AddNewtonsoftJson();
StartupForLinkGenerator.cs (1)
18.AddMvc()
PathSchemeSelection (1)
Startup.cs (1)
24services.AddMvc();
RazorBuildWebSite (1)
Startup.cs (1)
13services.AddMvc()
RazorPagesWebSite (1)
StartupWithBasePath.cs (1)
22var builder = services.AddMvc()
RazorWebSite (2)
Startup.cs (1)
19.AddMvc()
StartupDataAnnotations.cs (1)
17.AddMvc()
Sandbox (1)
Startup.cs (1)
13services.AddMvc();
StaticFilesAuth (1)
Startup.cs (1)
66services.AddMvc();