32 references to MapControllers
BasicWebSite (1)
StartupWithCustomInvalidModelStateFactory.cs (1)
46endpoints.MapControllers();
CorsWebSite (1)
Startup.cs (1)
77endpoints.MapControllers();
ErrorPageMiddlewareWebSite (1)
Startup.cs (1)
21endpoints.MapControllers();
HostedBlazorWebassemblyApp.Server (1)
Startup.cs (1)
58endpoints.MapControllers();
Identity.DefaultUI.WebSite (1)
StartupBase.cs (1)
80endpoints.MapControllers();
Microsoft.AspNetCore.Diagnostics.Middleware.Tests (2)
Logging\AcceptanceTests.Mvc.cs (1)
48.UseEndpoints(endpoints => endpoints.MapControllers());
Logging\AcceptanceTests.Routing.cs (1)
41endpoints.MapControllers();
Microsoft.AspNetCore.Mvc.FunctionalTests (6)
AntiforgeryMiddlewareTest.cs (6)
31app.MapControllers(); 63var exception = Assert.Throws<InvalidOperationException>(() => app.MapControllers()); 77app.MapControllers(); 115app.MapControllers(); 147app.MapControllers(); 179app.MapControllers();
Microsoft.AspNetCore.Mvc.ViewFeatures.Test (8)
Builder\ControllerActionEndpointConventionBuilderResourceCollectionExtensionsTest.cs (8)
25var builder = endpointBuilder.MapControllers(); 55var builder = endpointBuilder.MapControllers(); 85var builder = endpointBuilder.MapControllers(); 117var builder = endpointBuilder.MapControllers(); 149var builder = endpointBuilder.MapControllers(); 181var builder = endpointBuilder.MapControllers(); 215var builder = group.MapControllers(); 250var builder = group.MapControllers();
Mvc.RoutingWebSite (4)
StartupForDynamicOrder.cs (1)
53endpoints.MapControllers();
StartupForEndpointFilters.cs (1)
28builder.MapControllers().AddEndpointFilterFactory((context, next) =>
StartupForRouteGroupsWithMetadata.cs (1)
38builder.MapControllers();
StartupRoutingDifferentBranches.cs (1)
66endpoints.MapControllers();
MvcSandbox (1)
Startup.cs (1)
27endpoints.MapControllers();
Negotiate.Client (1)
Startup.cs (1)
35endpoints.MapControllers();
Negotiate.Server (1)
Startup.cs (1)
45endpoints.MapControllers();
RazorPagesWebSite (2)
Startup.cs (1)
30endpoints.MapControllers();
StartupWithClientValidationDisabled.cs (1)
33endpoints.MapControllers();
Sample (1)
Program.cs (1)
118app.MapControllers();
SimpleWebSiteWithWebApplicationBuilder (1)
Program.cs (1)
20app.MapControllers();