Simple play icon Course
Skills

C# 8 Design Patterns: Data Access Patterns

by Filip Ekberg

In this course, you'll discover how to work with the different data access patterns. You'll learn about repositories, unit of work, lazy loading, and understand why these patterns exist and how to implement them in a C# application.

What you'll learn

Most applications, if not all, need to work with some kind of data, a database, for example. Having a good strategy for how to decouple the specific data layer is crucial in order to make your application testable and maintainable. In this course, C# 8 Design Patterns: Data Access Patterns, you’ll learn foundational knowledge of the different data access patterns. First, you'll learn how to implement the repository pattern and decouple parts of the application from the data layer. Then, you'll develop an understanding of where this pattern is applicable. Next, you’ll discover how to easily refactor an application to leverage the unit of work pattern, making the application even better. Finally, you'll explore how to leverage lazy loading to avoid unnecessary data being loaded into your application. When you’re finished with this course, you'll have the skills and knowledge of these different data access patterns and what is needed to apply this in your solutions.

About the author

Filip is an enthusiastic developer that strives to learn something new every day. With almost two decades of experience in .NET, Filip actively spreads his knowledge and ideas around the globe, be it speaking at conferences or online. Filip has worked in a range of different technologies such as WPF, Win Forms, ASP.NET, ASP.NET Core, Xamarin and .NET MAUI. In 2012, Filip published the book C# Smorgasbord, covering a vast variety of different technologies and patterns using C#, and right after Fi... more

Ready to upskill? Get started