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

Tech News #28 | Prompt Engineering, GitHub Check-ins & Microsoft Teams Sparkles

Discover the fascinating world of prompt engineering and its impact on AI development.

May the 4th Be With You | Home & Office Automation

A long time ago in a galaxy far, far away, technology has advanced to a point where even our homes and offices can be smart. With the power of automation systems from SSW, controlling our lights, climate, entertainment, and security has become as easy as pressing a button on our Control4 remotes or smartphones. Imagine walking into your home or office and the doors unlock, the lights turn on, the air conditioner adjusts to your preferred temperature, and your favorite Star Wars soundtrack plays in the background. With SSW’s smart solutions, the force will be with you, always.

Exploring the Capabilities of ChatGPT | Calum Simpson | User Group

Discover how GPT-4 can revolutionize your workflow, and increase your productivity and efficiency. This is your chance to gain insight into the future of AI and software development. Get ready to learn and explore the exciting possibilities of GPT-4! 🤘

The only ChatGPT cheatsheet you’ll ever need (Developer Edition) | Luke Cook | SSW Rules

As ChatGPT becomes increasingly popular, users are discovering the most effective ways to prompt the AI for different scenarios.

How and when to offer unsolicited feedback | Matt Goldman & Ulysses Maclaren | SSW Rules

With empathy and the right approach, you can provide meaningful support and help others reach their goals. Join us for tips on how to offer feedback with care, so you can empower your team to be their best selves.

The best way to handle requests from your boss | Jonty Gardner | SSW Rules

Managing deadlines can be tricky, let’s find out how to deal with unexpected changes to project priorities.

How to Plan for Database Performance | Bryden Oliver | User Group

Are your applications running at a snail’s pace? 🐌
Have you been wracking your brain trying to identify the source of the bottleneck? 🔍

Tech News #26 | Adam Cogan | User Group

Adam Cogan brings you the most important and recent tech news, including the release of .NET 8 preview, updates on Azure Open AI Service, GitHub, and AWS, and the rebranding of Netlify CMS. He also introduces the new, faster version of Microsoft Teams.

Simply Remote Testing with Dev Tunnels | Daniel Mackay | SSW Rules

Find out how to expose a locally running application over the internet for testing and design feedback.

Content Creation 101 – A Creative’s Guide | Richard Campbell and Adam Cogan | Tech Chat

Storytelling and content creation can be daunting and complex endeavour.