15 references to AddControllersWithViews
ErrorPageMiddlewareWebSite (1)
Startup.cs (1)
13
services.
AddControllersWithViews
()
Microsoft.AspNetCore.Mvc (5)
MvcServiceCollectionExtensions.cs (5)
35
services.
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)
207
services.
AddControllersWithViews
();
208
services.
AddControllersWithViews
();
236
services.
AddControllersWithViews
();
MvcFormSample (1)
Program.cs (1)
7
builder.Services.
AddControllersWithViews
();
MvcSandbox (1)
Startup.cs (1)
13
services.
AddControllersWithViews
();
RazorBuildWebSite (1)
StartupWithHostingStartup.cs (1)
21
services.
AddControllersWithViews
();
SecurityWebSite (2)
Startup.cs (1)
15
services.
AddControllersWithViews
();
StartupWithRequireAuth.cs (1)
14
services.
AddControllersWithViews
();