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 - Blazor Tutorial
From the course: Blazor: Getting Started
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.
Practice while you learn with exercise files
Download the files the instructor uses to teach the course. Follow along and learn by watching, listening and practicing.
Contents
-
-
-
-
-
Debugging with Blazor7m 9s
-
(Locked)
Unit testing with Blazor8m 48s
-
(Locked)
Application changes for unit testing12m 4s
-
(Locked)
Unit testing components with parameters and services10m 4s
-
(Locked)
Forms and validation with Blazor10m 8s
-
(Locked)
Challenge: RayInput validation55s
-
(Locked)
Solution: RayInput validation3m 4s
-
-
-
-
-