کتابخانه اعتبارسنجی FoolProof برای ASP.NET Core
200, OK
https://github.com/rpgkaiser/FoolProof.Core icon
کتابخانه  FoolProof.Core (مخزن آن) Attribute‌های زیادی برای بحث اعتبار سنجی دارد که همگی علاوه بر Server-side از Client-side Validation هم پشتیبانی میکنن. نسخه قدیمی آن (foolproof) برای ASP.NET MVC سابق است (قبلا مقاله آموزش آن در سایت ثبت شده)  ولی این نسخه از ASP.NET Core پیشتیبانی میکنه
لیست Attribute های پشتیبانی شده:
  • Is
  • EqualTo
  • NotEqualTo
  • GreaterThan
  • LessThan
  • GreaterThanOrEqualTo
  • LessThanOrEqualTo
  • Improved required validators:
  • RequiredIf
  • RequiredIfNot
  • RequiredIfTrue
  • RequiredIfFalse
  • RequiredIfEmpty
  • RequiredIfNotEmpty
  • RequiredIfRegExMatch
  • RequiredIfNotRegExMatch
  • In
  • NotIn  
کتابخانه اعتبارسنجی FoolProof برای ASP.NET Core
نمونه ای از Reflection deserialization and custom attributes
301, MovedPermanently
http://www.codeproject.com/Articles/1079324/Reflection-deserialization-and-custom-attributes icon

So, last week one of my colleagues wanted to serialize an object along with custom property attribute to JSON. Interesting… JSON.NET by default will not allow serializing custom property attribute. So, you have to write custom JSON converter to fix this. Let’s take a look at how 

نمونه ای از Reflection deserialization and custom attributes