Blazor project template best practicies
What’s the best practicies to organize a WebAssembly (Client) project on Blazor?
Where to put the components that’s not a page componet but is part of a specific page?
Where to put the DTOs shared with the serve api?
Blazor page does not refresh after calling StateHasChanged
I use Blazor to dynamically load part of the page content. First, I use js to listen to the scroll bar and call back the loading data method in the Blazor page.
Authentication in Blazor Server Interactive
I am not able to implement a working authentication system in my Blazor .NET8 ServerInteractive application. I am quite new at web dev (I am more of a WinForm/WPF programmer)
Is there a way to access Cookies in Blazor with @rendermode=”InteractiveAuto” in the Oninitialized hook
I know how to access cookies in Blazor in the OnAfterRender hook using Javascript. But, I need to access cookies in Oninitialized before javascript is available.
inputselect in Blazor 8
I’m learning Blazor 8 and facing an issue:
I have a list of persons. the Person object has an id, a name and an age. I would like to use two dropdown buttons to display or control each other. After selected a name, the age dropdown should display the age of the selected person’s name and vise versa.
I don’t want to use JSRuntime.
Where does MyApp.styles.css come from in Blazor
I’m trying to learn Blazor.
Why input do not bind value to variable in this code
I started learning inputs in blazor and when I tried to run some code with it wont work… when I try run this code, it wont write down any errors but when I write down some text in input collum than it wont show up in the …
enter image description here
.net 8 blazor navlink style not working for external url
When using an external URL for the href
attribute, the style of the menu list item changes. I want the style to remain the same. How would I do that.
Generics in Blazor component
I am writing a component that requries a generic parameter to be declared. I do not have my code in the page within a code block, but instead use a partial class.
Blazor – inputselect Retaining selectedIndex when options are Changed Dynamically
I have a number of inputselects that have options that are amended from other data on the screen. The selected item is never removed. However it seems that the list retains the selectedIndex and displays the item in that position, rather than the correct bound data. The options are updated correctly.
An example of the code is: