Questions tagged [blazor-compiler]

2 questions
13
votes
3 answers

Add @ref to a Blazor component in a loop

How to add a @ref to Blazor components inside a loop? @for (int i = 0; i < 10; i++) { // I want to add this component to the list } @code { List components = new List(); }
Kahbazi
  • 14,331
  • 3
  • 45
  • 76
1
vote
1 answer

How to use Blazor Serverside with Blazor WebAssembly?

Razor Serverside and JavaScript are possible mixed to use. But, I'm not good at Javascript. I want to make client side app with C#. Is it possible to use Razor ServerSide with Razor WebAssembly? Thank you.
SatoManami
  • 19
  • 1