King TMK 🎗
King TMK 🎗
CC#
Created by King TMK 🎗 on 11/22/2024 in #help
asp attribute span not getting styled like plain span
Why is it that only the plain span is being styled and not the asp span? How can I fix this?
<span class="danger" asp-validation-for="SomeModel.Number"></span>
<span class="danger">some span</span>
<span class="danger" asp-validation-for="SomeModel.Number"></span>
<span class="danger">some span</span>
span.field-validation-error,
.field-validation-error,
.danger,
span {
background: green;
}

.danger {
color: yellow;
}
span.field-validation-error,
.field-validation-error,
.danger,
span {
background: green;
}

.danger {
color: yellow;
}
32 replies
CC#
Created by King TMK 🎗 on 11/21/2024 in #help
✅ Razor pages template gives me an immediate build error
Why is it telling me "The type or namespace name 'EntityFrameworkCore' does not exist in the namespace 'Microsoft.AspNetCore.Identity'" right after I generated a Razor pages project template with single user authentication enabled? How do I fix this?
39 replies