I try to convert my asp.net mvc 5 project to asp.net core mvc project but I have one problem in converting.
In my old project I used two class from System.Web.Mvc but is not exists in asp.net core.
The name of two class are 'DataAnnotationsModelValidatorProvider' and 'DataAnnotationsModelMetadataProvider';
For more explanation for this two class you can read this topic of stack overflow from this link.
I use this two class with automapper to add new dataannotations attribute in runtime to class but I can't find solution for this problem.
Is anybody have any idea for this problem?