40 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
();
IdentitySample.Mvc (1)
Startup.cs (1)
35
services.
AddMvc
();
Microsoft.AspNetCore.Identity.FunctionalTests (2)
Infrastructure\ServerFactory.cs (2)
47
.
AddMvc
()
99
.
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
();
PathSchemeSelection (1)
Startup.cs (1)
24
services.
AddMvc
();
RazorBuildWebSite (1)
Startup.cs (1)
15
services.
AddMvc
()
Sandbox (1)
Startup.cs (1)
13
services.
AddMvc
();
StaticFilesAuth (1)
Startup.cs (1)
66
services.
AddMvc
();