Extend IdentityUser in ASP NET Core

  Рет қаралды 103,149

kudvenkat

kudvenkat

Күн бұрын

Пікірлер: 120
@micheleboscagin3213
@micheleboscagin3213 5 жыл бұрын
OH MY GOD! Finally a clear, simple but detailed video about Identity User with extension! Thanks very much!!! I follow also angularjs, angular2, asp.net mvc for .NET framework and all videos are exceptional! Love your works!
@Csharp-video-tutorialsBlogspot
@Csharp-video-tutorialsBlogspot 5 жыл бұрын
Hello Michele - Thank you very much for taking time to give feedback. This means a lot. I am very glad you found the videos useful. Good luck and all the very best with everything you are doing.
@jeronimosanchez2014
@jeronimosanchez2014 3 жыл бұрын
Fue mi único heeroeeee en este lío!!!! Grande! No encontraba por ningún lado cómo modificar esa tabla, muchas gracias!!!
@nimatsergiu2942
@nimatsergiu2942 4 жыл бұрын
U are doing an excellent job - you might not even think how much you help with your videos. I appreciate you sharing this vast knowledge about these good practices and tricks. Thank you!
@Csharp-video-tutorialsBlogspot
@Csharp-video-tutorialsBlogspot 4 жыл бұрын
Hello Nimat - Thank you very much for the feedback. Means a lot. I have included all the .NET core tutorial videos, slides and text articles in sequence on the following page. Hope you will find it handy. www.pragimtech.com/courses/asp-net-core-mvc-tutorial-for-beginners/ When you have some time, can you please leave your rating and valuable feedback on the REVIEWS tab. It really helps us. Thank you. Good luck and all the very best with everything you are doing.
@jobiraw
@jobiraw 5 жыл бұрын
Dear Venkat we can only say thank you....Asp net identity is what we wanted strongly n at this time you are the best one describing it in the best way....keep up...!!
@joaocampos9615
@joaocampos9615 5 жыл бұрын
Hey, Venkat. Thank you very much for this. I've been following you for some time. Your explanations are always so detailed and at the same time so clear. That only demonstrates how deep is your knowledge about the subjects. I hope you never stop posting :D
@wassollderscheiss33
@wassollderscheiss33 2 жыл бұрын
Same here
@AndrewBarzyk
@AndrewBarzyk 5 жыл бұрын
Great series. I just purchased it not because I needed the DVD but because i'm finding your videos indispensable! Great Job!
@peterjenerette
@peterjenerette 4 жыл бұрын
Quite useful. This explanation allowed me to start and figure my way through a previously multi dbcontext Core 3.1 app, with existing user tables. Key to this was how to do it when IdentityUser has already been applied and in use. Thank you.
@predaandreeadaniela5454
@predaandreeadaniela5454 4 жыл бұрын
Very useful and each detail carefully explained! Thank you so much!
@ayatoshiroo6296
@ayatoshiroo6296 4 жыл бұрын
I love you man, best tutorials for Asp .
@eduardojimeneztroncoso4621
@eduardojimeneztroncoso4621 2 жыл бұрын
Clear explanations, ...i was able to alter the IdentityUser sucessfully. Thanks !
@JarlamDev
@JarlamDev 3 жыл бұрын
You are the best. You have saved me several times.
@singhbrijesh
@singhbrijesh 5 жыл бұрын
Excellent, thanks a lot for adding this video in the list, very helpful.
@stephennixey
@stephennixey 3 жыл бұрын
Thank you so much for making this so clear, got this done in minutes.
@mikehartwig5319
@mikehartwig5319 2 жыл бұрын
Thanks! You helped me. I was forgetting to put after inheriting IdentityUser in my DBContext.
@kourosh234
@kourosh234 5 жыл бұрын
Hello Mr. Venkat. I would like to see a video or series on what you think about the current situation of technologies. I mean with Blazor coming, the complexity in Angular and versioning madness from google! What do you suggest sir? Many of us have the responsibility to choose technologies when we start a new project. I thought to ask you because for me and many other programmers you are "the mentor". Thank you so much for all your excellent videos. Looking forward for your reply. BR. kourosh :)
@mdsaddamkhan8400
@mdsaddamkhan8400 4 жыл бұрын
1.in 7:25 part of the video I am having problem when I included public class AppDbContext : IdentityDbContext I am getting red squiggly under AppDbContext . 2.when I hover Over the mouse I m getting this information The type 'EmployeeManagement.Models.ApplicationUser' can not be used as a type parameter 'TUser' in the generic type or method 'IdentityDbContext'.There is no implicit reference conversion from 'EmployeeManagement.Models.ApplicationUser' to 'Microsoft.AspNetCore.Identity..IdentityUser' 3.The error message is same as I have mentioned in point 2 sir please help me how to get rid of this error
@mdsaddamkhan8400
@mdsaddamkhan8400 4 жыл бұрын
@@K99-w6w .. sorry to say.... No
@mdsaddamkhan8400
@mdsaddamkhan8400 4 жыл бұрын
@@K99-w6w actually.. my whole project get crushed.... For the time being left it and working in blazor..
@learntolearn7502
@learntolearn7502 5 жыл бұрын
Thank you very much Venkat, you are always the best. Will you explain One-to-Many Relationships in EntityFrameworkCore in the upcoming videos in this series?
@Csharp-video-tutorialsBlogspot
@Csharp-video-tutorialsBlogspot 5 жыл бұрын
Hello Kamal - Sure, we will cover table relationships in our upcoming videos. Thank you for the suggestion.
@learntolearn7502
@learntolearn7502 5 жыл бұрын
I am Waiting impatiently ​@@Csharp-video-tutorialsBlogspot , thank you very much
@liveepiceveryday3086
@liveepiceveryday3086 4 жыл бұрын
Thank you very much for the video. really appreciate your videos.
@ivandrofly
@ivandrofly 5 жыл бұрын
It was like two weeks ago I was looking for this online and couldn't find any useful information... Microsoft didn't say much about this feature.
@sinbladee8334
@sinbladee8334 4 жыл бұрын
docs.microsoft.com/en-us/aspnet/core/security/authentication/add-user-data?view=aspnetcore-3.1&tabs=visual-studio
@ArtMeeron
@ArtMeeron 4 жыл бұрын
Hi Venkat, very cool tutorial as always)))! I still came a cross with that exeption "No service for type 'Microsoft.AspNetCore.Identity.SignInManager`1...". I've changed all IdentityUser references but it doesn't help. Do you have any ideas what it could be?
@MrFalcon58199
@MrFalcon58199 4 жыл бұрын
same
@mduduzimthethwa9603
@mduduzimthethwa9603 5 жыл бұрын
I need to reference the ApplicationUser table, how can i do this?
@bennyadiwijaya1606
@bennyadiwijaya1606 4 жыл бұрын
hello, great tutorial.. what if we want more than one identity user, like identity for student, identity for instructor etc, how can we do that?
@salarkazazi7584
@salarkazazi7584 3 жыл бұрын
Learned a lot from you ! thank you so much
@olehkulynych7954
@olehkulynych7954 3 жыл бұрын
Thx, very helpful video for AspNetCore.Identity.
@mohamedsalah324
@mohamedsalah324 3 жыл бұрын
Thank you for this great playlist I have a question here if we want to add base audit entity how to inherit from both idenityUser and the baseEntity
@philiperiskallaleal6010
@philiperiskallaleal6010 9 ай бұрын
Dear presenter, thank you for this wonderful video; most didactic. I was wondering whether it would be possible to extend the IdentityUser to be injected into a genericRepository. If so, how can one do that?
@Mehmetmydnn
@Mehmetmydnn 5 жыл бұрын
Thanks sir, but how we can do our customize user and role classes?
@davidespada01
@davidespada01 5 жыл бұрын
thank you , can we apply permissions by user [out of role scope] with identity ?
@Csharp-video-tutorialsBlogspot
@Csharp-video-tutorialsBlogspot 5 жыл бұрын
Yes we can David. Will discuss in our upcoming videos.
@davidespada01
@davidespada01 5 жыл бұрын
@@Csharp-video-tutorialsBlogspot Thank you sir , your the best
@QusaiHamed
@QusaiHamed 5 жыл бұрын
I found this article www.thereformedprogrammer.net/a-better-way-to-handle-authorization-in-asp-net-core/
@QusaiHamed
@QusaiHamed 5 жыл бұрын
I think the coming videos are related to Roles and Policies I can't wait to watch them I have complicated project needs that part
@sreenuksr
@sreenuksr 4 жыл бұрын
Hi Venkat, Looking for SSO implementation in ASP.Net Core. please share if it is available. thanks in advance
@LiMITZERO
@LiMITZERO 5 жыл бұрын
Hi, I tried to implement this on my asp.net core 3 web api... but no migration changes upon adding migration even though i changed the ApplicationDbContext : IdentityDbContext.. or this slution is for .net 2.2. below onbly?
@alihameed2457
@alihameed2457 5 жыл бұрын
Kindly make a video on UserStore in identity framework. How to manage user secrets in .net core. Deployment of mvc .net core in IIS in a web server machine and make it available to others through internet. Thank you in advance to the great legend, Sir Venkat. Stay blessed. Aameen
@Csharp-video-tutorialsBlogspot
@Csharp-video-tutorialsBlogspot 5 жыл бұрын
Hello Ali - Sure, we will cover all the concepts you mentioned in our upcoming videos. Great suggestions.
@alihameed2457
@alihameed2457 5 жыл бұрын
@@Csharp-video-tutorialsBlogspot Hope so sir. Thank you a lot..
@okaberintarou248
@okaberintarou248 2 жыл бұрын
This video was perfect... thank you!
@SMRITIK18
@SMRITIK18 3 жыл бұрын
Is it possible to remove few columns like normalised user, two factor enabled ,etc from the aspnetusers table
@iordanissavv
@iordanissavv 4 жыл бұрын
Although I'm just beginning with C# and ASP.NET Core, I believe extending the IdentityUser changing the ASP.NET default table, is wrong. You should create another user table, with 1:1 relationship both on the same PK and set all the additional fields required. Changes of default ASP.NET system's tables could possibly be lost, if the platform makes upgrades/updates. I would like to see that implementation by you, since I have really liked the way you present things. Very informative videos for me as a beginner. THNXS
@conaxlearn8566
@conaxlearn8566 4 жыл бұрын
Not in this case. What Venkat taught is officially documented here: docs.microsoft.com/en-us/aspnet/core/security/authentication/customize-identity-model?view=aspnetcore-3.1#custom-user-data
@rayt6867
@rayt6867 5 жыл бұрын
Many thanks for all your great videos, could you please show us how to use roles and an admin be able to edit users.
@BakuraRyuk
@BakuraRyuk 4 жыл бұрын
It works!! Thank you so much dude
@m3xpl4y
@m3xpl4y 3 жыл бұрын
THANK YOU, this Video is real good, thank you
@larsmeeuwsen859
@larsmeeuwsen859 3 жыл бұрын
Amazing tutorial super clear and helpful :D
@bhanumathi2841
@bhanumathi2841 5 жыл бұрын
Hi Sir...I am trying to add extended properties to my Aspnetuser table, but when i am doing it the following error occurs "There is already an object named 'AspNetRoles' in the database." and the changes are not reflected in the table. What could be a possible mistake.
@utkarshpatil8909
@utkarshpatil8909 5 жыл бұрын
Delete your existing database and add new migration then update database.
@kevinrichards7248
@kevinrichards7248 2 жыл бұрын
This course is better than many paid courses
@jacobtunning3274
@jacobtunning3274 4 жыл бұрын
I'm wondering how I can get the registration view into my project. It is not there for me.
@muzaradi
@muzaradi 3 жыл бұрын
#kudvenkat thank you for your video. I'm using skoruba/IdentityServer4.Admin repository for my project. I created ViewModel class (public class CreateDateViewModel : IdentityUser) for some custom fields (CreateDate) and inherited it from IdentityUser. After migration (Add-Migration "MigrationName" -Context IdentityServerConfigurationDbContext -o Migrations/IdentityServerConfiguration) and update the database, the field appeared in the database, but the Account controller still can't access the user.CreateDate property (var user = await _userManager.GetUserAsync(model.UserName); user.CreateDate is missing) Can you suggest what to do?
@HussainGhuloumQ8
@HussainGhuloumQ8 5 жыл бұрын
what if identity user is referenced in a razor page? do i need to change it?
@elpiruwebmaster
@elpiruwebmaster 7 ай бұрын
The best content as always
@Jabrelz
@Jabrelz 4 жыл бұрын
How can I retrieve this city field from other controllers? For example I want to register something and insert this city information based on the logged in user
@talkathiriify
@talkathiriify 5 жыл бұрын
Thank you very much For the amazing video series
@kathrynrose919
@kathrynrose919 4 жыл бұрын
I'm getting the following error when I try and submit through the registration page: InvalidOperationException: Unable to resolve service for type 'Microsoft.AspNetCore.Identity.UI.Services.IEmailSender' while attempting to activate 'ProjectManager.Areas.Identity.Pages.Account.RegisterModel'.
@kodatykaushik6655
@kodatykaushik6655 5 жыл бұрын
Thank you Venkat, your series of courses is the best of all the educational training. Can we make .Net core API IdentityUser point to existing database ? Actually i am developing .Net Core API from scratch which needs to point migration database which is already built by web. Appreciate in advance!
@Csharp-video-tutorialsBlogspot
@Csharp-video-tutorialsBlogspot 5 жыл бұрын
Hello Kaushik - Yes, we can. ASP .NET Core Identity is highly configurable and extensible. Hope this helps.
@dangelogonzalez1459
@dangelogonzalez1459 4 жыл бұрын
Very cool videos. Do you know how can I relate AspNetUsers table with another table we created?
@يوسفالقادري-ز1ر
@يوسفالقادري-ز1ر 3 жыл бұрын
thanks a lot for this explanation ....... its very clear
@kshameed7
@kshameed7 5 жыл бұрын
Hello sir. What if my application uses different Web api or another application to fetch users. How do we extend the Identityuser table in this situation
@miller01
@miller01 2 жыл бұрын
exactly my question, let me know if you figured this out
@pz3328
@pz3328 4 жыл бұрын
I need to pass Repository with users to view in ViewBag. How to do it?
@hamidkhan7281
@hamidkhan7281 4 жыл бұрын
Great Explanation Thanks a lot
@alin-floringuran7249
@alin-floringuran7249 4 жыл бұрын
how do i call city prop in my html?
@dmitryshumarov18
@dmitryshumarov18 Жыл бұрын
Many thanks for tthis tutorial!
@abdelrahmanmahmoud9955
@abdelrahmanmahmoud9955 4 жыл бұрын
Thank you very much that was very helpful 😊
@MohamedAshraf-vi4eu
@MohamedAshraf-vi4eu 5 жыл бұрын
Is these course for asp.net core 1.0 or 2.2 !?
@Csharp-video-tutorialsBlogspot
@Csharp-video-tutorialsBlogspot 5 жыл бұрын
Hello Mohamed - It's for ASP .NET Core 2.2
@mohammadothman6066
@mohammadothman6066 3 жыл бұрын
Thank you sir! but how can i do this with tow domain
@mduduzimthethwa9603
@mduduzimthethwa9603 5 жыл бұрын
Thanks that was very helpful!
@erdierdy
@erdierdy 4 жыл бұрын
Thank you so much i have same migration problem.thanks to you
@amir7afari
@amir7afari Ай бұрын
You're awesome!
@sourabhthorat9550
@sourabhthorat9550 3 жыл бұрын
Can you tell me how to validate the email and phone number when we use IdentityUser?
@ahmedyasser3483
@ahmedyasser3483 3 жыл бұрын
Working Thank You
@sakthir3892
@sakthir3892 5 жыл бұрын
Nice Explainations
@harrygarala4119
@harrygarala4119 5 жыл бұрын
Excellent
@davidjackson148
@davidjackson148 5 жыл бұрын
Thanks for that very useful, but you don't show how to retrieve the value and display in on a view :(
@Csharp-video-tutorialsBlogspot
@Csharp-video-tutorialsBlogspot 5 жыл бұрын
Hello David - I think we discussed this in one of the future videos. Not sure which one. You can find all the videos in logical sequence at the following link. Hope this helps. www.pragimtech.com/courses/asp-net-core-mvc-tutorial-for-beginners/
@JuanSebastianR21
@JuanSebastianR21 3 жыл бұрын
master ! ! !
@ivandrofly
@ivandrofly 5 жыл бұрын
Thank you sir!
@maradasa985
@maradasa985 2 жыл бұрын
Sorry but what if I have several kind of users with specific data?
@sondrehyland3818
@sondrehyland3818 4 жыл бұрын
This does not work with Visual Studio 2019... Used a good hour and a half trying to figure out what to do.... Greate tutorial, works fine in 2017
@conaxlearn8566
@conaxlearn8566 4 жыл бұрын
Arlind is right. It works for me in VS2019 also. What's not working for you?
@mdsaddamkhan8400
@mdsaddamkhan8400 4 жыл бұрын
@@conaxlearn8566 I am getting red squiggly under AppDbContext After adding Identity Can you help me please
@conaxlearn8566
@conaxlearn8566 4 жыл бұрын
@@mdsaddamkhan8400 Hi friend, can you please: 1. Tell me which part of the video you are having trouble with, please provide the time line in hh:mm format. 2. Check what the lightbulb tells you when you hover over the squiggly? 3. Try to build the project and let me know what error messages you get. I'll see if I can figure out anything.
@mdsaddamkhan8400
@mdsaddamkhan8400 4 жыл бұрын
@@conaxlearn8566 1.In 7:25 part of the video I am having problem when I include public class AppDbContext : IdentityDbContext I am getting red squiggly under AppDbContext . 2.when I hover Over the mouse I m getting this information The type 'EmployeeManagement.Models.ApplicationUser' can not be used as a type parameter 'TUser' in the generic type or method 'IdentityDbContext'.There is no implicit reference conversion from 'EmployeeManagement.Models.ApplicationUser' to 'Microsoft.AspNetCore.Identity..IdentityUser' 3.The error message is same as I have mentioned in point 2
@conaxlearn8566
@conaxlearn8566 4 жыл бұрын
@@mdsaddamkhan8400 Ok, go to your ApplicationUser.cs and make sure your class is inherited from IdentityUser. public class ApplicationUser : IdentityUser { public string City { get; set; } }
@papoo1393
@papoo1393 4 жыл бұрын
hi thnak you for your lesson can you please update this video to asp.core 3 the only model i have is {error view models} and its diffrent
@KNAIN420
@KNAIN420 4 жыл бұрын
I don't have account controlelr : ( and i have individual authentication
@amirhanna6270
@amirhanna6270 2 жыл бұрын
very good
@MmMm-tg5mq
@MmMm-tg5mq 5 жыл бұрын
nice video
@duba_official
@duba_official 5 жыл бұрын
Can't wait for you to get to Roles. And please, when you get to them, would kindly show implementation on ASP.Net Webforms not MVC/Core
@samuelw5860
@samuelw5860 4 жыл бұрын
Thank you
@coolwaterdvr
@coolwaterdvr 3 жыл бұрын
🙏🙏🙏🙏🙏
@manjurenjith8377
@manjurenjith8377 5 жыл бұрын
Sir, can you make complete tutorial for making asp. net project samples for final year students
@alamsetigourikumar5497
@alamsetigourikumar5497 5 жыл бұрын
Please record some react and redux video tutorial.
@harrygarala4119
@harrygarala4119 5 жыл бұрын
try to start Q#
@menaf77
@menaf77 5 жыл бұрын
Excellent
@nicholasdunkley2189
@nicholasdunkley2189 3 жыл бұрын
Thank You
Creating roles in asp net core
12:20
kudvenkat
Рет қаралды 134 М.
Automatically Register Minimal APIs in ASP.NET Core | REPR Pattern
11:55
Milan Jovanović
Рет қаралды 16 М.
Mom Hack for Cooking Solo with a Little One! 🍳👶
00:15
5-Minute Crafts HOUSE
Рет қаралды 23 МЛН
IL'HAN - Qalqam | Official Music Video
03:17
Ilhan Ihsanov
Рет қаралды 700 М.
Don’t Choose The Wrong Box 😱
00:41
Topper Guild
Рет қаралды 62 МЛН
Worker Services in .NET Core 3.0 - The New Way to Create Services
47:09
Edit identity user in asp net core
17:14
kudvenkat
Рет қаралды 53 М.
Implementing JWT Authentication in ASP.NET Core
23:51
Nick Chapsas
Рет қаралды 46 М.
Coding Short: Using Bearer Tokens in .NET 8 Identity
14:31
Shawn Wildermuth
Рет қаралды 30 М.
Edit role in asp net core
18:27
kudvenkat
Рет қаралды 69 М.
Solving one of PostgreSQL's biggest weaknesses.
17:12
Dreams of Code
Рет қаралды 220 М.
ASP.NET MVC - How To Implement Role Based Authorization
1:05:28
Digital TechJoint
Рет қаралды 72 М.
Manage user claims in asp net core
17:27
kudvenkat
Рет қаралды 66 М.
ASP.NET Core Crash Course - C# App in One Hour
1:00:44
freeCodeCamp.org
Рет қаралды 1,6 МЛН
Mom Hack for Cooking Solo with a Little One! 🍳👶
00:15
5-Minute Crafts HOUSE
Рет қаралды 23 МЛН