Use builder APIS for both AddMvc() and AddMvcCore() Change various API patterns to all use .AddXyz(...) off of one or both of these builders.