Capstone · 10 min read · Beginner
C# Capstone: Course Catalog Service
Combine records, interfaces, LINQ, and async/await to build a clean .NET catalog service.
What you'll learn
- Define an async repository contract with an interface
- Filter and summarize records with LINQ
- Prepare for the C# & .NET Final Exam and Certificate
In this capstone, you will combine records, interfaces, LINQ, and async/await into a clean, testable .NET service pattern used across real ASP.NET Core backends.
Fill-in-the-Blank Capstone
Async LINQ Query
Await all items from the repository and count those marked Published.
var items = repo.GetAllAsync();
int published = items.(c => c.Published);Capstone Code Lab
C#CatalogService.cs
Expected OutputClick “Run Live” to compile with Mono C#
Live tracks: 3 | Lessons: 18
Check Your Understanding
Score: 0 / 1
1. Why does C# convention prefix interface names like ITrackRepo with the letter I?
Study Workspace
Finished this lesson?
Your progress is saved locally in your browser, no account needed.