I get the following error message:
System.InvalidOperationException: An error occurred when trying to create a controller of type \'App.Web.Contro
The error message tells you that :
Cannot resolve parameter 'App.Service.IWizardTypeStepService wizardTypeStepService'
Your registration of the corresponding service is like this :
// Services
builder.RegisterAssemblyTypes(typeof(AppBrandService).Assembly)
.Where(t => t.Name.EndsWith("Service"))
.AsImplementedInterfaces()
.InstancePerRequest();
But if you look at WizardTypeStepService
, it doesn't implement any interfaces. Implement IWizardTypeStepService
and your error should disappear.