19 references to AddControllersWithViews
BasicWebSite (1)
StartupWhereReadingRequestBodyThrows.cs (1)
13services.AddControllersWithViews();
ControllersFromServicesWebSite (1)
Startup.cs (1)
17.AddControllersWithViews()
ErrorPageMiddlewareWebSite (1)
Startup.cs (1)
11services.AddControllersWithViews()
HostedBlazorWebassemblyApp.Server (1)
Startup.cs (1)
30services.AddControllersWithViews();
Microsoft.AspNetCore.Mvc (5)
MvcServiceCollectionExtensions.cs (5)
35services.AddControllersWithViews(); 74/// To add services for controllers with views call <see cref="AddControllersWithViews(IServiceCollection)"/> 109/// To add services for controllers with views call <see cref="AddControllersWithViews(IServiceCollection)"/> 253/// To add services for controllers with views call <see cref="AddControllersWithViews(IServiceCollection)"/>. 284/// To add services for controllers with views call <see cref="AddControllersWithViews(IServiceCollection)"/>.
Microsoft.AspNetCore.Mvc.Razor.Test (1)
RazorHotReloadTest.cs (1)
76.AddControllersWithViews()
Microsoft.AspNetCore.Mvc.Test (3)
MvcServiceCollectionExtensionsTest.cs (3)
207services.AddControllersWithViews(); 208services.AddControllersWithViews(); 236services.AddControllersWithViews();
MvcFormSample (1)
Program.cs (1)
7builder.Services.AddControllersWithViews();
MvcSandbox (1)
Startup.cs (1)
11services.AddControllersWithViews();
RazorBuildWebSite (1)
StartupWithHostingStartup.cs (1)
20services.AddControllersWithViews();
SecurityWebSite (2)
Startup.cs (1)
15services.AddControllersWithViews();
StartupWithRequireAuth.cs (1)
14services.AddControllersWithViews();
TagHelpersWebSite (1)
Startup.cs (1)
11services.AddControllersWithViews();