eggsaVEVO
eggsaVEVO
CC#
Created by eggsaVEVO on 11/1/2023 in #help
❔ Two Program.cs files in new Blazor Web App template.
This should create the auto template app. blazorwasm is wasm only
13 replies
CC#
Created by eggsaVEVO on 11/1/2023 in #help
❔ Two Program.cs files in new Blazor Web App template.
Try running only blazor e.g. dotnet new blazor
13 replies
CC#
Created by eggsaVEVO on 11/1/2023 in #help
❔ Two Program.cs files in new Blazor Web App template.
I don't think its a bug. At least not the Auto template (didn't try the single mode templates). It fits perfectly with the project structure described here: https://learn.microsoft.com/en-us/aspnet/core/blazor/project-structure?view=aspnetcore-8.0
13 replies
CC#
Created by eggsaVEVO on 10/28/2023 in #help
❔ You cannot use a covariant type parameter as a generic type constraint for interface methods.
Oh I see. Thank you for the example!
16 replies
CC#
Created by eggsaVEVO on 10/28/2023 in #help
❔ You cannot use a covariant type parameter as a generic type constraint for interface methods.
I did ask bard about this and it came up with a term called "covariance hole". But that does seem to be made up because I could not find that anywhere else
16 replies
CC#
Created by eggsaVEVO on 10/28/2023 in #help
❔ You cannot use a covariant type parameter as a generic type constraint for interface methods.
Basically I do not understand this sentence as a whole: "You cannot use a covariant type parameter as a generic type constraint for interface methods."
16 replies
CC#
Created by eggsaVEVO on 10/28/2023 in #help
❔ You cannot use a covariant type parameter as a generic type constraint for interface methods.
I was just reading the documentation on Covariance and Contravariance without trying to do something specifically. Just studying C# details
16 replies
CC#
Created by eggsaVEVO on 10/28/2023 in #help
❔ You cannot use a covariant type parameter as a generic type constraint for interface methods.
They don't give an example in the documentation. Its just that sentence.
16 replies