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
Смотрите видео Managing Permissions With EF Core Migrations | Permission Authorization - Part 2 онлайн без регистрации, длительностью часов минут секунд в хорошем качестве. Это видео добавил пользователь Milan Jovanović 06 Декабрь 2022, не забудьте поделиться им ссылкой с друзьями и знакомыми, на нашем сайте его посмотрели 26,672 раз и оно понравилось 494 людям.