Cloud Diary Tutorial 07 - Store diary entries in database with Entity Framework

Опубликовано: 15 Март 2026
на канале: Daniel Hillebrand
116
0

Please check my blog for more information about the tutorial.
https://wp.me/p8Z2Wa-v

Topics:
• ASP.NET Identity ApplicationUser and ApplicationDbContext overview
• ASP.NET Identity tables
• Extend DiaryEntry model class for usage in DbContext
• Create foreign key property and navigation properties (Entity Framework)
• Add new DiaryEntry table to DbContext
• Create new model class from viewmodel
• Use Entity Framework to insert into DiaryEntries table
• Show result of data-model change: "Server Error in Application. The model backing the 'ApplicationDbContext" context has changed since the database was created. Consider using Code First Migrations to update the database"