From the course: Blazor: Getting Started

Unlock the full course today

Join today to access over 22,600 courses taught by industry experts or purchase this course individually.

Challenge: RayInput validation

Challenge: RayInput validation - Blazor Tutorial

From the course: Blazor: Getting Started

Start my 1-month free trial

Challenge: RayInput validation

(uplifting electronic music) - [Instructor] We've added authentication and testing around form validation for frequency creation, but empty rays are still allowed. The challenge is to add form validation to the RayInput component, update the existing unit test, and then add unit testing around the form validation to verify it's operating correctly. This is going to be very similar to what we just did for the frequency input, with the added complexity of the value in the form being a parameter. As a bonus, also convert the RayInput field to a text area so that users can write a more complex ray. I'll wait patiently here on pause so you have all the time that you need to give this a shot.

Contents