EF Core: Best Practices
Focus your knowledge of Entity Framework Core. This course will teach you which features to choose so that you can build safe, secure, and efficient solutions
What you'll learn
You've learned the fundamentals of EF Core. You have seen the many options available to you as you build applications. Now let's see which options give you the most secure, well-tested, and easy to maintain solution. In this course, Entity Framework Core Best Practices, you will learn why you should favor some options over others. First, you'll assemble the best project structure for creating testable and secure applications. Next, you'll discover how to safely evolve your data schema using the latest C# language features and powerful migrations-based devops. Finally, you'll learn how to optimize your data access layer to efficiently handle payloads large and small. When you've finished with this course, you will be able to apply your knowledge of Entity Framework Core 6 to choose the best path for your team.
Table of contents
- Entity Framework Core 1m
- The Need for Project Structure 2m
- Separation of Concerns 3m
- Encapsulating Entity Framework 7m
- Responsibilities of Each Layer 3m
- The Domain Project Contains Entities 3m
- The Infrastructure Project Configures SQL 2m
- The API Project Adds Services to the Container 2m
- The Shared Kernel Inverts Dependencies 5m
- Responsibilities of the Unit Test Project 2m
- The In-Memory Provider Supports Unit Tests 2m
- Project Structure Best Practices 1m
- Only You Can Prevent Exploits 2m
- Principle of Least Privilege 4m
- Design-Time DbContext Factories Control Deployment Credentials 2m
- Roles Define Application Privileges 3m
- Shift Left 3m
- User Secrets Store Developer Credentials 3m
- Keeping Secrets In Shared Environments 2m
- Managed Identity in Azure 3m
- Keep Your Company Out of the News 1m