Lesson 9: [EmailAddress], [Phone], [Url], and [CreditCard] Annotations

Published: 09 February 2024
on channel: Paul D. Sheriff
103
4

Lesson 9: [EmailAddress], [Phone], [Url], and [CreditCard] Annotations

In this lesson you replace some [RegularExpression] attributes with [EmailAddress] and [Phone]. You also use the [Url] and [CreditCard] attributes.

Content
Lesson Objectives 00:00
DEMO: Validate Emails Using the [EmailAddress] Attribute 00:23
DEMO: Validate Phone Numbers using the [Phone] Attribute 01:00
DEMO: Validate URLs Using the [Url] Attribute 01:49
DEMO: Validate Credit Cards Using the [CreditCard] Attribute 03:08
Lesson Summary 04:57

Useful Links
Samples and hands-on labs for this course: https://www.pdsa.com/YouTube
The [EmailAddress] Attribute: https://learn.microsoft.com/en-us/dot...
The [Phone] Attribute: https://learn.microsoft.com/en-us/dot...
The [Url] Attribute: https://learn.microsoft.com/en-us/dot...
The [CreditCard] Attribute: 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 9: [EmailAddress], [Phone], [Url], and [CreditCard] Annotations 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 103 once and liked it 4 people.