Tag: snippet
-
How to use Data Annotations?
Interesting snippet from C#, ASP.NET and MVC, that uses the ValidationAttribute Ever wanted to add validation to your MVC view, well look further for more details. The ValidationAttribute will help you validate your model and server-side properties. As a programmer, you will need to add certain rules or attributes to the properties, such as required, […]