Use ASP.NET Identity on existing DB-Model PART 1

preview_player
Показать описание
Рекомендации по теме
Комментарии
Автор

I rarely leave comments and interact on YT, but man this is gold! I couldn't find a solution for this anywhere and I stumbled upon this! Thank you!!

leozarkovic
Автор

I want to say thank you Mr. Schmidt. I read so many tutorials about connecting DB to Identity 2.0 but always I was unable to finish it completely. Your learning is perfect. Finally I did it with your help.

hamedrezaei
Автор

Very good... Awesome. I searched a lot to find such a pretty nice video. Thank you.

atefehmohammadpoor
Автор

Awesome video!! i've been searching something like this for 2 weeks ! keep up the good work!

VladTriesCoding
Автор

Hi Alexander,
Thanks so much for this tutorial!!!
Excellent!!! Very Very Helpful!!!
I'm working in Identity 2.2, and it's a little different (I know you were working in the beta version), but I was able to figure it out with the basics of this tutorial!!!
Mahalo! (Thank you!)

kelvin_digital
Автор

Hi Alexander,
awesome video...one small query:
you are using version 2.0.0-alpha1(Prerelease) and in it the IdentityUser<> has few extra fields which needs to be added to the User table...however in the stabe version of 2.0.1 there are lot more extra fields do we have to add all of them in User table or there is any workaround? please suggest

priyamsaha
Автор

Thanks a lot this is the best tutorial I've seen regarding this topic !!!

lexxizzle
Автор

Thanks, that video cleared my doubts. I wanted to implement Identity in new project and bit worried of its customization capability

jaskevs
Автор

Hi Alexander.
I am following same but I am not able to resolve particular issue is..

public static ApplicationUserManager options, IOwinContext context)
{
//var manager = new ApplicationUserManager(new
var manager = new ApplicationUserManager(new UserManager<EBuilderUesr, string>(new UserStore<EBuilderUesr, AspNetRole, string, AspNetUserLogin, AspNetUserRole,

>())));
public static ApplicationUserManager options, IOwinContext context)



{


//var manager = new ApplicationUserManager(new

var manager = new ApplicationUserManager(new UserManager<EBuilderUesr, string>(new UserStore<EBuilderUesr, AspNetRole, string, AspNetUserLogin, AspNetUserRole,

}

can you help me on how to resolve this is MVC 6 VS 2015CTP.

lordistinfotech
Автор

What if i don't want to change/extend the IdentityUser? if i just want to merge the identity database with my model database as it is without mapping anything? It should be much simpler right? But unfortunately i still get the error at 15:24... Also where did you get the script at 16:35?

metallicarula
Автор

Hi Alexander, I'm new to ASP.Net Identity especially when using existing db.
in ur video i'd like to ask on minute around 33.43, why u used another connection when the actual db connection is AuthEntities ? and if we used the other connection, what was the impact on that particular connection ? im sorry, im still not clear about ur explanation.

And one more thing, on the beginning of the video, the default connection contain about 5 tables. if we have only 2 tables, and we would like to custom asp.net Identity to our db, do we really have to add the other 3 tables that not exist in our db ?

Big Thanks :D

ianoctobear
Автор

very nice. detailed explained. thank you so much.

shaileshrv
Автор

Ein sehr gute Lernprogramm, vielen dank! :) 

Chogath
Автор

Hi I am getting an error "Name can not be null or empty" actually I don't have a column Name. can u please tell me what is the reason for error or I am Missing anything

menduchaitanya
Автор

Hello Dude
Thanks for your free and HELPFULL Videos I use these
VS 2013 Update4
.Net 4.5
EF 6.0
MVC 5.2.3.0
and made a Solution with Identity2
but my AccountController Codes are very different from what you have

[Authorize]
public class AccountController : Controller
{
private ApplicationSignInManager _signInManager;
private ApplicationUserManager _userManager;

public AccountController()
{
}

public userManager, ApplicationSignInManager signInManager )
{
UserManager = userManager;
SignInManager = signInManager;
}


and so on...
which Versions do you used and teach ?

ArashZandi
Автор

Hello, very good video, help me a lot greetings from colombia, my friend

andresalbertolealmaldonado
Автор

Hello,
thanks for this helpful video, but i did not work anymore ...
I'm about to graduate and i should finish my final project (MVC ASP.NET BOOKS LIBRARY) ...
So please if you can make another video, that's will help me a lot, cause i tried ur code and way, it's not working any more

firasads
Автор

Hi, can you give the code for the query of the tables?

markjosephbarrera
Автор

can you show to us the database schema of your existing database .. the data type.. tnx for the tutorial

denniscual
Автор

Thank u!could u help me with one problem please.i can't redirect to an action by their ROLE when user login

YerenKanat
join shbcf.ru