C#C
C#2y ago
kr.prem

For WebAPI projects should we go all the way async ?

Working on .NET 5 (just for now) web API, I have Controllers, Service and Repository files.
Should I use asynchronous methods in all 3 files from starting to end like a chain.

Controller is using Request - Response Model and repository is having DB Model, conversion and other business logics are implemented in the service file.
Was this page helpful?