No video
Maintainable Code: EF Core Transactions Tips
Analysing different ways to write entity framework core transactions in .NET and ASP.NET Core application with pros and cons of each approach.
Support my Work 🤝 / raw_coding
Buy my Courses 📚 learning.raw-c...
Buy my Merch 🛒 shop.raw-codin...
Join the Community 💬 / discord
Tweet Tweet 📣 / anton_t0shik
Tune in LIVE! 🎥 / raw_coding
#aspnetcore #coding #efcore
Пікірлер: 17
I'm still waiting on an opener like: "Welcome back boys and girls, my name is Jesus and in this video I want to tell you about our lord and savior" Looking forward to the vid, but even more so to streams again, it's been ages, man.
The transaction object you get from BeginTransactionAsync() will rollback itself on Dispose (or DisposeAsync) if it has not been committed: the whole try/catch and rollback call is just repeating what the library already implements.
Not sure if I end up using this (Because usually I like being super explicit for transactions), but I love the idea! I never thought about something like this, really creative.
We tried all of these approaches but ended up with the first one as that one is the most explicit with no runtime magic etc.
I like how he's saying "boys and girls" just in case one of the two female subscribers happen to watch this video
@asdfgha
4 күн бұрын
XD yeah. Although I'm some of his maybe 2 female subs, I wouldn't even care, if he'd say boys or guys. Don't understand this political correctness, like his videos though. He made me understand async.
what you are presenting is very informative, but the amount of jumping between the files, scrolling, constantly changing highlighted text, mixing examples - makes it very hard to follow
@RawCoding
Ай бұрын
thank you for the feedback I'll try to do it less
What’s new in Frontend world ? Any new changes Vue or react ?
How about IDisposable instance with BeginTransaction() Commit() and Rollback() methods?
Watching your channel develop is equally as entertaining as watching your beard develop
@asdfgha
4 күн бұрын
Shocking in the latter case. Shocking... Imo he looks better without that beard ö.Ö
Wilsoooonnnnnn!!!
wer the dmn code bruh
@RawCoding
Ай бұрын
patreon github
A+ *******