Тёмный

Getting Started with EventStore using C# and Visual Studio 

DevNinja
Подписаться 54
Просмотров 7 тыс.
50% 1

Simple example to get up and running using EventStore (geteventstore.com) in visual studio using c#

Опубликовано:

 

7 сен 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 13   
@codewithkashif
@codewithkashif 3 года назад
Really very useful video, pretty crisp, practical and pragmatic content!
@fredimachadonet
@fredimachadonet 3 года назад
Very nice video! Please make an updated version if possible. I can see EventStore updated the website and also documentation. And please talk more about this. Thank you!
@user-rp9iis1en6h
@user-rp9iis1en6h 3 года назад
Really a great one. Waiting for the next video. Please try to use sql server or mysql. And how to handle exception if there is an error in any of the events. How to apply rollback? How to subscribe to an event in c#?
@zebcode
@zebcode 2 года назад
Really helpful. Thank you for sharing.
@maxmumford3764
@maxmumford3764 3 года назад
Just a heads up that the events weren't created in the right order - in the EventStore item 0 is account created and 1 is funds withdrawn, whereas in the code, item 0 is account created and item 1 is funds deposited. I imagine this is a race condition from calling appendToStreamAsync as opposed to sync? Can you confirm?
@jwbonnett
@jwbonnett 3 года назад
I belive this is the case, but at the end of the day this is a eventual consistancy model! The balance will still be correct, and you will see this reflected on your real life bank statements too.
@MrBa143
@MrBa143 2 года назад
@@jwbonnett How would it be correct, if you have a business rule that doesnt allow overdrawing your account? If he were to replay the events of the first stream he created, the account would go into negative when the first withdraw event is applied, because it were stored in the wrong order. How is that eventual consistency
@finwwwfinwww4669
@finwwwfinwww4669 Год назад
Thanks Best explanation could you please provide git repo link ?
@einfacherkerl3279
@einfacherkerl3279 3 года назад
the idea of EventStoreDB is meaningless and very limited. it just adds one more dependency to the existing system. Logically except as a glorified distributed logging, it serves no other purpose. All distributed systems have very powerful logging features from which event stream can be generated with much more ease and lot more options than just an replay-able event stream.
@Alperic27
@Alperic27 3 года назад
‘fundswithdrawed’ …. Seriously???? …. Hope you ‘speak’ c# better than english.
Далее
Getting Started with Event Sourcing in .NET
37:07
Просмотров 55 тыс.
ВОТ ЧТО МЫ КУПИЛИ НА ALIEXPRESS
11:28
Don't Use Polly in .NET Directly. Use this instead!
14:58
When & When Not To Use Event Sourcing
26:30
Event Sourcing: Rehydrating Aggregates with Snapshots
14:54
Visual Studio Code for C# Developers | .NET Conf 2022
26:33
Understanding Event Sourcing in ASP.NET Core C#
14:46
An End-To-End Example With EventStoreDB
43:43