What is the difference in behavior of [MaxLength] and [StringLength] attributes?
[MaxLength]
[StringLength]
As far as I can tell (with the exception that [MaxLength] can validate the maximum length of an array) these are identical and somewhat redundant?
One another point to note down is in MaxLength attribute you can only provide max required range not a min required range. While in StringLength you can provide both.