Mock Entity Framework Async Operations #25 - Asp.Net Core 2

Опубликовано: 19 Февраль 2026
на канале: Exciton Interactive LLC
1,399
17

If you liked the video please subscribe to our channel. Visit https://www.excitoninteractive.com/ar... to see the code for this video.

Please join us on:
************************
Facebook -   / xcinteractive  
Twitter -   / xcinteractive  
Google+ - https://plus.google.com/b/10481223491...

Article Abstract
************************
There are many times that we would like to serve data from an in memory collection,
whether it be for unit testing or just messing around to see how something works, where
we have to/want to do it asynchronously. Entity Framework comes with a handy extension
method to convert a collection to a list asynchronously that we can use for this
purpose. Unfortunately for us there are a few hoops that we must jump through to do
this and we will see what those are in this article. By the time we are done here we
will have created all of the helper classes that we need to mock up a database set that
is capable of utilizing asynchronous methods.

Credits
************************
Clap Along by Audionautix is licensed under a Creative Commons Attribution license https://creativecommons.org/licenses/...
Artist: http://audionautix.com/