User-1980778524 posted
I was looking for sample code to learn and found one. However, it did not get compiled. below the details:
sample code:
https://github.com/chrissainty/FluentValidationWithRazorComponents
1) I used Asp.net core host template to create Blazor app and I copied the codes into the Blazor.client only.
getting all these error messages:
The type or namespace name 'Person' could not be found (are you missing a using directive or an assembly reference?)
The type of component 'InputNumber' cannot be inferred based on the values provided. Consider specifying the type arguments directly using the following attributes:
'Person' does not contain a definition for 'Age' and no accessible extension method 'Age' accepting a first argument of type 'Person' could be found (are you missing a using directive or an assembly reference?)
'Person' does not contain a definition for 'EmailAddress' and no accessible extension method 'EmailAddress' accepting a first argument of type 'Person' could be found (are you missing a using directive or an assembly reference?)
would appreciate if you can help to solve this problem.