Тёмный

List all users from asp net core identity database 

kudvenkat
Подписаться 834 тыс.
Просмотров 66 тыс.
50% 1

Опубликовано:

 

11 сен 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 42   
@amitarora8038
@amitarora8038 5 лет назад
Mr Venkat - You're an excellent teacher who not only covers things from basic to advanced but also ensures that things are stacked properly to build a project. Just wondering if you're considering a tutorial covering Core, Angular and Micro services in one solution.
@coder71pstu18
@coder71pstu18 5 лет назад
From beginning to this, every part of your ASP .NET Core I have covered. I wish you have to complete this tutorial with your best. Thanks...
@senolkurt7864
@senolkurt7864 5 лет назад
Dear Venkat, Thank you very much for the great tutorial. Would you please add a video explaning how to set up a multilayer Asp Net Core Project?
@jyotsnakumari6541
@jyotsnakumari6541 3 года назад
I saw this series from the beginning. Very informative. Can you please share few videos on .Net core web api's.
@AshutoshKumar-kt1dd
@AshutoshKumar-kt1dd 4 года назад
Great
@ghaziali3504
@ghaziali3504 Год назад
Love you hogya Venkat Jee
@kaushikchakraborty2153
@kaushikchakraborty2153 4 года назад
It's an excellent tutorial.
@sureshhalade
@sureshhalade 5 лет назад
Hello Venkat sir, First of all thanks a ton for posting this series. It is simply awesome like your other series. I have been following this series and all of practical hands on were correct so far until I hit a roadblock here with this video. I tried to copy paste all code from your blog but still its not working. For me Dropdown is not showing Users and Roles options when I click on "Manage" dropdown. Any advise on what could be the problem? Thank you.
@Csharp-video-tutorialsBlogspot
Hello Suresh - Can you please check the ASPNETCORE_ENVIRONMENT variable in launchSettings.json file. I have a feeling you might be missing the required jQuery or Boostrap jQuery files for the environment in which you are running. Can you please make sure this is not the case. Hope this helps. Would love to know what the actual issues.
@alessandromaiorano2371
@alessandromaiorano2371 5 лет назад
Hi, I have your same problem, I checked launchSettings.json but I think It's Not missing anything. Have you find a solution?
@alessandromaiorano2371
@alessandromaiorano2371 5 лет назад
I was into "provider" instead of "development"
@fabperez
@fabperez 5 лет назад
@@alessandromaiorano2371 In my case I was using Bootstrap 3.x libraries and I ended up using a slightly different html for the dropdown. Check out www.w3schools.com/bootstrap/bootstrap_navbar.asp Hope that helps
@donoboyle8718
@donoboyle8718 4 года назад
Make sure you include AFTER your Jquery elements in the _Layout view. NOTE: This is NOT the same as the element that includes bootstrap, you need both.
@ymtan
@ymtan 5 лет назад
Dear Venkat, Regarding the following code, I would like to ask what are aria-haspopup, aria-expanded and aria-labelledby Bootstrap 4 styling classes ??? Manage Users Roles
@nander21474
@nander21474 5 лет назад
ARIA (Accessible Rich Internet Applications) tagged classes provide support for accessibility devices used by people with disabilities.
@phanidivi3613
@phanidivi3613 5 лет назад
supb venkat sir ....no words
@sarahjaved7185
@sarahjaved7185 5 лет назад
Sir i have a question, 1. If we have autorized only Admin user to access creat emoloyee option and also all administration class action methods. What happens when the signed in admin Deletes the admin role in listrole view or remove itself from the admin role. How a new admin role can be created or how to add a user in admin role in that case?
@Csharp-video-tutorialsBlogspot
Hello Sarah - Great Questions. If we delete the Admin role, the respective User Role record is also deleted automatically, unless you have changed the foreign key referential integrity behaviour. The following video explains this in detail. ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-txTZAFut9mA.html How a new admin role can be created or how to add a user in admin role in that case As you know this is a bit tricky. Either temporarily remove the Authorize attribute and add the user to the Admin role. Or Manually insert a row in AspNetUserRoles table.
@chadlomax4500
@chadlomax4500 4 года назад
Thank you for these videos. The issue I have now is I'm using BlazorWasm and Server + Database w/ Identity. These don't have the code-behind files so it's a little bit different.
@carlosl8832
@carlosl8832 2 года назад
👍
@harithsufri7874
@harithsufri7874 3 года назад
Thanks sir
@sakthir3892
@sakthir3892 5 лет назад
Thank you so much sir..
@shahidwani6445
@shahidwani6445 5 лет назад
Thank you so much
@aznbuboa
@aznbuboa 4 года назад
9:03 Hi Venkat, could you please explain a little more about the USER object being used in the additional IF block? Where and how did we have that USER defined?
@javaguitarist
@javaguitarist 4 года назад
The Users object is part of the constructor of AdministrationController.cs by dependency injection. (UserManager userManager below) public AdministrationController(RoleManager roleManager, UserManager userManager)... In ListUsers: public IActionResult ListUsers(){var users = userManager.Users; return View(users); } he is passing UserManager.Users to the view as variable users. I hope that helps.
@sabinpradhan3861
@sabinpradhan3861 4 года назад
Where is the source code located? I cannot find the link on the descriptions of this video.
@faridfaiz11
@faridfaiz11 2 года назад
please Mr Venket can you heip me , i tried to do this but every time i run .. an error occured "ArgumentNullException: Value cannot be null. (Parameter 'source') " Occured ... i do not no where the mistake i copied you lterally the error in model.any()
@darkogele
@darkogele 4 года назад
How do i Take the users Async to list ? it seems there is no method that supports this
@taiwobabalola4188
@taiwobabalola4188 5 лет назад
Good tutorials. I tried the conditions log in on the layout view but not working. Also, when I log-in and want to access a controller with authorised attribute, I get redirected to login page again. Please how do I resolve this
@windthisheart
@windthisheart 4 года назад
i really wish there is a razor pages version to do this as well. kinda stuck with it
@jsdawoodahmed2931
@jsdawoodahmed2931 3 года назад
Hi sir, Can you please help me in knowing how to display logged user firstname instead of hello "mail id" please as i want to change the path in _layout.cshtml of asp.net core web app
@ransikerandeni9086
@ransikerandeni9086 5 лет назад
How to retrieve users based upon their user roles? for example user=Admin and user=User etc...
@JarlamDev
@JarlamDev 3 года назад
2021 Asp.Net Core 3.1: For invoke Identity Register for "Add new user": asp-area="Identity" asp-page="/Account/Register">
@saurabhverma3579
@saurabhverma3579 5 лет назад
please give us android tutorial ...
@javaguitarist
@javaguitarist 4 года назад
Hello, friends, and best wishes for your health. I am using VS2019 and started seeing this error when there were no coding errors: System.AggregateException: Project system data flow 'DataflowBlockSlim (ActionBlockSlimAsync`1 : 25702923)' closed because of an exception... I found out here: github.com/Microsoft/VSProjectSystem/commit/b513b6eb3f73cb4233d6da0dff1f9fa527a73f68 that it's a result of a proverbial "feature," and will go away if you do a Build/Rebuild Project. However I also needed to do a Build/Clean Project before doing the Rebuild before things started working again.