Quantcast
Channel: ASP.NET Core
Viewing all articles
Browse latest Browse all 9386

Have problem in convert old asp.net to asp.net core

$
0
0

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?


Viewing all articles
Browse latest Browse all 9386

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>