
The Complete Guide to ASP.NET Core MVC (.NET 5) - Async Repository Pattern
Interactive Video
•
Information Technology (IT), Architecture
•
University
•
Practice Problem
•
Hard
Wayground Content
FREE Resource
Read more
5 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the first step in implementing async and await in a repository pattern?
Create a new repository class
Copy and rename the existing repository interfaces
Delete the old repository interfaces
Add async methods directly to the existing repository
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
When modifying the repository interface for async, what should the return type be changed to?
void
Task
IEnumerable
List
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which keyword is essential to use in method names when implementing async methods?
task
async
await
parallel
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What method is used to perform tasks in parallel when working with DB sets?
Remove
AddAsync
Find
Add
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is a limitation mentioned when converting methods to async in the repository?
Async methods require more memory
Remove and RemoveRange do not have async versions
Async methods are slower than synchronous methods
Async methods cannot be used with DB sets
Access all questions and much more by creating a free account
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?