In this talk, Jason Taylor will demonstrate an approach using permission-based authorization to overcome these limitations by building a flexible approach to managing roles and permissions from within your system.

00:00 | Introduction

01:20 | Agenda

03:23 | Authorization in ASP.NET Core

07:22 | Authorization in Blazor WebAssembly

10:27 | Demo: Adding a new role

23:49 | Standard vs Flexible Approach

24:35 | Flexible Authorizations – Permissions

25:40 | Flexible Authorization – Roles

26:36 | Flexible Authorization – Engine

27:47 | Code Walkthrough

48:00 | Demo: Adding a new permission

53:16 | Summary

55:13 | Q & A

ASP.NET Core Identity supports the essentials for authentication and authorization across many application types such as web, API, and mobile. With Identity, authorization is a breeze! Developers can implement authorization checks using numerous methods including roles, claims, and policies. However, this approach is not without limitations.

For larger and more complex systems, you may quickly find yourself stuck in the depths of ‘Permissions Hell’. For example, updating authorization requirements will require code changes, along with the time taken to test and deploy these changes. Checking user or role permissions is also tricky, you’ll need to review the code or documentation – and hope the documentation is still up to date! As systems grow, authorization requirements will grow, and these limitations can slow new development and decrease maintainability.

——————————————————————————

|| Subscribe for more content from SSW TV ||

|| Press like and leave a comment below to let us know how we’re doing ||

Twitter ↴ https://twitter.com/ssw_tv

Facebook ↴ https://www.facebook.com/SSW.page

See more videos at http://tv.ssw.com

For more information about SSW’s web application consulting services, please visit https://www.ssw.com.au/ssw/Consulting/Web-Applications.aspx

Created by SSW TV | Videos By Developers, For Developers

About the speakers

About the speakers

Jason Taylor

Jason Taylor is a passionate developer, architect, trainer and mentor with +20 years of professional experience. He has worked with .NET since 2001, and currently specializes in developing enterprise applications utilizing .NET Core, ASP.NET Core, EF Core, Angular, Vue, and Azure. Jason is an expert on Clean Architecture with .NET Core, and has one of the most sought after GitHub repos containing an awesome template for using Clean Architecture. Jason loves a challenge and is skilled at progressing from a simple proposal into a well-defined, coded, and tested solution.

Related videos

Related videos

Power Automate Flows with Calum Simpson and Adam Cogan – Long

Power Automate lets power users automate away repeatable manual processes. They can go from zero to hero in under a day!

Sites to Give Your Admin Staff on SharePoint with Warwick Leahy

It’s important for all your SharePoint Sites to be as consistent as possible.

In the days of classic SharePoint, subsites were a popular way of organising your intranet. Modern SharePoint architecture leans toward a flatter hierarchy, where sub-sites are generally not recommended.

Teams and SharePoint Search Bug with Jean Thirion

Not finding stuff you have permissions to is super frustrating. So this one has always confused us…. Do you consider it a bug?

Azure Resource Naming Conventions with Luke Cook

Having inconsistent resource names across projects creates all sorts of pain:
– Struggling to identify resources
– Unsure what to label new resources.
– Risk of duplicating resources

Developing Flexible Authorization Capabilities in ASP.NET Core with Jason Taylor

In this talk, Jason Taylor will demonstrate an approach using permission-based authorization to overcome these limitations by building a flexible approach to managing roles and permissions from within your system. This will improve the maintainability and visibility of access control across your system. Putting the power into the hands of application users and administrators, rather than developers.

SSW 2022 Welcome Back To Office Lunch

On the 4th of February we welcomed everyone back to the office with a fantastic lunch! 🥗

It has been a roller coaster 12 months with restrictions, so it was amazing to see everyone back in the office working side by side again 👏

Tech News: State of JS Survey 2021, AU domains available, GitHub issues changes, .NET 7 preview

Join Adam as he delivers the latest Tech News during our March User Group.

SSW is proud to announce its latest product – The SSW TimeBand!

Our development team spent a few months working really hard on this new product, and Chief Architect Adam Cogan is officially launching it today.

Rules to Better Security with Adam Cogan – The 10 tips CEOs Must Know

Do you know the security best practices for both end-users and SysAdmins?

Join Adam for the 10 tips CEOs must know for both end-users and SysAdmins.

Microservice Solutions with Ocelot on Azure with Patrick Zhao

Learn from Patrick how valuable Ocelot is and see the ins and outs of building an API gateway and protect the services using Azure VNet.