ASP.NET Core C# Event Sourcing with Marten
Вставка
- Опубліковано 15 лис 2024
- Marten is a .NET Transactional Document DB and Event Store on PostgreSQL. Every dotnet dev should try it as an alternative ef-core, not everything needs a full blown ORM.
Patreon 🤝 / raw_coding
Courses 📚 learning.raw-c...
Shop 🛒 shop.raw-codin...
Discord 💬 / discord
Twitter 📣 / anton_t0shik
Twitch 🎥 / raw_coding
Marten: martendb.io/
Source: github.com/raw...
#csharp #dotnet #postgresql
Awesome walk-through. Any plan to give us a run-down on EventstoreDB ?
🤯 my mind is blown
is there an option to filter events before projection by some argument?
what do you mean? what do you want to do?
@@RawCoding My stream has prices for products over time (product id as stream id). My event PriceChanged has two props: price and shopName. I want to query prices for product in shop specified by the user as List
It’s look like there is a lot of reflection underneath. I’m right?
No it uses Roslyn Generators, Google for Lamar
My God! What type of switches are you running in your keyboard? Those sound extra crunchy
brown
You didn't explain the differences between self-aggregating projection and projector..., now I have to google for this info... 😠...., haha... jk... nice intro to marten!
Cheers, I’m pretty good at answering comments.
For anyone actually wondering
self aggregate is a projection which builds it self.
projector is component which appends events on to a projection.
In self aggregates you don’t see the projection being passed as an argument to the Apply functions.
Minor nag. Please switch to some theme with more contrast. It's hard to watch when you're on a beach :P
Go to your basement like the rest of us! No issues then ;)
XD Basement gang
Whats happening with SingleStreamAggregation??
What a pitty that the documentation is not explained as clearly as this video!
(It is great though, but not as great as this!)