As soon as you have configured users and roles, by following approach described in the article How to create users and roles for Role-Based authorization in ASP.NET, you need to configure the authorization rules for your application. You can establish these rules by configuring the appropriate <authorization> sections in the different directories of your application. You should click one of the links in the Add New Access Rule section on the Security tab, as shown in the next picture.

C# 8.0 and .NET Core 3.0 – Modern Cross-Platform Development: Build applications with C#, .NET Core, Entity Framework Core, ASP.NET Core, and ML.NET using Visual Studio Code, 4th Edition
ASP.NET Core 3 and Angular 9: Full stack web development with .NET Core 3.1 and Angular 9, 3rd Edition
C# in Depth, 4th Edition

 

 

Configuring access rules with the WAT

Configuring access rules with the WAT