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