Lesson 5: How the [Display] Attribute Changes the Error Message
In this lesson you apply the [Display] attribute to each property in the Product class. You then see how this changes the error message that is output.
Content
Lesson Objectives 00:00
DEMO: The [Display] Attribute is More Descriptive than the Property Name 00:42
DEMO: Add [Display] Attributes to the Rest of Properties 01:35
Lesson Summary 02:38
Useful Links
Samples and hands-on labs for this course: https://www.pdsa.com/YouTube
Display Attribute: https://learn.microsoft.com/en-us/dot...
https://learn.microsoft.com/en-us/dot...
#dataannotation #validation #csharp #development #programming #dotnet #dotnetcore #dotnet6 #dotnet #dotnet8 #pauldsheriff #pluralsight #youtube
Paul.About()
Hello, my name is Paul D. Sheriff and I have a passion for teaching. I have been training developers for over 35 years through books, videos, article, blog posts, and international conferences and user groups.
Paul.Contact()
Website: https://www.pdsa.com
Email: [email protected]
LinkedIn: / paulsheriff
Blog: https://blogs.pdsa.com/
Pluralsight: https://app.pluralsight.com/profile/a...
YouTube Channel: @pauldsheriff
Watch video Lesson 5: How the [Display] Attribute Changes the Error Message online without registration, duration hours minute second in high quality. This video was added by user Paul D. Sheriff 09 February 2024, don't forget to share it with your friends and acquaintances, it has been viewed on our site 140 once and liked it 5 people.