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
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
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.
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.
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.
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
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
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
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
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'
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)
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 ?
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.
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
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.
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?
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.
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
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.
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
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?
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.
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?
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 }
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
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 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
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();
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!
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
I have issue regarding in AuthLayout whenever I build the project when on the page combining login page and register page. whenever I click on the login or register link shown upper on the card page it show the localhost:5156/identity/Account/Identity/Account/Login & localhost:5156/identity/Account/Identity/Account/Register instead of localhost:5156/identity/Account/Login & localhost:5156/identity/Account/Register what might be the issue of repeating the url . I tried to modify the link
@@darshanmahanubhav3170 Solve it by providing href="~/Identity/Account/Login" try ~ before /identity/account/login and also for register href=~/Identity/Account/Register"