Asp.Net Core MVC & Identity UI - User Registration and Login

  Рет қаралды 198,055

CodAffection

CodAffection

Күн бұрын

Пікірлер: 152
@CodAffection
@CodAffection Жыл бұрын
goo.gl/RFY5C2 : Subscribe to CodAffection goo.gl/bPcyXW : Buy me a Coffee bit.ly/36IA1cH : MVC CRUD bit.ly/39B6xdh : Image Upload & Retrieve in MVC bit.ly/2yEPlpB : Convert MVC to Single Page with Ajax
@leroyvan7357
@leroyvan7357 Жыл бұрын
awesome
@Johnl.jpg1
@Johnl.jpg1 4 ай бұрын
Please make more tutorials like this, I believe many people, including myself found it useful and would appreciate your efforts!
@CodAffection
@CodAffection 4 ай бұрын
Sure. working on such a tutorial.
@Johnl.jpg1
@Johnl.jpg1 4 ай бұрын
@@CodAffection Thank you very much :)
@games5fun
@games5fun Жыл бұрын
Perfect tutorial .. probably the best that explains easily the registration and login using identity. It will be very useful if you could make videos for role based and email verification as well .. keep up the good work & thanks again
@CodAffection
@CodAffection Жыл бұрын
Thanks for your kind words. Will consider your suggestion in future videos.
@robertkaramagi6801
@robertkaramagi6801 Жыл бұрын
Very perfect tutorial. It will be good if you may take us through adding 2FA, Email Verification, and other useful security features in your upcoming videos.
@angelsalazarrocha5448
@angelsalazarrocha5448 Жыл бұрын
I think it's a good idea to continue with the project! It will help a lot to see how these tools are used
@alexrippe2791
@alexrippe2791 8 ай бұрын
if you're having issues trying getting the tables to migrate to the database you need to modify the json file where he has "Server=(Local)\\sqlexpress". this will be the name of you server. open SQL server management studio and on the login screen you will see Sever. That is what needs to go there. everything else is the same
@AroshiPeiris
@AroshiPeiris Жыл бұрын
yeah please extend this project with crud operations with a dashboard but without using any templates like syncfusion. :) Thumbs up! this is a great tutorial i have ever seen. awesome explanation.
@FnOTradingLearner
@FnOTradingLearner Жыл бұрын
With wonderful efforts to continue you can make videos of same thing of user authentication with roles and areas with different concepts like MVVM or MVVMS or MVC or MAUI or MAUI BLAZOR Hybrid etc. Means same thing with different methods and techniques and technology. Thanks for wonderful efforts.
@CodAffection
@CodAffection Жыл бұрын
Good suggestion and thanks for your wonderful feedback.
@alfiyakhanum3257
@alfiyakhanum3257 Жыл бұрын
the perfect channel for beginner ultimate🔥
@CWCNS
@CWCNS Жыл бұрын
The best explanation I’ve seen! Good job 🎉
@angelsalazarrocha5448
@angelsalazarrocha5448 Жыл бұрын
El tutorial llegó en el momento correcto y justo en el que lo necesitaba 🌟, tiene poco tiempo así que si hubiese necesitado de él a principios de año, estuviese perdido
@lafabricadetuweb
@lafabricadetuweb 7 ай бұрын
Me gustaría importarme las tablas del tutorial a sql server. Por favor, ¿sabes donde se podrían descargar? Gracias
@unbelievableboy6892
@unbelievableboy6892 6 ай бұрын
Amazing tutorial we need more of this topic
@fired_developer
@fired_developer Жыл бұрын
2-Factor Authentication and Profile Management please! 🙏
@gabrielabarrera141
@gabrielabarrera141 Жыл бұрын
thank you so so much for this tutorial!!! I've been searching how to make the login to begin to login page and redirections flow.
@pearlsmine583
@pearlsmine583 Жыл бұрын
Thank you so much very very helpful tutorial. It will be good if you may take us through adding 2FA, Email Verification, and other useful security features in your upcoming videos
@GTMixRadio
@GTMixRadio Жыл бұрын
Hello, thank you for taking the time to present this tutorial worked very great for me. I have a working login and register page...I am having trouble adding other pages, i.e, About us, and other pages
@ZeeshanAhmad-mp8qt
@ZeeshanAhmad-mp8qt Жыл бұрын
Thanks amazing explanation and very easy to understand
@CodAffection
@CodAffection Жыл бұрын
Glad to hear.
@musazaidi110
@musazaidi110 8 ай бұрын
Bro this Video is Seriously Love
@mphikelelimbongiseni6277
@mphikelelimbongiseni6277 Жыл бұрын
Wow the video was very informative and enjoyable that you
@saisho5545
@saisho5545 Жыл бұрын
Thank you very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very much.
@arizal_andara
@arizal_andara Жыл бұрын
I can't add identity there was error: there was an error running the selected code generator: 'package restore failed. rolling back package changes for 'auth system'
@dmsanz_youtube
@dmsanz_youtube Жыл бұрын
Really good explanation!
@ronaldjohnson4470
@ronaldjohnson4470 Жыл бұрын
Awesome tutorial, thank you.
@CodAffection
@CodAffection Жыл бұрын
Glad you think so.
@rayzhu2105
@rayzhu2105 11 ай бұрын
amazing video
@chedlyhazgui1999
@chedlyhazgui1999 3 ай бұрын
perfect tutorial man thanks for the help
@CodAffection
@CodAffection 3 ай бұрын
Any time
@suruurism
@suruurism Жыл бұрын
We are waiting the Upgraded version of this User Registration and Login thank you
@farheenrehman2921
@farheenrehman2921 10 ай бұрын
Hi, I tried with the way shown in video, but my scaffold-ed login view is not getting reflected, Could you suggest what could be reason
@BeastsOfDread
@BeastsOfDread Жыл бұрын
at 14:27 how do you make the big "≠" sign or are im missing something?
@Son_faux012
@Son_faux012 Жыл бұрын
I am also looking for that sign
@hydrochloricac1d975
@hydrochloricac1d975 Ай бұрын
I'm also missing that sign
@Msyoutube38
@Msyoutube38 7 ай бұрын
Awesome tutorial man! I do have a question: When we add [Authorize] part to HomeController ho does it know where to redirect?
@deekusnotes3318
@deekusnotes3318 10 ай бұрын
Great tutorial. Can this be customised to use Postgres database?
@MTSightseeing
@MTSightseeing Жыл бұрын
Hi please make a video on authentication and authorization using dotnet core 7 api and identity management
@CodAffection
@CodAffection Жыл бұрын
Sure.
@otabekrustamov3523
@otabekrustamov3523 Жыл бұрын
You're the best bro!
@fl6x
@fl6x 5 ай бұрын
Thank you very much soo please How can I merge this to an existing project
@IsaacNichols1
@IsaacNichols1 6 ай бұрын
Good stuff. I'm trying to add this after i have already made model classes for user etc. How can i make it use that class?
@alexy3637
@alexy3637 Жыл бұрын
Great content, thank you!
@attilaguba856
@attilaguba856 Жыл бұрын
Excellent tutorial as usual! It would be amazing if you can make a step by step Role based ( super-admin, admin, user), Email confirmation ( which is the best SMTP for production , not too expensive??? ), Google, Facebook authentication, and CRUD operation for User by Admin . And also make the project publish through FileZilla let us say IONOS hosting with SQL Server! I could make a financial support one to one lesson , could I get a contact with you ?
@mspinaydev
@mspinaydev Жыл бұрын
I have a problem for executing Update- Database
@TotoPopo-q8e
@TotoPopo-q8e 11 ай бұрын
Hi your video is very helpful can you please make a tutorial of how to implement tailwind css into a .net 7 mvc application ?
@ellonmusketwannabe2201
@ellonmusketwannabe2201 Жыл бұрын
What is that 3 vertical lines with slash in the middle at 14:20 ?
@ellonmusketwannabe2201
@ellonmusketwannabe2201 Жыл бұрын
nvm i figured it out, its basically !== -1
@hydrochloricac1d975
@hydrochloricac1d975 Ай бұрын
@@ellonmusketwannabe2201 You saved me
@phatson5130
@phatson5130 Жыл бұрын
That's so great. Can you make a video with more permissions?
@xeebodog
@xeebodog 10 ай бұрын
next step, I noticed the Phone Number is not displayed once populated in the Index "profile" page. Would like for that to show from the db.
@王智立-i8m
@王智立-i8m Жыл бұрын
謝謝你的教學視頻。
@amitkbirla
@amitkbirla Жыл бұрын
At 13:12, you have css in the site.css file. Can you please share
@anudhaathrisblog9116
@anudhaathrisblog9116 6 ай бұрын
Yes, it helped me alot, I need existention of this, to whom I need help
@SheenaOrioque
@SheenaOrioque 8 ай бұрын
A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections. (provider: SQL Network Interfaces, error: 26 - Error Locating Server/Instance Specified) how to fix this? Please help
@kuzco7061
@kuzco7061 11 ай бұрын
14:22 how did you make that different symbol?
@TensaeGirmaSeifu-hu1iq
@TensaeGirmaSeifu-hu1iq 5 ай бұрын
Super !!!!!!!!!!!!!!!!!!!!!!!!!!!!!
@CodAffection
@CodAffection 5 ай бұрын
Glad you found it helpful
@tajuddinidrisi6610
@tajuddinidrisi6610 10 ай бұрын
thanks for this video
@gl5717
@gl5717 Жыл бұрын
Boom! 😄 Brilliant.
@programmer5838
@programmer5838 5 ай бұрын
By Update-Database step I am getting this error A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections. (provider: SQL Network Interfaces, error: 26 - Error Locating Server/Instance Specified)
@adee1baig
@adee1baig Жыл бұрын
Fantastic utility built in no time... Yes! certainly would like to see more features added to it e.g forgot password and confirmed email, also if possible kindly guide us how can we include this utility into an existing project without having to build it from scratch. Many Thanks.
@CodAffection
@CodAffection Жыл бұрын
Sure, we'll extend this project by adding suggested features.
@meetpatel1032
@meetpatel1032 Жыл бұрын
In my register.cshtml is not available while I am fetching pages & in your video it is showing at 5:47 minute. So what to be done now OR what is the solution?
@xeebodog
@xeebodog 10 ай бұрын
amazing tutorial, thank you! I'm currently trying to determine how to make that logout button in the navbar dynamic so that it shows login when signed out. Any suggestions?
@xeebodog
@xeebodog 10 ай бұрын
in loginpartial.cshtml just made an if/else statement like this and it works @if (SignInManager.IsSignedIn(User)) { Hello @UserManager.GetUserName(User)! Logout } else { Hello @UserManager.GetUserName(User)! Login }
@TheKali2rk
@TheKali2rk 4 ай бұрын
Please provide two factor authentication and reset password video
@iviwemndi176
@iviwemndi176 Жыл бұрын
Great Tutorial🙏, but you lost me at 14:18. Can someone please fill me in? What happened?
@ntsako3475
@ntsako3475 Жыл бұрын
Having problem with Update Database. Im using azure sql for database
@anime-dx4tz
@anime-dx4tz Жыл бұрын
Please make a full User management system
@Shonkss3D
@Shonkss3D Жыл бұрын
Hi CodAffection, First of all, thanks for the tutorial! Quick and easily explained. One Q however. As per default identityserver takes your email-address as your username, now i've been toying around a little bit to enable the users to log in with their set username instead of email and display it on the top right. Allready tried to set a username and that worked, but then I was unable to log back in with the account... Any idea on where to find a good documentation about this or do you know the fix to this?
@twistedsteeltv6130
@twistedsteeltv6130 9 ай бұрын
How did you change it and did you resolve the issue?
@juraci73
@juraci73 Жыл бұрын
Muito bom, como sempre
@michealojo
@michealojo Жыл бұрын
Thank you so much for the video really helpful. How do I fetch the newly created first name and last name for the created user
@CodAffection
@CodAffection Жыл бұрын
It's there inside registration page here : bit.ly/3LDospx or you might be looking for this. to get the last inserted user, try this inside Registrer page, OnGetAsync method. var NewlyCreatedUser= _userManager.Users.OrderByDescending(u => u.Id).FirstOrDefault();
@michealojo
@michealojo Жыл бұрын
@@CodAffection thank you so much, is it the same for logged in user?
@CodAffection
@CodAffection Жыл бұрын
@@michealojo yes.
@hujintao6862
@hujintao6862 Жыл бұрын
Great tutorial, wondering if it's possible to replace the password with a code that is sent to the users email instead? Each time the user wants to login, a code is sent to their email that is useable for 2 min.
@ovallefdz
@ovallefdz Жыл бұрын
hi, when i was trying to run the update command on the console, i didn't get a error but also any database on sqlserver so i deleted \\sqlexpress on my connection string, and it worked. just want to let you know if someone's got the same issue.
@joegreen427
@joegreen427 10 ай бұрын
boom Love it!
@ProtikPC_pro_indigo
@ProtikPC_pro_indigo Жыл бұрын
Hello Codaffection -- Could you plz do a demo for -- Angular and .NetCore 6/7 jWT Authentication Authorization and Members' Area[secure data from api] ? I am searching for 1 such extensive and complete example but haven't found any till now. It would be a great help. Looking for some assistance. Kindly reply
@CodAffection
@CodAffection Жыл бұрын
sure, I thought about it. meanwhile you could check my videos with same topic in old version here (Angular 7, Web API). signup or user registration : bit.ly/2Zcfurk login : bit.ly/2P0mcgl role based authorization : bit.ly/2GmF7dx Happy coding.
@ProtikPC_pro_indigo
@ProtikPC_pro_indigo Жыл бұрын
Thanks for the reply. Will eagerly await the mentioned demo discussion in your next one.
@rafaelpamatian
@rafaelpamatian Жыл бұрын
whats that not triple line operator used in script tag? can someone explain that thank you
@CodAffection
@CodAffection Жыл бұрын
I think I've seen what you are refering, I think it's my cursor upon a special symbol. could you give me the exact time?
@glauberataide1917
@glauberataide1917 Жыл бұрын
Thanks!
@CodAffection
@CodAffection Жыл бұрын
Really appreciated.
@Menkin1900
@Menkin1900 Жыл бұрын
Thanks for the efforts made. Please, if possible, I would like this example, but with Blazor and api jwt
@CodAffection
@CodAffection Жыл бұрын
You are welcome. thanks for the suggestion.
@gateone2140
@gateone2140 Жыл бұрын
Thanks for tutorial, I want to do this but with postgesql as database and MFA , can you make a tutorial
@dawoodahmad8243
@dawoodahmad8243 Жыл бұрын
I'm Interested in two-factor authentication
@CodAffection
@CodAffection Жыл бұрын
Keep in touch, we'll be putting up a list of suggested features for voting.
@poojithapalagani6352
@poojithapalagani6352 9 ай бұрын
Hi tried this but after runthe project I am not getting url only localhost I given perfect connects I am using version 8 can any one please help me on this
@adnan_tahir197
@adnan_tahir197 Жыл бұрын
i have a issue with connecting the database migration done update database done but database is not created in SQL server help
@AbderrahmaneChafi-z4o
@AbderrahmaneChafi-z4o Жыл бұрын
Hello, How can I define the Identity login page route as a default route on my web application ?
@murtazotoshniyozov4688
@murtazotoshniyozov4688 8 ай бұрын
awesome
@CWCNS
@CWCNS Жыл бұрын
In 23:52 Label element, why do you have to put "First Name " or "Last Name" as value, it’s no difference with or without,like email and password.
@civicsimohd
@civicsimohd 7 ай бұрын
can we use azure authintication with local db authorization ?
@Robitny
@Robitny Жыл бұрын
The connection string you have in the tutorial isn't working on my machine
@CodAffection
@CodAffection Жыл бұрын
Did you change the server instance name according to your sql server.
@anand.mohan1
@anand.mohan1 Жыл бұрын
Add-Migration Build failed how to solve ?
@gan9930
@gan9930 10 ай бұрын
more tutorials!
@Json-redbeef
@Json-redbeef Жыл бұрын
how to switch the navigation reg/login without reloading the page every time?
@kiranoleti3653
@kiranoleti3653 10 ай бұрын
how to use PostgreSQL instead of sql server
@luisgamboa9141
@luisgamboa9141 Жыл бұрын
Hello great. On the other hand, Can i implement 'identity' in a existent aspnet web mvc project (-not core) or what alternative i have ?
@amitkbirla
@amitkbirla Жыл бұрын
I tried this solution. Does it generate JWT token with claims ?
@MrKukuri44
@MrKukuri44 8 ай бұрын
It doesnot work With .Net 8 I am getting bunch of Errors
@rauljeezy529
@rauljeezy529 Ай бұрын
~I'm currently in the middle of creating this type of project, when updating the database I encountered an error: "Keyword not supported: 'trustedservercertificate'.", can you please explain on how I can get through this.
@CodAffection
@CodAffection Ай бұрын
Use following connection string. "Server=(local)\\sqlexpress; Database=[DBNAME]; Trusted_Connection=True; TrustServerCertificate=True; MultipleActiveResultSets=True"
@imanbayat3550
@imanbayat3550 Жыл бұрын
ty for amazing video but when i try to Update appsetting.json with command Update-Database and put the AuthDbContextConnection to Server=(local)\\sqlexpress; i get this error {Error Number:-1,State:0,Class:20 A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections. (provider: SNI_PN11, error: 26 - Error Locating Server/Instance Specified)} plz help sir!
@CodAffection
@CodAffection Жыл бұрын
Did you modify the db connection string according to your sql server instance? what name you've given while installing the sql server on your system? try these resources to correct your db connection string. stackoverflow.com/a/10479937/4133590
@imanbayat3550
@imanbayat3550 Жыл бұрын
@@CodAffection i chosen the name . (Dot) while installing the sql server should i choose the the name . (Dot) ?
@CodAffection
@CodAffection Жыл бұрын
@@imanbayat3550 try it, if it is working go for it. althogh it is better to know the actual sql server instance name. did you try the given links.
@imanbayat3550
@imanbayat3550 Жыл бұрын
@@CodAffection thx maaaan :)
@danishshaikh1790
@danishshaikh1790 Жыл бұрын
A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections. (provider: SNI_PN11, error: 26 - Error Locating Server/Instance Specified) Got this error. Please help
@CodAffection
@CodAffection Жыл бұрын
make sure that there is no error in your db connection string.
@davidkovlak6188
@davidkovlak6188 Жыл бұрын
Is there a tutorial for Mac?
@mphikelelimbongiseni6277
@mphikelelimbongiseni6277 Жыл бұрын
How can I change the tables names according to my preference before Updating the database from "AspNetRoleClaims"? Because when I try to change them, the app doesn't recognise the new table name
@CodAffection
@CodAffection Жыл бұрын
where did you change the table name? it should be possible if you are doing it in the ef core framework.
@mphikelelimbongiseni6277
@mphikelelimbongiseni6277 Жыл бұрын
@@CodAffection I tried changing after Add-Migration but when I am testing the app, it keeps on looking a table named AspNetUsers to validate the credentials I am using to log in. Then when I am not changing any table, it works fine
@jong0153
@jong0153 9 ай бұрын
there is a .cs the data folder?
@FRANZICTSI
@FRANZICTSI 5 ай бұрын
Video is super great tutorial sign me app for more tutorial hoping you can give upcoming project practice thank you!
@arbity
@arbity Жыл бұрын
CAN I DO THIS ON NET 6.0????
@pavanvengalasetty3113
@pavanvengalasetty3113 4 ай бұрын
hi bro I am getting some error with connecting the data base server
@CodAffection
@CodAffection 3 ай бұрын
What is the error message?
@sandeepborade3156
@sandeepborade3156 Жыл бұрын
Im getting error invalid login attempt
@BoomiSivaranjani
@BoomiSivaranjani Жыл бұрын
Role authentication
@dr.furkhzeshan1426
@dr.furkhzeshan1426 3 ай бұрын
Good
@kholofeloklaas4467
@kholofeloklaas4467 2 ай бұрын
I had an error after entering an user to register. Error :26 error locating sever/Instance Specified
@CodAffection
@CodAffection 2 ай бұрын
Please check your connection string.
@kholofeloklaas4467
@kholofeloklaas4467 2 ай бұрын
You mean by "Sever=(local)\\sqlexpress;Database =
@CodAffection
@CodAffection 2 ай бұрын
@@kholofeloklaas4467 yes, change it according to your sql server connection details.
@vaibhavdobariya-b1k
@vaibhavdobariya-b1k 2 ай бұрын
i have error in connect to database
@CodAffection
@CodAffection 2 ай бұрын
What's the error message?
@pablojoaquinurbano8932
@pablojoaquinurbano8932 Жыл бұрын
Forgot password boss
@qwerty89993
@qwerty89993 Жыл бұрын
Thank you! attach a crypto-wallet address, it will make it easier for many to send thanks
@Hammersteyn
@Hammersteyn Жыл бұрын
WhaT?
ASP.NET Core Full Course For Beginners
3:43:18
Julio Casal
Рет қаралды 307 М.
За кого болели?😂
00:18
МЯТНАЯ ФАНТА
Рет қаралды 3,2 МЛН
How Much Tape To Stop A Lamborghini?
00:15
MrBeast
Рет қаралды 235 МЛН
Can You Find Hulk's True Love? Real vs Fake Girlfriend Challenge | Roblox 3D
00:24
Noodles Eating Challenge, So Magical! So Much Fun#Funnyfamily #Partygames #Funny
00:33
Implementing JWT Authentication in ASP.NET Core
23:51
Nick Chapsas
Рет қаралды 42 М.
OS'24: MS2 - MEMORY | ALL PARTS
1:32:29
Ahmed Salah ELDin
Рет қаралды 5 М.
User Registration in Asp.Net Core Identity
38:45
CodAffection
Рет қаралды 4,3 М.
Beginners ASP.NET Core Identity Tutorial
27:18
Code with Julian
Рет қаралды 44 М.
3. Look at the Project Dependencies
22:06
IT Pasanga
Рет қаралды 91
OAuth 2.0 and OpenID Connect (in plain English)
1:02:17
OktaDev
Рет қаралды 1,8 МЛН
За кого болели?😂
00:18
МЯТНАЯ ФАНТА
Рет қаралды 3,2 МЛН