ASP NET Core Identity tutorial from scratch

ASP NET Core Identity tutorial from scratch

kudvenkat

5 лет назад

269,846 Просмотров

Ссылки и html тэги не поддерживаются


Комментарии:

@yassermian9913
@yassermian9913 - 01.05.2024 04:57

Nice video but where are other parts. We want them in sequence or in a play list.

Ответить
@Pan_Policjant
@Pan_Policjant - 17.02.2023 13:57

what is this outro music?

Ответить
@akhilkankran2067
@akhilkankran2067 - 14.02.2023 20:03

How can we run migration if DbContext file is in different class library

Ответить
@babajidafan4427
@babajidafan4427 - 30.07.2022 01:35

Please don't forget to change AppDbContext to IdentityDbContext, if you don't your migration will not work. I wasted my 2 hours to search what's the problem in my vs/code/system 😓😓😓😓 due to this silly mistake 😿

Ответить
@Chris-gv7cq
@Chris-gv7cq - 30.06.2022 05:23

if Microsoft.AspNetCore.Identity.EntityFrameworkCore does not work as it did not for me then...Install-Package Microsoft.AspNetCore.Identity.EntityFrameworkCore -Version 5.0.0-preview.3.20215.14 in package manager

Ответить
@Felix-og7pd
@Felix-og7pd - 23.04.2022 09:51

1. inherit from IdentityDbContext(to map user entity)
AddIdentity vs AddIdentityCore

Ответить
@xanhxanh5097
@xanhxanh5097 - 26.03.2022 23:59

Great tutorial man :)

Ответить
@rajabmuhamedrajab5128
@rajabmuhamedrajab5128 - 22.03.2022 23:37

Really Thanks so much

Ответить
@Beast1612
@Beast1612 - 30.11.2021 23:40

Good clear explanations. Thanks very much for this great content!

Ответить
@ganeshadak9082
@ganeshadak9082 - 24.11.2021 19:21

I am getting this error Method not found : 'Microsoft.EntityFrameworkCore.Metadata.Builders.IndexBuilder Microsoft.EntityFrameworkCore.Metadata.Builders.EntityTypeBuilder 1.HasIndex (System.Linq.Expresions.Expresion `1<System.Func`2<System.__Canon, System.Object>>)'.

Please help 🙏🙏🙏 to resolve that

Ответить
@rajeshmule7135
@rajeshmule7135 - 19.06.2021 14:17

from fresher to experience, from 5000 per month to 120000 per month this achievement because of you. only

Ответить
@garrettmatthews2489
@garrettmatthews2489 - 11.06.2021 03:55

I'm a student now, but in 10 years, once I'm filthy rich from my success, I'm flying you out to have dinner with me and my family

Ответить
@Supera45
@Supera45 - 26.05.2021 21:25

I am scanning QR code in my android phone and adding code back in application but still it is showing as invalid code. what can be possible issues

Ответить
@amitkbirla
@amitkbirla - 17.05.2021 19:27

Is there a way, I can add new table for keeping last 10 hash password so that user don't choose one of them, using identity ??

Ответить
@balsanbeniamin5519
@balsanbeniamin5519 - 29.04.2021 22:25

Hi I do have a question, when we create a new user, for example an employee makes a new account(register in application) the User table will get populated, but shouldn't employee table get also populated at the same time? That's were I'm confused.

Ответить
@CARDSSerus
@CARDSSerus - 27.04.2021 06:17

You're a life saver man. Every other tutorial I found never showed how to add identity to existing DBs

Ответить
@wassollderscheiss33
@wassollderscheiss33 - 20.04.2021 01:29

I already have a user store (i.e. User and Role tables) in my legacy application. I want to migrate to Identity for several reasons but obviously I have no use for the tables it depends on by default. What can I do?

Ответить
@kristiyanivanov7414
@kristiyanivanov7414 - 06.04.2021 20:51

Thanks sir, I wish you well

Ответить
@rohanthakur1673
@rohanthakur1673 - 31.03.2021 15:18

Great video, can someone please look into it, --> Error CS0119 'IdentityServiceCollectionExtensions.AddIdentity<TUser, TRole>(IServiceCollection)' is a method, which is not valid in the given context Project_Name.

Ответить
@tommyh3524
@tommyh3524 - 19.03.2021 04:58

Hi, kudvenkat, I'm wondering is there any way to override data access layer by ourselves? I wish to do the Identity stuff in my DAL then send a URL from my API layer, and the Service layer get the URL and render in my Client layer, but I couldn't find a way to replace the function doing by Identity itself.

Ответить
@iruesirionoro
@iruesirionoro - 22.02.2021 11:20

Thank you

Ответить
@sabitkondakc9147
@sabitkondakc9147 - 08.02.2021 21:02

Enchanting Tutorial, thanks a million as soon as I get my bulky salary I'll be donating your channel, your work is simply awesome!
In the meantime , Microsoft.AspNetCore.Identity.EntityFrameworkCore NuGet package should be added before moving further with IdentityDbContext.

Ответить
@paulc1197
@paulc1197 - 28.01.2021 15:35

Perfectly explained thanks

Ответить
@التاريخ-ح4ظ
@التاريخ-ح4ظ - 30.11.2020 19:53

Method not found: 'Microsoft.EntityFrameworkCore.Metadata.Builders.IndexBuilder Microsoft.EntityFrameworkCore.Metadata.Builders.EntityTypeBuilder`1.HasIndex(System.Linq.Expressions.Expression`1<System.Func`2<System.__Canon,System.Object>>)'. when i migration get this error

Ответить
@cymrucoder
@cymrucoder - 18.11.2020 14:01

Legend. Thanks so much for this series!

Ответить
@2005bgva
@2005bgva - 21.10.2020 23:23

Thanks for the video Kudvenkat. One question: you are using code first, but how to include Identity if you work with Database first solution?

Ответить
@luisgal93
@luisgal93 - 09.10.2020 06:08

Man you got a new subscriber. Thank you.

Ответить
@prasannahiremath442
@prasannahiremath442 - 04.09.2020 09:45

Hello Venkat,

Can we use our own tables instead of tables related to identity db context ? If yes, how to implement it ?

Ответить
@vivekgowda1576
@vivekgowda1576 - 21.08.2020 10:16

Getting error on Seed() "modelbuilder does not definition of the seed () in .net core" Please help on this

Ответить
@shabih001
@shabih001 - 17.08.2020 04:01

If anyone is getting error in inherting IdentityDbContext use it like this " public class AppDbContext : Microsoft.AspNetCore.Identity.EntityFrameworkCore.IdentityDbContext"

Ответить
@bennyadiwijaya1606
@bennyadiwijaya1606 - 08.08.2020 04:04

sir, how to implement more than one identity user, like identity for user, customer etc?

Ответить
@strandedpirate6346
@strandedpirate6346 - 04.08.2020 02:07

When it takes more than 100 videos on the same topic you know the framework is garbage.

Ответить
@ikennaezerebo709
@ikennaezerebo709 - 16.07.2020 22:20

First I want to thank you for your videos, I really appreciate it.
When i try to create migration i get this error
GenericArguments[0], 'Blog.Data.Repository.IRepository', on 'Microsoft.EntityFrameworkCore.Design.IDesignTimeDbContextFactory`1[TContext]' violates the constraint of type 'TContext'.
I have added as many using statement as i can relate to...although i have already made an Initial migration without hiccups.
I await your favorable response...stay safe

Ответить
@brianlaudrupchannel
@brianlaudrupchannel - 10.07.2020 23:51

anyway of putting identity in data access?

Ответить
@musandlala7991
@musandlala7991 - 09.07.2020 00:52

As usual, brilliant video

Ответить
@SakisKarasAW
@SakisKarasAW - 01.07.2020 17:45

Thank you sir excellent video!

Ответить
@vishalpatel3885
@vishalpatel3885 - 13.06.2020 23:38

Those who are facing EF migration problem
1. Install EntityFramework package
2. while executing command use EntityFrameworkCore\Add-Migration and EntityFrameworkCore\update-database
It would work

Ответить
@naodagere8210
@naodagere8210 - 19.05.2020 01:54

Thank you so much.

Ответить
@adelramadan7050
@adelramadan7050 - 13.05.2020 13:20

Hi @ kudvenkat
, Thank you on this wonderful tutorial ,I get on this message error when add this commend line "Update-Database" ->>[Index was outside the bounds of the array.
]

Ответить
@MrTotobey
@MrTotobey - 09.05.2020 13:58

you are the best brother. God bless you and your family

Ответить
@pylvr8021
@pylvr8021 - 02.05.2020 12:56

Is that asp. Net core 2 or 3.?

Ответить
@misenheimer_music
@misenheimer_music - 21.04.2020 16:28

@kudvenkat Great tutorial! Love all your videos. I'm still not exactly sure about one thing. Did you create your own User class with..password, email, etc. as properties BEFORE all of the configuration? Or are the "UserIdentity" tables created upon the migration the user entities themselves? I hope this makes sense.

Ответить
@tarcreations7110
@tarcreations7110 - 21.04.2020 12:31

Bro...... Thank you so muchhhhhhhh❤️❤️❤️❤️❤️❤️❤️❤️❤️

Ответить
@Husseinalsaeidi
@Husseinalsaeidi - 21.04.2020 03:04

Thanks for your videos , I have question, you used here Identity built in authentication technique , what about Owin authentication approach, and what are the cons and pros of each?

Ответить
@kareemkaram8391
@kareemkaram8391 - 15.04.2020 23:54

The most comprehensive tutorial I've seen about Identity whether paid or not

Ответить
@DecentProgrammer
@DecentProgrammer - 08.04.2020 11:29

Best tutor in the world.

Ответить