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 122var builder = services.AddMvcCore();
Microsoft.AspNetCore.Mvc.Core.Test (5)
DependencyInjection\MvcCoreServiceCollectionExtensionsTest.cs (5)
117var builder = services.AddMvcCore(); 139var builder = services.AddMvcCore(); 156var builder = services.AddMvcCore(); 180var builder = services.AddMvcCore(); 202var builder = services.AddMvcCore();
Microsoft.AspNetCore.Mvc.FunctionalTests (6)
AntiforgeryMiddlewareTest.cs (6)
26builder.Services.AddMvcCore().UseSpecificControllers(typeof(TestController)); 58builder.Services.AddMvcCore().UseSpecificControllers(typeof(TestWithBothAttributesController)).AddViews(); 72builder.Services.AddMvcCore().UseSpecificControllers(typeof(TestController)).AddViews(); 99builder.Services.AddMvcCore().UseSpecificControllers(typeof(TestController)); 142builder.Services.AddMvcCore().UseSpecificControllers(typeof(TestController)).AddViews(); 174builder.Services.AddMvcCore().UseSpecificControllers(typeof(TestWithRequestSizeLimitController));
Microsoft.AspNetCore.Mvc.NewtonsoftJson.Test (1)
DependencyInjection\NewtonsoftJsonMvcCoreBuilderExtensionsTest.cs (1)
23services.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)
296collection.AddMvcCore()
DependencyInjection\MvcViewFeaturesMvcCoreBuilderExtensionsTest.cs (11)
17var builder = services.AddMvcCore(); 32var builder = services.AddMvcCore(); 47var builder = services.AddMvcCore(); 63var builder = services.AddMvcCore(); 78var builder = services.AddMvcCore(); 94var builder = services.AddMvcCore(); 110var builder = services.AddMvcCore(); 126var builder = services.AddMvcCore(); 142var builder = services.AddMvcCore(); 158var builder = services.AddMvcCore(); 174var builder = services.AddMvcCore();
SimpleWebSite (1)
Startup.cs (1)
15.AddMvcCore()