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

Humans as a Space Faring Civilization | Richard Campbell & Ulysses Maclaren

Join SSW’s General Manager, Ulysses Maclaren in an engaging interview with Arafat Tehsin, an AI MVP with Microsoft, as they delve into the realm of AI beyond chatbots. Arafat shares insights into his innovative project tackling parking sign confusions using multimodal AI. From leveraging Microsoft Project Florence to experimenting with OpenAI’s GPT-3.5, Arafat unveils the journey of building a solution that integrates images and text seamlessly. Discover how advancements in AI are revolutionizing mobile and web app experiences, gamification, personalized recommendations, and even video analysis.

Unlocking Domain-Driven Design: Exploring Contextive | Gert Marx & Chris Simon

In this video, join Gert Marx, SSW Solution Architect, as he interviews Chris Simon, Start up CTO Coach, about his open-source project, Contextive. Contextive is inspired by Domain-Driven Design (DDD) principles, particularly focusing on the ubiquitous language aspect. Chris explains how miscommunication between developers and users can lead to issues in software projects, and how Contextive aims to mitigate this by documenting domain terminology.

Navigating Coding, Deployments, and Legacy Projects | Matt Wicks & Ben Dechrai

Join SSW’s Solution Architect Matt Wicks in this interview with Developer Advocate, Ben Dechrai, at NDC Sydney. They explore the world of coding, deployments, and legacy projects as they discuss strategies for managing deployment debt, the importance of keeping infrastructure and code in sync, and navigating through legacy codebases. Learn practical tips for maintaining code cleanliness and optimizing readability, along with valuable insights on levering cognitive complexity to elevate code quality.

TDD: How Fluent Assertions came to be | Luke Parker & Dennis Doomen

Join SSW’s Luke Parker in this insightful interview with Dennis, the author of the Fluent Assertions Library, as they discuss the origins of the library, its evolution, and the principles of Test-Driven Development (TDD). Dennis shares his journey from a small internal project to a widely used open-source tool, emphasizing the importance of self-describing tests and design clarity. Learn how TDD not only enhances code maintainability but also fosters a better understanding of system boundaries and design patterns.

Empowering Developers in the Cloud | Matt Wicks & Magnus Martensson

Join Matt Wicks from SSW TV as he sits down with Jonathan Tower at NDC Sydney to explore the groundbreaking reverse proxy solution, YARP (Yet Another Reverse Proxy). In this insightful interview, Jonathan delves into the inception, features, and diverse applications of YARP, shedding light on its pivotal role in project migrations, feature flagging, AB testing, and more. Discover how YARP simplifies the process of migrating legacy .NET applications to modern frameworks while enabling agile releases and seamless transitions.

From Demo Scene to Cutting-Edge Tech | Jean Thirion & Espen Sande-Larsen

Join us for an interview with SSW’s France CEO, Jean Thirion and Espen Sande-Larsen, also known as Dr. Circuit, as he shares his journey from the demo scene of the ’80s and ’90s to groundbreaking projects in JavaScript and AI. Learn how he pushes the boundaries of technology at a bank’s R&D department, crafting innovative solutions that redefine the future of finance. From quantum physics to generative AI, Espen discusses the fascinating intersection of creativity and technology, offering a glimpse into the exciting possibilities ahead.

YARP: Your Gateway to Effortless Project Migrations | Matt Wicks & Jonathan Tower

Join Matt Wicks from SSW TV as he sits down with Jonathan Tower at NDC Sydney to explore the groundbreaking reverse proxy solution, YARP (Yet Another Reverse Proxy). In this insightful interview, Jonathan delves into the inception, features, and diverse applications of YARP, shedding light on its pivotal role in project migrations, feature flagging, AB testing, and more. Discover how YARP simplifies the process of migrating legacy .NET applications to modern frameworks while enabling agile releases and seamless transitions.

Developer Experience with Azure DevBox and Deployment Environments | Matt Wicks & Isaac Levin

SSW’s Solution Architect, Matt Wicks talks with Isaac Levin, Microsoft MVP, about the evolving landscape of developer experiences, focusing on Azure DevBox and Deployment Environments. Isaac discusses the challenges developers face in managing their development environments, especially in large organizations, and highlights the benefits of using Azure DevBox and Deployment Environments to streamline workflows and enhance productivity. He demonstrates how these tools enable developers to quickly set up custom environments, manage resources efficiently, and facilitate seamless collaboration.

Building Multimodal AI Solutions Beyond Chatbots | Ulysses Maclaren & Arafat Tehsin

Join SSW’s General Manager, Ulysses Maclaren in an engaging interview with Arafat Tehsin, an AI MVP with Microsoft, as they delve into the realm of AI beyond chatbots. Arafat shares insights into his innovative project tackling parking sign confusions using multimodal AI. From leveraging Microsoft Project Florence to experimenting with OpenAI’s GPT-3.5, Arafat unveils the journey of building a solution that integrates images and text seamlessly. Discover how advancements in AI are revolutionizing mobile and web app experiences, gamification, personalized recommendations, and even video analysis.

Tech News #37 | First AI “Software Engineer” – Devin, xAI open sources Grok-1 and Elon sues OpenAI

Join us for this month’s tech news! Meet Devin, the groundbreaking AI software engineer revolutionizing coding, explore Stable Diffusion 3 for enhanced image generation, and get the scoop on .NET 9 Preview 1 & 2. Find out about the ongoing battle between Epic Games and Apple, and get the lowdown on Nvidia’s powerful new ‘Blackwell’ chips. Sam Altman returns to the OpenAI board, while Elon Musk sues the organization and much more!