Asp.Net.Core Web-API Role Based Authorization in Angular 7 with Identity Role

Implements role based authorization with Angular 7 and Asp.Net core web API using Identity role.

Content discussed :

  • Role based authorization in Asp.Net Core Web API.
  • Add role to user in Asp.Net Identity
  • Angular 7 role based authorization with guard and interceptor
  • Create private routes in Angular 7
  • How to handle 403 status code in angular 7

Get the Code

$ git clone https://github.com/CodAffection/Asp.Net-Core-Web-API---Role-Based-Authorization-in-Angular-7-with-Identity-Role.git
$ cd Asp.Net-Core-Web-API---Role-Based-Authorization-in-Angular-7-with-Identity-Role/Angular 7
$ npm install
//run the app
$ ng serve
//update Web API DB connection string

How it works ?

📺 Video tutorial on this same topic
Url : https://youtu.be/MGCC2zTb0t4

Video Tutorial for Role based authorization in Asp.net Core and Angular 7

📊 List of Tutorials 💰 Support Us
Angular http://bit.ly/2KQN9xF Paypal https://goo.gl/bPcyXW
Asp.Net Core http://bit.ly/30fPDMg Amazon Affiliate https://geni.us/JDzpE
React http://bit.ly/325temF
Python http://bit.ly/2ws4utg 👉 Follow Us
Node.js https://goo.gl/viJcFs Website http://www.codaffection.com
Asp.Net MVC https://goo.gl/gvjUJ7 YouTube https://www.youtube.com/codaffection
Flutter https://bit.ly/3ggmmJz Facebook https://www.facebook.com/codaffection
Web API https://goo.gl/itVayJ Twitter https://twitter.com/CodAffection
MEAN Stack https://goo.gl/YJPPAH
C# Tutorial https://goo.gl/s1zJxo
Asp.Net WebForm https://goo.gl/GXC2aJ
C# WinForm https://goo.gl/vHS9Hd
MS SQL https://goo.gl/MLYS9e
Crystal Report https://goo.gl/5Vou7t
CG Exercises in C Program https://goo.gl/qEWJCs