43 references to AddMvcCore
Microsoft.AspNetCore.Mvc (8)
MvcServiceCollectionExtensions.cs (8)
66
/// combines the effects of <see cref="MvcCoreServiceCollectionExtensions.
AddMvcCore
(IServiceCollection)"/>,
101
/// combines the effects of <see cref="MvcCoreServiceCollectionExtensions.
AddMvcCore
(IServiceCollection)"/>,
136
.
AddMvcCore
()
161
/// combines the effects of <see cref="MvcCoreServiceCollectionExtensions.
AddMvcCore
(IServiceCollection)"/>,
194
/// combines the effects of <see cref="MvcCoreServiceCollectionExtensions.
AddMvcCore
(IServiceCollection)"/>,
243
/// combines the effects of <see cref="MvcCoreServiceCollectionExtensions.
AddMvcCore
(IServiceCollection)"/>,
274
/// combines the effects of <see cref="MvcCoreServiceCollectionExtensions.
AddMvcCore
(IServiceCollection)"/>,
306
.
AddMvcCore
()
Microsoft.AspNetCore.Mvc.Core (7)
DependencyInjection\MvcCoreServiceCollectionExtensions.cs (7)
39
/// The <see cref="MvcCoreServiceCollectionExtensions.
AddMvcCore
(IServiceCollection)"/> approach for configuring
41
/// registered. <see cref="MvcCoreServiceCollectionExtensions.
AddMvcCore
(IServiceCollection)"/> will register
44
/// <see cref="MvcCoreServiceCollectionExtensions.
AddMvcCore
(IServiceCollection)"/>. Additional configuration using the
107
/// The <see cref="MvcCoreServiceCollectionExtensions.
AddMvcCore
(IServiceCollection)"/> approach for configuring
109
/// registered. <see cref="MvcCoreServiceCollectionExtensions.
AddMvcCore
(IServiceCollection)"/> will register
112
/// <see cref="MvcCoreServiceCollectionExtensions.
AddMvcCore
(IServiceCollection)"/>. Additional configuration using the
122
var builder = services.
AddMvcCore
();
Microsoft.AspNetCore.Mvc.Core.Test (5)
DependencyInjection\MvcCoreServiceCollectionExtensionsTest.cs (5)
117
var builder = services.
AddMvcCore
();
139
var builder = services.
AddMvcCore
();
156
var builder = services.
AddMvcCore
();
180
var builder = services.
AddMvcCore
();
202
var builder = services.
AddMvcCore
();
Microsoft.AspNetCore.Mvc.FunctionalTests (6)
AntiforgeryMiddlewareTest.cs (6)
26
builder.Services.
AddMvcCore
().UseSpecificControllers(typeof(TestController));
58
builder.Services.
AddMvcCore
().UseSpecificControllers(typeof(TestWithBothAttributesController)).AddViews();
72
builder.Services.
AddMvcCore
().UseSpecificControllers(typeof(TestController)).AddViews();
99
builder.Services.
AddMvcCore
().UseSpecificControllers(typeof(TestController));
142
builder.Services.
AddMvcCore
().UseSpecificControllers(typeof(TestController)).AddViews();
174
builder.Services.
AddMvcCore
().UseSpecificControllers(typeof(TestWithRequestSizeLimitController));
Microsoft.AspNetCore.Mvc.NewtonsoftJson.Test (1)
DependencyInjection\NewtonsoftJsonMvcCoreBuilderExtensionsTest.cs (1)
23
services.
AddMvcCore
()
Microsoft.AspNetCore.Mvc.Razor.Test (3)
DependencyInjection\MvcRazorMvcCoreBuilderExtensionsTest.cs (3)
23
.
AddMvcCore
();
46
.
AddMvcCore
();
58
.
AddMvcCore
()
Microsoft.AspNetCore.Mvc.ViewFeatures.Test (12)
Builder\ControllerActionEndpointConventionBuilderResourceCollectionExtensionsTest.cs (1)
296
collection.
AddMvcCore
()
DependencyInjection\MvcViewFeaturesMvcCoreBuilderExtensionsTest.cs (11)
17
var builder = services.
AddMvcCore
();
32
var builder = services.
AddMvcCore
();
47
var builder = services.
AddMvcCore
();
63
var builder = services.
AddMvcCore
();
78
var builder = services.
AddMvcCore
();
94
var builder = services.
AddMvcCore
();
110
var builder = services.
AddMvcCore
();
126
var builder = services.
AddMvcCore
();
142
var builder = services.
AddMvcCore
();
158
var builder = services.
AddMvcCore
();
174
var builder = services.
AddMvcCore
();
SimpleWebSite (1)
Startup.cs (1)
15
.
AddMvcCore
()