MVC 2 – DataAnnotations

Download this episode

Download Video

Description

af Daniel Frost

Fordelen ved at bruge ”data annotation validators” er, at de gør det muligt for dig at udføre validering, blot ved at tilføje en eller flere attributter på din type – såsom obligatorisk eller StringLength attributten. MVC 2 frameworket giver dig også mulighed for nemt at vise fejlmeddelser ved brugen af netop data annotations.

Tags:

DK, VS2010dk

Embed

Format

Available formats for this video:

Actual format may change based on video formats available and browser capability.

    The Discussion

    Comments closed

    Comments have been closed since this content was published more than 30 days ago, but if you'd like to send us feedback you can Contact Us.