Entity Framework Custom Outline
Day 1: Introduction to ASP.NET Core MVC & Pages and Entity Framework Core
Morning Session
Introduction to ASP.NET Core MVC & Pages
General Information About Asp.Net Core
Theory on Asp.Net Core
Road Map (Asp.Net Web Forms to Asp.Net Core)
Patterns used in Asp.Net Core
MVC
Pages
MVC vs Pages
Afternoon Session
Introduction to Entity Framework Core
What is an ORM?
What is Entity Framework Core?
History of Entity Framework
EF Core vs EF 6
Introducing the Project
Installations and Tools needed
Day 2: ASP.NET Core MVC Core Project Structure & EF Core - Basics
Morning Session
Asp.Net Core MVC Core Project Structure
Model
View
Shared Folder
Controller
A Bit on Core Classes
Application Settings
Application Dependencies
Afternoon Session
Code-First Approach
Creating a Model
Adding a Migration
Reading or Writing Data
Existing Database (DB-First)
Creating a Model for an Existing Database
Scaffold-DbContext Command
Using the DotNet CLI
Day 3: Entity Framework Core - DbContext, Querying, Tracking, and Saving Data
Morning Session
DbContext
Understanding the DbContext
DbContext Methods and Properties
Querying Data
Querying Basics
Filtering Queries
Sorting Data
Aggregating Results
Afternoon Session
Tracking and Saving Data
Tracking and Saving Workflow
Insert, Update, and Delete Simple Objects
Updating Untracked Objects
Tracking Multiple Objects and Bulk Support
Day 4: Entity Framework Core - Migrations and Relationships
Morning Session
Migrations
Understanding Migrations
Design-Time Migrations Tools
Adding a Migration
Inspecting a Migration
Script or Create a Database
Afternoon Session
Removing a Migration
Reverting a Migration
PMC and CLI Commands
Relationships
Defining Many to Many Relationship
Defining One to One Relationship
Defining One to Many Relationship
Day 5: Entity Framework Core - Advanced Topics, ASP.NET Core MVC and Pages, and Mobile Application Discussion
Morning Session
EF Core’s Interpretation of Your Data Model
Interpreting One-to-Many Relationships
Foreign Key Properties
Interacting with Related Data
Adding Related Data
Eager Loading
Lazy Loading
Modifying Related Data
Understanding Deleting
Afternoon Session
Working with Views and Stored Procedures
Querying with Raw SQL
Adding StoredProcedure using Migrations
Running Stored Procedure Queries with Raw SQL
Mapping to Views
Querying Database Views
Data Annotations
Scaffolding New Projects in VS
Asp.Net Core MVC
Asp.Net Core Pages
Incorporating a Mobile Application
Discussing mobile application possibilities and requirements
Integrating mobile applications with ASP.NET Core APIs
Last updated
Was this helpful?