Rusty Shakleford
Rusty Shakleford
CC#
Created by Rusty Shakleford on 5/3/2024 in #help
Issues with DataAnnotationsValidator and ValidationSummary
Deeply frustrating stuff! I've just moved over from predominantly making my web stuff in either JS or Python, so this is an experience so far 😂 Thank you so much for your help!
32 replies
CC#
Created by Rusty Shakleford on 5/3/2024 in #help
Issues with DataAnnotationsValidator and ValidationSummary
The only difference I can think of, is that in the old application, I deleted the Counter and Weather Pages... And commented out the links to them in the NavMenu
32 replies
CC#
Created by Rusty Shakleford on 5/3/2024 in #help
Issues with DataAnnotationsValidator and ValidationSummary
Even though there's no difference between the old one, and the new one!
32 replies
CC#
Created by Rusty Shakleford on 5/3/2024 in #help
Issues with DataAnnotationsValidator and ValidationSummary
How strange.... It works when I make a new application like you said!
32 replies
CC#
Created by Rusty Shakleford on 5/3/2024 in #help
Issues with DataAnnotationsValidator and ValidationSummary
(whoops, MessageWall.razor is in the Pages folder, I forgot to un-collapse it for the screenshot)
32 replies
CC#
Created by Rusty Shakleford on 5/3/2024 in #help
Issues with DataAnnotationsValidator and ValidationSummary
No description
32 replies
CC#
Created by Rusty Shakleford on 5/3/2024 in #help
Issues with DataAnnotationsValidator and ValidationSummary
I just downloaded the completed code from the tutorial, and it prompted me to install .NET 6... which has now given me another project type - Blazor Server App
32 replies
CC#
Created by Rusty Shakleford on 5/3/2024 in #help
Issues with DataAnnotationsValidator and ValidationSummary
I'm heavily starting to suspect I selected the wrong Blazor project type! I really don't understand all the different ones yet (I started this morning 😅 ), there were two (that I saw) that I could select. One was WebAssembly Standalone, and the other was Blazor Web App. I selected the Blazor Web App
32 replies
CC#
Created by Rusty Shakleford on 5/3/2024 in #help
Issues with DataAnnotationsValidator and ValidationSummary
Yep!
32 replies
CC#
Created by Rusty Shakleford on 5/3/2024 in #help
Issues with DataAnnotationsValidator and ValidationSummary
This is my App.razor:
<!DOCTYPE html>
<html lang="en">

<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<base href="/" />
<link rel="stylesheet" href="bootstrap/bootstrap.min.css" />
<link rel="stylesheet" href="app.css" />
<link rel="stylesheet" href="BlazorServerMessageWall.styles.css" />
<link rel="icon" type="image/png" href="favicon.png" />
<HeadOutlet />
</head>

<body>
<Routes />
<script src="_framework/blazor.web.js"></script>
</body>

</html>
<!DOCTYPE html>
<html lang="en">

<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<base href="/" />
<link rel="stylesheet" href="bootstrap/bootstrap.min.css" />
<link rel="stylesheet" href="app.css" />
<link rel="stylesheet" href="BlazorServerMessageWall.styles.css" />
<link rel="icon" type="image/png" href="favicon.png" />
<HeadOutlet />
</head>

<body>
<Routes />
<script src="_framework/blazor.web.js"></script>
</body>

</html>
32 replies
CC#
Created by Rusty Shakleford on 5/3/2024 in #help
Issues with DataAnnotationsValidator and ValidationSummary
Sadly that doesn't seem to have worked either! I wonder if I just created the wrong type of project on creation... I'm completely new to the whole .NET arena and the tutorial I'm following is a little out of date
32 replies
CC#
Created by Rusty Shakleford on 5/3/2024 in #help
Issues with DataAnnotationsValidator and ValidationSummary
8.0
32 replies
CC#
Created by Rusty Shakleford on 5/3/2024 in #help
Issues with DataAnnotationsValidator and ValidationSummary
No description
32 replies