Managing Permissions With EF Core Migrations | Permission Authorization - Part 2

Published: 06 December 2022
on channel: Milan Jovanović
26,672
494

Get the source code for this video for FREE → https://the-dotnet-weekly.ck.page/per...
Want to master Clean Architecture? Go here: https://bit.ly/3PupkOJ
Want to unlock Modular Monoliths? Go here: https://bit.ly/3SXlzSt
Join a community of 1000+ .NET developers:   / milanjovanovic  

Authorization is an important topic to consider in an ASP.NET Core application. Along with authentication, it's the backbone of a reliable and secure application. In this video, I'm going to show you how to implement permission authorization. This is part 2 of a longer series on permission authorization, where we'll introduce the concepts of roles and permissions. I will show you how to configure everything with EF 7 and how to manage roles and permissions with EF migrations.

Join my weekly .NET newsletter:
https://www.milanjovanovic.tech

Read my Blog here:
https://www.milanjovanovic.tech/blog

Subscribe for more:
   / @milanjovanovictech  

Chapters
0:00 Defining the Role entity
2:11 Defining the Permission entity
2:52 Adding navigation properties to Role
3:43 Configuring the entities with EF
8:23 Defining RolePermission and seeding Permission per Role
11:50 Applying changes with EF migrations


Watch video Managing Permissions With EF Core Migrations | Permission Authorization - Part 2 online without registration, duration hours minute second in high quality. This video was added by user Milan Jovanović 06 December 2022, don't forget to share it with your friends and acquaintances, it has been viewed on our site 26,672 once and liked it 494 people.