How-to-simply...

Fix NewExpression with a constructor declared on an abstract class with Autofac

  • 1 Try to comment out this type of base class registration: builder.RegisterType<SomeClassBase>();
  • N An important note on reflection-based components: Any component type you register via RegisterType must be a concrete type. While components can expose abstract classes or interfaces as services, you can’t register an abstract/interface component.

References