How to Achieve Optimistic Updates with Blazor and EF Core | .NET Conf 2023

preview_player
Показать описание
Optimistic updates are a technique for improving the user experience of web applications by updating the UI before the server confirms the changes. This can make the app feel more responsive and reduce the perceived latency. In this session, you will learn how to implement optimistic updates with Blazor and Entity Framework Core (EF Core), a popular ORM framework for .NET. You will also learn how to leverage Blazor’s state management and data binding features to update the UI seamlessly. By the end of this session, you will be able to create Blazor apps that use optimistic updates with EF Core and provide a great user experience.

#dotnet
Рекомендации по теме
Комментарии
Автор

Thank you Emanuele! This was my favorite demos in this Conf

AnthonyPearson
Автор

Thank you, it's been explained very easily, easy to implement

BarriDuty
Автор

Thanks for sharing your knowledge. It's invaluable!

acodersjourney
Автор

Based on my experience creating applications with high user traffic, this is probably the worst implementation of the optimistic updates, and especially in the case when the same record will be updated by several web clients. This implementation will result in lost or inconsistent data when implemented in a live application. This type of presentation teaches bad habits in programmers.
I found that any such updates need to be implemented in a stored procedure with a row lock approach.

MrShurminator
join shbcf.ru