Required and BindRequired Data Annotations
In ASP.NET, we have Data Annotations, which are attributes that can be placed above properties or classes to validate them. The default annotations are simple because ASP.NET will create the validation needed for the server and client side. The most used data annotation is [Required]. This validation has a downside, and I have seen it many times from junior programmers. … Read more