.NET 8 Blazor For Beginners Series - Handling State Management in Blazor Components

preview_player
Показать описание

/*Source code available*/

/*Series Playlists*/

/*Follow Netcode-Hub*/
Рекомендации по теме
Комментарии
Автор

Normally, you would add this sort of state to "Scoped" so that the state would be per user.. also, if you have components on the same page that use the globalstate, they would not be updated. You would need to implement some sort of notifypropertychanged in this system..

craigf
Автор

Now the operation was successful, you did as I told you😅 thanks a lot, Always be one of these processes and methods that shorten many processes. Thank you

Blazor
Автор

I want to perform cord operations. When I click on the Edit User button, I want to move this record that I clicked on to show it on the edit page. This is the same operation as yours. I could not. Instead of sending the entity as a parameter, I want to use this method. Is it possible to do that, or is the idea wrong?

Blazor
Автор

so when another user try to acess counter page it will be get same state because you register it using Singleton....right ?

wisnu