can be found with the constructor finder Autofac.Core.Activators.Reflection.DefaultConstructorFinder

Tags: Autofac

No constructors on type 'WebApplication1.Controllers.HomeController' can be found with the constructor finder 'Autofac.Core.Activators.Reflection.DefaultConstructorFinder'.

解决办法:Controller的构造函数里注入的,那么构造函数的权限一定要是Public。