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
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.
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
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.
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
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.
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
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
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.
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'
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 ?
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?
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)
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.
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?
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
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.
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.
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.
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();
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
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'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.
Use following connection string. "Server=(local)\\sqlexpress; Database=[DBNAME]; Trusted_Connection=True; TrustServerCertificate=True; MultipleActiveResultSets=True"
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
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
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
awesome
Please make more tutorials like this, I believe many people, including myself found it useful and would appreciate your efforts!
Sure. working on such a tutorial.
@@CodAffection Thank you very much :)
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.
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
Thanks for your kind words.
Will consider your suggestion in future videos.
I think it's a good idea to continue with the project! It will help a lot to see how these tools are used
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.
Good suggestion and thanks for your wonderful feedback.
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
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.
The best explanation I’ve seen! Good job 🎉
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
Me gustaría importarme las tablas del tutorial a sql server. Por favor, ¿sabes donde se podrían descargar? Gracias
2-Factor Authentication and Profile Management please! 🙏
the perfect channel for beginner ultimate🔥
Amazing tutorial we need more of this topic
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
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.
Thanks amazing explanation and very easy to understand
Glad to hear.
Awesome tutorial, thank you.
Glad you think so.
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.
Bro this Video is Seriously Love
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
perfect tutorial man thanks for the help
Any time
Wow the video was very informative and enjoyable that you
Really good explanation!
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'
amazing video
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
Awesome tutorial man! I do have a question: When we add [Authorize] part to HomeController ho does it know where to redirect?
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 ?
I have a problem for executing
Update- Database
You're the best bro!
at 14:27 how do you make the big "≠" sign or are im missing something?
I am also looking for that sign
I'm also missing that sign
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?
14:22 how did you make that different symbol?
At 13:12, you have css in the site.css file. Can you please share
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.
Great content, thank you!
Great tutorial. Can this be customised to use Postgres database?
Thank you very much soo please How can I merge this to an existing project
Hi please make a video on authentication and authorization using dotnet core 7 api and identity management
Sure.
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
}
What is that 3 vertical lines with slash in the middle at 14:20 ?
nvm i figured it out, its basically !== -1
@@ellonmusketwannabe2201 You saved me
We are waiting the Upgraded version of this User Registration and Login
thank you
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)
Boom! 😄 Brilliant.
Having problem with Update Database.
Im using azure sql for database
Great Tutorial🙏, but you lost me at 14:18. Can someone please fill me in? What happened?
Super !!!!!!!!!!!!!!!!!!!!!!!!!!!!!
Glad you found it helpful
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.
Sure, we'll extend this project by adding suggested features.
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?
How did you change it and did you resolve the issue?
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
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.
Thanks for the reply.
Will eagerly await the mentioned demo discussion in your next one.
Muito bom, como sempre
Hi your video is very helpful can you please make a tutorial of how to implement tailwind css into a .net 7 mvc application ?
whats that not triple line operator used in script tag? can someone explain that thank you
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?
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.
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?
Yes, it helped me alot, I need existention of this, to whom I need help
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.
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.
That's so great. Can you make a video with more permissions?
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
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();
@@CodAffection thank you so much, is it the same for logged in user?
@@michealojo yes.
thanks for this video
boom
Love it!
Hello, How can I define the Identity login page route as a default route on my web application ?
Hello great. On the other hand, Can i implement 'identity' in a existent aspnet web mvc project (-not core) or what alternative i have ?
謝謝你的教學視頻。
can we use azure authintication with local db authorization ?
Thanks for tutorial, I want to do this but with postgesql as database and MFA , can you make a tutorial
Please provide two factor authentication and reset password video
I tried this solution. Does it generate JWT token with claims ?
I'm Interested in two-factor authentication
Keep in touch, we'll be putting up a list of suggested features for voting.
how to use PostgreSQL instead of sql server
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
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
@@CodAffection i chosen the name . (Dot) while installing the sql server should i choose the the name . (Dot) ?
@@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.
@@CodAffection thx maaaan :)
~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.
Use following connection string.
"Server=(local)\\sqlexpress; Database=[DBNAME]; Trusted_Connection=True; TrustServerCertificate=True; MultipleActiveResultSets=True"
It doesnot work With .Net 8 I am getting bunch of Errors
The connection string you have in the tutorial isn't working on my machine
Did you change the server instance name according to your sql server.
Add-Migration Build failed how to solve ?
how to switch the navigation reg/login without reloading the page every time?
i have a issue with connecting the database
migration done
update database done
but database is not created in SQL server
help
Thanks for the efforts made. Please, if possible, I would like this example, but with Blazor and api jwt
You are welcome. thanks for the suggestion.
Please make a full User management system
Thanks!
Really appreciated.
there is a .cs the data folder?
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
where did you change the table name? it should be possible if you are doing it in the ef core framework.
@@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
Is there a tutorial for Mac?
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
make sure that there is no error in your db connection string.
awesome
Video is super great tutorial sign me app for more tutorial hoping you can give upcoming project practice thank you!
CAN I DO THIS ON NET 6.0????
more tutorials!
I had an error after entering an user to register. Error :26 error locating sever/Instance Specified
Please check your connection string.
You mean by "Sever=(local)\\sqlexpress;Database =
@@kholofeloklaas4467 yes, change it according to your sql server connection details.
hi bro I am getting some error with connecting the data base server
What is the error message?
Im getting error invalid login attempt
i have error in connect to database
What's the error message?
Good
Forgot password boss
Role authentication
Thank you! attach a crypto-wallet address, it will make it easier for many to send thanks
WhaT?