Thanks for your comment ❤️ the point was to create custom identity, just in case someone wants to do differently or add other stuff to it. In fact you don't need any extra API controller or endpoint when you use .Net identity because it comes with the necessary endpoints (as you know).
Hello bro, Yes why not. You can change or keep it that way, it doesn't matter. You configure The local server in the application for example in visual studio. In iis you just need to link the coming http request to your local server or the running active web server. I hope that it's clear.
You can log the data object to see if there is "errors" array or not. If it's null then you get that error. Check your object that you send from the visual studio
You can use jwt solutions for token based authentication. What is wrong with cookie based authentication? It's the most secure way to protect your website.
Hi bro, Without migration you will get errors. What kind of data do you have? Explain more in details so that I can give you a better solution. The database tables must match the models.
i want to create a website have a login /regester/and crud to add new users or delete them means i connect first as ana admin and add users to the site with name age ... and the email and password i create for them they can login with it after means if i login as an admin i can create the rest of the normal users can you do an example of that website or give me links for videos in your channel helps me
It's very simple: add roles for the users. Create admin page that only users with admin roles can see and can access and admin can add, update delete...data from the database. Normal users can only see their data but can't modify them. I have on this channel three other videos about crud operation in ASP .NET Core Web API and React with SQL database, the same course but with MongoDB database and another one is ASP .Net Core MVC with SQL database. All three courses are full stack crud projects. The only challenging thing for you might be to add roles and check the role of the user that is logged in. It's just if else statement. If the role is admin then display the admin page otherwise don't.
It's just a habit. For all JavaScript and typescript projects I like to use VS Code. Besides its user interface is simple, clear and it is lighter than VS.
@@vijai851 You are welcome. Visual Studio is a great powerful IDE. It's great that you are more comfortable with VS than VS Code. Everyone should use the code editor that is comfortable and simple to use. Enjoy coding!
@@CodingAqyanoos Okay great. Also, is there a way to contact you? I can get the register and login functionality working, but I continue to get a 404 error where database information is not being shown once logged in. Also , users cannot log out.
@@light-water probably it's because of the proxy. Check the proxy and then put a break point in your controller in VS to see whether it hits the break point or not. If it doesn't reach the break point then the problem is with the proxy or the end point url in your js fetch api.
You are welcome. The source code is under the source code on the website aqyanoos.com you can navigate via the footer of the website and also via the menu if you are using mobile device with small screen.
@@bhanukadayananda4510 actually it's very simple to do. By default everyone should be a regular user and then change the role for admins and managers,...
How to Upload Files to Server using React and ASP .Net Core Web API? Watch here 👇 ruclips.net/video/8d8GvhjltEs/видео.html
Thank you so much!! 💖💖 Your tutorial is very helpful 💪
You are welcome ❤
Greet video thanks
You are welcome ❤️
Cool tutorial. Why didn't you use the new API endpoints from MapIdentityApi instead of creating your controllers?
Would be easier no?
Thanks for your comment ❤️ the point was to create custom identity, just in case someone wants to do differently or add other stuff to it. In fact you don't need any extra API controller or endpoint when you use .Net identity because it comes with the necessary endpoints (as you know).
Thank you sir 🙏🙏
You are welcome
Hello my bro may I ask a question?
When I deploy to iis should I need to change proxy to target or just keep localhost :7239
Hello bro,
Yes why not.
You can change or keep it that way, it doesn't matter. You configure The local server in the application for example in visual studio. In iis you just need to link the coming http request to your local server or the running active web server. I hope that it's clear.
why there`s no souce code demo for this video ? do you have the direct download link?
It will come. Keep an eye on my website because I share the source code links on my website aqyanoos.com
It's now available on aqyanoos.com
how to solve this error even though i copied from github
TypeError: data.errors.forEach is not a function
at registerHandle
You can log the data object to see if there is "errors" array or not. If it's null then you get that error. Check your object that you send from the visual studio
how do i return the bearer token and get the authorization going with token instead of cookies
You can use jwt solutions for token based authentication. What is wrong with cookie based authentication? It's the most secure way to protect your website.
Please how to get myself started please explain
First create a project then follow along with the video.
Why can't you start? What holds you can't get started?
hi bro i already have data so i dont want to migrate so how to write code in backend pls help bro
Hi bro,
Without migration you will get errors.
What kind of data do you have?
Explain more in details so that I can give you a better solution.
The database tables must match the models.
i want to create a website have a login /regester/and crud to add new users or delete them means i connect first as ana admin and add users to the site with name age ... and the email and password i create for them they can login with it after means if i login as an admin i can create the rest of the normal users
can you do an example of that website or give me links for videos in your channel helps me
It's very simple: add roles for the users. Create admin page that only users with admin roles can see and can access and admin can add, update delete...data from the database. Normal users can only see their data but can't modify them.
I have on this channel three other videos about crud operation in ASP .NET Core Web API and React with SQL database, the same course but with MongoDB database and another one is ASP .Net Core MVC with SQL database. All three courses are full stack crud projects.
The only challenging thing for you might be to add roles and check the role of the user that is logged in. It's just if else statement. If the role is admin then display the admin page otherwise don't.
@@CodingAqyanoos thank you for the beautiful explanation
@@narayandhungel1117 You are welcome ❤
May I know why you are using Visual Studio code for react coding even if the project is created in Visual Studio
It's just a habit. For all JavaScript and typescript projects I like to use VS Code. Besides its user interface is simple, clear and it is lighter than VS.
Thank you.I am a .net developer and I like to use Visual Studio instead of VS code for React, hope that will be ok?
@@vijai851 You are welcome. Visual Studio is a great powerful IDE. It's great that you are more comfortable with VS than VS Code. Everyone should use the code editor that is comfortable and simple to use. Enjoy coding!
@@CodingAqyanoos Thank you
You should post the code to a Github repository my friend.
I think the source code is on GitHub. The link to the source code is on my website. If you want you can check it there. aqyanoos.com
@@CodingAqyanoos Okay great. Also, is there a way to contact you? I can get the register and login functionality working, but I continue to get a 404 error where database information is not being shown once logged in. Also , users cannot log out.
@@light-water probably it's because of the proxy. Check the proxy and then put a break point in your controller in VS to see whether it hits the break point or not. If it doesn't reach the break point then the problem is with the proxy or the end point url in your js fetch api.
@@light-water yes there is also a contact form on my website.
thanks for the video, can we have source code please ?
You are welcome.
The source code is under the source code on the website aqyanoos.com you can navigate via the footer of the website and also via the menu if you are using mobile device with small screen.
Why doesn't create database like this video? I can't solve this help me
@@kaveeshewaduge7159 like which video? What is the problem? Normally it's the easiest way to create a database.
How I can myself started please explain me please
What exactly is the problem? If you watch the video from the beginning then all you need to do is, to follow the video.
this video only have admin role login, can have role based login
@@bhanukadayananda4510 actually it's very simple to do. By default everyone should be a regular user and then change the role for admins and managers,...
how to connect sql server and how to view sql server
I have two other full courses. There you learn all the CRUD operations with SQL server database, entity framework.
The first one is ASP .NET Core MVC full stack CRUD: ruclips.net/video/b7HCZJlchas/видео.html
The Second one is REACT.JS with WEB API and SQL server database: ruclips.net/video/EJgzPBO2juM/видео.html
sourcefile?
@@giulio7288 you can find it on my website aqyanoos.com
Source code plz
I will share the source code on GitHub. Then I will share the link on my website aqyanoos.com
It's now available on Aqyanoos.com