Understanding Event Sourcing in ASP.NET Core C#
Vložit
- čas přidán 15. 06. 2024
- How to implement Event Sourcing in ASP.NET Core application as well as understanding what even sourcing is.
Patreon 🤝 / raw_coding
Courses 📚 learning.raw-coding.dev
Shop 🛒 shop.raw-coding.dev
Discord 💬 / discord
Twitter 📣 / anton_t0shik
Twitch 🎥 / raw_coding
👉 Try Rider
www.jetbrains.com/store/redeem/
RD5K9-4TXXW-KMV3G-NYWSF-3ZSTP
Code: github.com/raw-coding-youtube...
#eventsourcing #aspnetcore #csharp
I'm commenting after 2 minutes,. Because I just sat down with my coffee , played the video and took sip exactly at the same time
Once every hundred-thousand years or so this will happen )
I LOVE LOVE LOVE this style of learning awesome !!!
Absolutely agree, this is refreshing.
thank you
LMAO when I googled transient 3 secs before he did, that got me
gotta know what you're saying
Ah, a natural continuation to the last video :)
yesir
Thanks for all
thank you for watching
Bro as always flawless
Thank you
Subscribing! Thanks for your video, the example was very clear! Is there a book you recommend to learn Event Sourcing in C#?
Nope, there is enough material online
Nice format 👍
Thank you
Interesting. I'm really curious how to store the events now and how you know which events to fold into, from when up to when, to construct a finished view-model...
cqrs.files.wordpress.com/2010/11/cqrs_documents.pdf
> Building an Event Storage
Good explanation
Cheers
Is it common to use Event Sourcing for applications with Undo/Redo? I know there is the command pattern from Gang of Four, but this seems like an even better fit for that. With Event Sourcing, you could simply move a pointer back and forth for Undo and Redo respectively, no need to actually create or delete events!
yeah, but you need to add "Undo event" action to calulate the old state from new state, which can be harder than it sounds :)
You don’t undo you just recalculate from the beginning
@@RawCoding yeah, from beginning, or previous snapshot.
What do you use to draw on the screen like that?
ZoomIt
I see what you did with the thumbnails there... One question. Regarding removeProduct event, doesn't it makes more sense to do a soft delete instead of a hard one. I understand that this is a simplified example, but it still irks me.
I've not deleted anything
8:34 - 8:37 🤣👏
gotta know aggregate
Thumbs up for big smoke reference :}
Damnit CJ
You should have waaaay more active viewers
it's okey I like it hard ;)
Storing all this data and can't even step through backwards from current state without rebuilding from Big Bang