goo.gl/RFY5C2 : Subscribe to CodAffection goo.gl/bPcyXW : Buy me a Coffee goo.gl/RZ33mk : User Registration (Part 1) goo.gl/3DefLb : Jwt Login & Logout (Part 2- Prev. Video) goo.gl/ijPZQk : .Net Core Web API CRUD with Angular 7 goo.gl/ZHDEhP : Master Detail Web API CRUD with Angular
These tutes are simply the best. They do need to be watched in the strict order as indicated below - Part1, Part2 etc) . The accent is quite charming - I cant get taarble out of my head :-) and i now know what an obserble is :-) I think you should trademark it along with the "boom!". Thanks a lot. Truly Brilliant.
Congratulation on getting married. Welcome to the club. Thanks for the wonderful video. I have a request. Can you please create a guide or video demonstrating Windows Authentication using asp.net core and Angular 7 ?
What if I created project in .net core 3 and angular 8 with individual user account and there is already authentication but with out roles? Do I need so many changes? I get token with user id on angular side but i dont know how to add user role to this token.
Congratulation on your marriage. Thank you for doing these vidoes. They are very helpful to understand concepts and coding. you have an effective sytle of teaching. I would like to see angular with bootstrap 4 project to showcase professional looking nav bar and side nav bar based on roles the logged in user has. For instance, an application might have 40 menu items, but based on access a user has the side nav bar should be dynamically populated.
thanks for your wonderful feedback. glad you found the video really helpful. about role based menu. first of in this video we have restricted routes based on role now we just need to hide and show menu items based on role. for that you can use ngIf directive like this. ....
@@CodAffection I totally agree with your approach. We can certainly use ngIf directives, read all the roles and run through each menu to enable and disable. I thought by extending this video, if you can put up a professional looking side nav bar that can be hidden would be helpful. Pretty much all web apps cant fit large menu items on top navbar and need to come up with side nav bar. It would be great if you can do this. Also, i would like to talk to you, would you please send email and we can discuss further.
Good morning Sir, Really enjoy your video, pls can you do tutorial and explain Role, Permission, Claims and sending email on signup using Dot Net Core with Angular
Hi sir this helped a lot.I tried your code but I am getting unauthorised 401error after entered the token what was the issue how should I solve it thanks in advance.
Hi First of all thanks for all of your posts. The previous videos related to Angular and ASP.net Core were amazing But I think this video is not complete . You did not mention these issues ---how to hidden some items for users who are not allowed(instead of showing them a Forbidden message) ---sometimes a user have different roles(more than one and it would be saved inside an array ,But how we can check them in Client app) Thanks too much .
yes. you can hide and show menu item using localStorage and ngIf directive. in case of multiple per user. we have to make a few more changes from user registration itself (not complex). I have already done that in one of my previous videos here : ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-h85_GT62K6A.html (registration video. followed by login and role management parts).
Hi! i have a question, why du you use navigate, and navigateByUrl in same ways, is there an explanation, or they are just the same and you make use of the first comes to your mind?
Helpful video, This scenario work for predefined roles, but how can we achieve authorization for runtime role-rights in .net core? Can you please help or do you have video for this? Thanks
Hi. I love your videos because they are very helpful. I have customize your source for my project at my company and I am trying to create a dynamic form in admin panel and save the form in database and as I save the form as an admin, the customer user see that form after a login, but I do not know how to do that. could you please continue the project in this way please?
How did you implement the dynamic form in angular, using formarray or something. are you looking for something like zoho forms ? I have used form array in my latest angular inline table edit video .
@@CodAffection Yes I am trying to use form array for making a dynamic form. could you please comment the link of video that you have used form array? thanks
Firstly, thank you for the video. Learnt a lot from this series. In this video, you've added two roles manually from the DB and built each web service for the two roles but how to implement in front end in case of dynamic roles?
thanks for the comment. you can a separate page for role management. it can only be accessed by admin users. hope I answered your question. otherwise let me know.
This video is amazing man but it would be more helpful if user would select role from dropdown on registration form rather then having it hardcoded on .net core
Hello, sorry for my English, Thanks for sharing this project, I have a doubt: if I get the Token from the local storage and open the application and in the console administration I put this token the application allows me access without problems, how to solve this security vulnerability?
How can we modify roles in Authorize web api like if some api don't have access to some roles but we want in future some roles should able to access that api so how can we do without modifying code. Basically Authorize roles can take from database on API. by creating some variable and in authorize pass that variable.
Thank you for this course, How can i add multiple AddDbContext in Startup -> ConfigureServices and 2 Controllers which is getting data from difference database in SQLServer? I already connected UserDB in UserDb and i would like to add another existing Database to show data after logged in. Please help me
hi Could you give some resarch keys? I am using .net core and angular role based system. authentication method is working I used http.post but other methods doesnt work. It just gave 401. I implemented backend , it is ready for request I tried in swagger all services are working. But front is just sending request for auth . What I missed
Hi thanks for the videos, been watching and using the code for my projects. May I also request a video on password reset/forgot password functionality. Thank you.
Thanks you for your project it's a big help of the BIG PICTURE I have issues with the SignalR in dotnet core can you make video about chat application made of Angular 8 + SignalR + dotnet Core
I did the same, and when performing the Login, Chrome shows password message exposed. Can you help me ? Chrome version 86.0.4240.198 (Official version) 64-bit
This thing works on Angular 8 + .NET 3? Because i get this System.InvalidOperationException: Unable to resolve service for type 'Microsoft.AspNetCore.Identity.UserManager`1[Transportation.Models.User]' while attempting to activate 'Transportation.Controllers.AuthController.
Because it can't migrate. I get "The entity type 'ApplicationUser' cannot be mapped to a table because it is derived from 'IdentityUser'. Only base entity types can be mapped to a table".
when clicking admin hyper link im gettting an error, when inspecting im getting this message core.js:6014 ERROR Error: Uncaught (in promise): Error: Cannot match any routes. URL Segment: 'adminpanel' Error: Cannot match any routes. URL Segment: 'adminpanel' Any reasons why please ??
@@CodAffection that is using dot net frame work, I am asking about dot net core. Another thing, you can extend this video by adding feature like, uploading a set if files to the server (gallery kind of) and use push notifications using signal r
@@CodAffection I have tried but in that video the controller is inherited from Apicontroller and in core that controller is used as an attribute nor as an inherited class. Further, in core the controllers are inherited from controllerbase class and this class doesn't support "HTTPCONTEXT.CurrentRequest"
CodAffection please can you make a video or share a link showing the user role being assigned through the reg form with angular 7 + and asp.net core webapi
Sorry if I made you to think that way. I just reused my previous video source code here for angular application : ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-Ks5ADKqPrBQ.html