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

Innovation in a post COVID-19 World with Dr. Joe Perez and Penny Walker | NDC Sydney 2022

Renaissance philosopher and writer Machiavelli has been quoted as saying, “I’m not interested in preserving the status quo; I want to overthrow it.” The importance of respecting personal space and practicing impeccable hygiene aren’t the only lessons learned from COVID-19.

Dev Containers from Microsoft (was Remote Containers) with Piers Sinclair

Want to save time when working with other developers? Then watch Piers explain Dev containers in Visual Studio.

Tech News #21: Arm64 support in .NET 7, Adobe buys Figma

September was a big month for Microsoft with Azure DevOps to Github and the release of .NET MAUI on the back of .NET 7. We talk shop with Github and functionality improvements on Terraform including Pulumi which now supports heaps of languages. We finish up with some new tech from Apple, Microsoft features and end with some laughs about virus protection. Join us and get up to date news at www.ssw.com.au

Is your “Bro culture” scaring people away? with Heather Wilde and Adam Cogan | NDC Melbourne 2022

Inclusion has been proven to have direct, measurable effects on stability and success in businesses, large and small. Indeed, most organisations actively pursue diverse representation in their workplace, but this won’t necessarily ensure that all employees feel included.

Clean Architecture in 5 minutes with Jason Taylor and Piers Sinclair | NDC Melbourne 2022

The explosive growth of web frameworks and the demands of users have changed the approach to building enterprise applications.

Tech News #20: Azure DevOps to Github and announcing .NET 7 Release Candidate 1

September was a big month for Microsoft with Azure DevOps to Github and the release of .NET MAUI on the back of .NET 7. We talk shop with Github and functionality improvements on Terraform including Pulumi which now supports heaps of languages. We finish up with some new tech from Apple, Microsoft features and end with some laughs about virus protection. Join us and get up to date news at www.ssw.com.au

Checking 3rd Party Libraries before Installing with Chris Clement

Efficient software developers don’t reinvent the wheel and know the right libraries to use. Using an already existing and well-tested libraries will speed up development time.

Why Developers Should Care About AI with Matthew Renze and Piers Sinclair- NDC Melbourne 2022

Artificial Intelligence is everywhere! AI is beginning to transform our products, our companies, and our world. However, most software developers have not yet learned how to add these new AI tools to their products and services.

What makes Adam Cogan tick? Michael Jones interviews SSW Chief Architect | NDC Melbourne 2022

Adam Cogan blogs at adamcogan.com and interviews for SSW TV frequently. He is the Chief Architect at SSW, a Microsoft Certified Gold Partner specialising in custom enterprise .NET and Azure solutions mostly using Angular and React. His solutions also involve Office365, SharePoint, Dynamics 365, and Power BI.

Hack the Cat! Cross-Site Scripting (XSS) with Alex Mackey | NDC Melbourne 2022

Technologist Alex Mackey talks about the issue of Cross-Site Scripting (XSS) and gives us a demo.
WARNING: some of these demos would be illegal if performed on-site!
But it’s ok because Alex has set up Hack the Cat so you can try it at home.