Mastering-Entity-Framework-Core-Advanced-Querying-Migrations-and-Testing
This is the code repository for Mastering Entity Framework Core - Advanced Querying, Migrations and Testing [Video], published by Packt. It contains all the supporting project files necessary to work through the video course from start to finish.
About the Video Course
You will start the course by exploring data validation and learn how to implement data validation inside your model using attributes. Then you will use validation inside MVC controllers and expose validations inside your MVC views in the user interface. Next you will delve into advanced query techniques. You will see how asynchronous code helps your applications scale better and explore query performance. Further, you will learn how to protect application data from concurrent access by multiple users, see how transactions enable changes to multiple tables and learn how to create an abstraction layer on top of Entity Framework by using the repository pattern.
Next you will embrace migrations and embark on a journey designed to develop the database structure as your application evolves using Entity Framework Core migrations. Then you will create custom migrations that update database schemas and use custom scripts to perform migrations while protecting existing data during rename operations.
Finally you will explore testing and set up a further learning path by writing unit and integration tests. You will see how to bring Entity Framework into a project based on an existing database. In conclusion, you will learn about additional areas Entity Framework core can be used in, and what types of data structure (besides RDBMS) can be accessed with EF Core.
What You Will Learn
- Understand how to evolve database structures using migrations
- Set up an MVC .NET Core application that uses Entity Framework
- Enhance the performance and/or scalability of Entity Framework Core
- Explore data validation inside models using attributes
- Handle validation inside MVC Core via the Web API
- Learn advance query and update techniques such as joins and access stored procedures and views
Instructions and Navigation
Assumed Knowledge
This video course is aimed at developers who are familiar with Entity Framework and .NET Core, and who want to develop or extend their knowledge of Entity Framework Core via practical examples on how to use it in .NET Core Web applications.
Technical Requirements
This course has the following requirements:
Laptop with Internet connection
Ubuntu 18/basic Linux experience
Python 3.6/basic programming skills