blinkbat
blinkbat
CC#
Created by Tobonautilus on 1/16/2024 in #help
Is there any possibility to iterate over all files in wwwroot/myfolder using Blazor WASM?
+1 for adding it to your client build process if the client needs it
11 replies
CC#
Created by n on 1/16/2024 in #help
First time using delegates/lambda expressions
TestDelegate testDelegate = () { Console.WriteLine("Hello!"); }; this isn't valid btw
33 replies
CC#
Created by N0mlss on 9/21/2023 in #help
❔ Blazor: Get value of nested component
i think it would be the only way to tell if it shoud be a select or input
123 replies
CC#
Created by N0mlss on 9/21/2023 in #help
❔ Blazor: Get value of nested component
so it sounds like you want some sort of db first codegen
123 replies
CC#
Created by N0mlss on 9/21/2023 in #help
❔ Blazor: Get value of nested component
defeats the purpose of a class
123 replies
CC#
Created by N0mlss on 9/21/2023 in #help
❔ Blazor: Get value of nested component
you cant really compose classes dynamically
123 replies
CC#
Created by N0mlss on 9/21/2023 in #help
❔ Blazor: Get value of nested component
in your view models
123 replies
CC#
Created by N0mlss on 9/21/2023 in #help
❔ Blazor: Get value of nested component
you need to infer from your models what the enums will be
123 replies
CC#
Created by N0mlss on 9/21/2023 in #help
❔ Blazor: Get value of nested component
but if you must do db first
123 replies
CC#
Created by N0mlss on 9/21/2023 in #help
❔ Blazor: Get value of nested component
instead of db first
123 replies
CC#
Created by N0mlss on 9/21/2023 in #help
❔ Blazor: Get value of nested component
well code-first would be best
123 replies
CC#
Created by N0mlss on 9/21/2023 in #help
❔ Blazor: Get value of nested component
you should define it in code
123 replies
CC#
Created by N0mlss on 9/21/2023 in #help
❔ Blazor: Get value of nested component
int CityInt, (Cities)CityInt
123 replies
CC#
Created by N0mlss on 9/21/2023 in #help
❔ Blazor: Get value of nested component
you take the value as an int and cast it to enum
123 replies
CC#
Created by N0mlss on 9/21/2023 in #help
❔ Blazor: Get value of nested component
public enum Cities {
New York,
Los Angeles
}

public Cities City { get; set; }
public enum Cities {
New York,
Los Angeles
}

public Cities City { get; set; }
123 replies