A few weeks ago, I received a comment from Peter Santiago on my Building Your First API with ASP.NET Core course at Pluralsight, asking what the required steps would be to make the API fully async. I replied that the best way to tackle that is to start at the lowest level layer, and build up from there, ie: use the async versions of EF Coe methods, ensure the calling methods are marked as async, et cetera.
Turns out Peter created a fully async version of the demo project I use in that course. Moreover, Peter was kind enough to share his code, so I created a repo with that code. If you’re looking into building fully async APIs with ASP.NET Core & EF Core: have a look.
Happy coding!
[…] Async ASP.NET Core APIs: Source Code (Kevin Dockx) […]