Error: No parameterless constructor defined for this object first arises comes when you create a project to implement dependency injection in Asp.net MVC. In Asp.Net MVC Dependency Injection.
Follow these Steps to Solve the Error.
Error: No parameterless constructor is define for this object in dependency injection in MVC
- Go to the Project Solution in Visual Studio

- Find Global.asax file in the solution

- Paste this code in global.asax file in the Application start method
UnityConfig.RegisterComponents();

- That’s it.
- Watch the Video below.
Thanks
Working
Thanks for this useful information
thanks for this topic
…
thanks for this content
is ny meri problem solve kr di
thanks for helping
Amazing. Thats help me alot