User Registration with Asp.Net Core Web API and Angular 7

Поделиться
HTML-код
  • Опубликовано: 1 фев 2025

Комментарии • 275

  • @CodAffection
    @CodAffection  6 лет назад +3

    goo.gl/bPcyXW : Buy me a Coffee
    goo.gl/3DefLb : JWT Login and Logout (Next Video)
    bit.ly/3zktP96 : Update to Latest Version Here
    bit.ly/3QiQOYw : CRUD Operations (Angular & .Net Core API)
    bit.ly/403lUVC : Asp.Net MVC with Identity Core
    bit.ly/3Ktqess : MEAN Stack CRUD
    bit.ly/47yygKq : (Angular & .Net Core API) More Videos
    bit.ly/4fSmgXP : React & .Net Core API Videos

  • @stephendemaine1426
    @stephendemaine1426 5 лет назад +2

    Great tutorial! I am quite impressed by the attention to detail. A couple of times I found myself looking to solve an issue as I was going along only to realize that the answer was sitting there a few moments ahead in the video. My rating of 10! Thank you for this great video.

    • @CodAffection
      @CodAffection  5 лет назад

      Glad you found the video helpful and thanks for your wonderful feedback!.

  • @noraifuru
    @noraifuru 5 лет назад +1

    Recently I've been very interested in .net core and thanks to your tutorials I've learned a lot about it.
    So thank you once again Sir, we appreciate the effort.

  • @omymma
    @omymma 6 лет назад +9

    Awesome as usual!. Please, more videos for "Asp.Net Core" because all the market going to this technology now. Also, 1 favor, if you can make a complete project with this technology, will be amazing. Thanks in advance.

    • @CodAffection
      @CodAffection  6 лет назад +1

      glad you found work helpful. I will consider your suggestion for future videos.

    • @PoulJulle-wb9iu
      @PoulJulle-wb9iu 4 года назад

      not really

  • @CodeWithJamil786
    @CodeWithJamil786 4 года назад

    sir i watched your video first time. You teach very good sir. just like that help us .

  • @ahmadfaiq85
    @ahmadfaiq85 5 лет назад +2

    I love how you pronounce period. Great quality work.

  • @coder5411
    @coder5411 6 лет назад +10

    I like the way u speak "Quick demo of this video tutorial"

    • @sas10x39
      @sas10x39 5 лет назад

      HAHAHAHA..yeah yeah.

  • @shrikantchavan6856
    @shrikantchavan6856 6 лет назад

    Thank you for creating the project, 3-4 days before same question i asked you in your old video comment section.

  • @leonardoperetti6911
    @leonardoperetti6911 5 лет назад

    Really very usefull tutorial to implement Identity with Angular 7.
    Thanks so much!

  • @girmamoges941
    @girmamoges941 5 лет назад

    Extremly helpfull, very structured, the word thank you onky may not describe I will chip in to your paypal account as soon as I complete all and get it working in my machine
    Again classic presentation to the point

    • @CodAffection
      @CodAffection  5 лет назад

      glad you found the video helpful and thanks for the support.

  • @hmjerrr
    @hmjerrr 5 лет назад +1

    Nice tutorial dude! Very helpful with the great explanation. Keep it up. Done subscribed to your channel.

  • @enmanuelr7
    @enmanuelr7 5 лет назад +4

    Booom! You're a crack! Greetings from Argentina!

  • @shiyamjannan7830
    @shiyamjannan7830 5 лет назад

    Nicely explained and easy to learn. Great Video! Good Job.

  • @gauravjoshi5054
    @gauravjoshi5054 4 года назад

    Thanks a ton man in one video learned many things. Respect your work 👏

  • @ЧеГевара-т6т
    @ЧеГевара-т6т 5 лет назад

    You are great, and you have a most interested chanel

    • @CodAffection
      @CodAffection  5 лет назад

      thanks for your wonderful comment.

  • @ariannehernandez9680
    @ariannehernandez9680 5 лет назад

    Keep up the good work! this will help a lot of people..

  • @777eldhose
    @777eldhose 3 года назад

    Nice video and well explained. Thanks for the video.

  • @NgocDucDo
    @NgocDucDo Год назад

    Thank you very much for your videos.

  • @aaronl8443
    @aaronl8443 5 лет назад +2

    Thank you for the great video.. I just have one question when I do "Add-Migration" MSSQL will be corrupted? cuz I lost my whole data.. do you mind what SSMS do you use? is there way for me not to affect other datas..?

  • @yeasinahmed4819
    @yeasinahmed4819 3 года назад

    You're just AWESOME BRO..

  • @_zapara_
    @_zapara_ 5 лет назад +1

    It is very useful video!!!! Thanks!!!

  • @attilaguba856
    @attilaguba856 3 года назад

    Great Tutorials! But could you help about when you add the connection strings , ConfigureServices and when you put the lambda function options=> options.UseSqlServer the corresponding using statement it doesn't come up just : change signature option! What should I put in the using System. ??? Many thanks

  • @mehdiws6927
    @mehdiws6927 5 лет назад

    Great video ! very clear tutorial, thanks !

  • @johnnguyen1655
    @johnnguyen1655 5 лет назад +1

    Thank you very much for great video. BTW i just confirm that in the confirmPassword validation, you will get error when you pass object {validator: this.comparePasswords} instead of {Validator: this.comparePasswords}(capital V char).
    everything else work perfectly well for me(tested on angular 7 ang web api core 2.2)

    • @CodAffection
      @CodAffection  5 лет назад

      thanks for the comment, I need to check that.

    • @johnnguyen1655
      @johnnguyen1655 5 лет назад

      @@CodAffection sorry that is my mistake, your code is correct. please skip my comment above.

    • @johnnguyen1655
      @johnnguyen1655 5 лет назад

      Actually I don't know why this morning I copy your code form github and it didnt work, I try to change the v to V and it work, now I come back to my project and it doesnt work, I back to your original code and it works now :)

  • @khaledfares4717
    @khaledfares4717 6 лет назад

    You are perfect , please upload login and logout video as soon as possible .
    very good job. thank you

    • @CodAffection
      @CodAffection  6 лет назад

      sure. glad you found the video helpful.

  • @skvidusharma4428
    @skvidusharma4428 5 лет назад

    great Tutorial as usual and is very helpful as well..Just one quick ques for Angular7 which version of nodeJS have you installed on your machine

    • @CodAffection
      @CodAffection  5 лет назад

      sorry, I don't remember. After this video I have updated node.js few times.

  • @nrk2892
    @nrk2892 4 года назад

    Thanks a lot sir, excellent training

  • @priankamondal8258
    @priankamondal8258 5 лет назад +1

    Very helpful for me

  • @joshdanga4121
    @joshdanga4121 4 года назад

    REALLY HELPED ME BRO!! KEEP IT UP!!

  • @edgarallanpoe18
    @edgarallanpoe18 2 года назад +1

    Thank you very much, it helped a lot.

  • @ScxttVX
    @ScxttVX 6 лет назад

    Simply perfect, congratulations on the work!

  • @shubhampahurkar298
    @shubhampahurkar298 3 года назад

    veryy helpful. Thanks a lot

  • @mindrapist3955
    @mindrapist3955 5 лет назад +1

    Love how you explain the details so fast and yet so clearly. I haven't finished it yet I'm stuck at 28:43 where the request should be successful. The columns UserName/Email/PhoneNumber are always NULL in the DB (NormalizedUserName = ANGELICARAMOS, UserName = NULL). It's been 2 days I'm searching the web for an answer but nothing so far so what am I supposed to do please? I'm using .NET Core v3.1 btw.

    • @umerqr
      @umerqr 5 лет назад

      i am stuck just right behind you! :D
      The response from server seems to be bad. "500 Internal Server Error" and Unable to resolve service for type 'Microsoft.AspNetCore.Identity.SignInManager`
      did you solve your problem?

    • @CodAffection
      @CodAffection  5 лет назад +1

      Might be due to version difference. I'll be create a full stack tutorial with Angular 9 and Web API in near future.

    • @umerqr
      @umerqr 5 лет назад

      @@CodAffection i have also not been able to add "identityDefault" like you used in the video. Even though its not depreciated. I have identity installed from nuget also. Super confused and no idea why its not showing up. It says "iservice doesnt contain the definition"...

    • @umerqr
      @umerqr 5 лет назад

      after 2 days finally found the solution and it was a damn easy 1! uhh, i just have to install Microsoft.AspNetCore.Identity.UI and it started working for me!

  • @harikrishnanr4808
    @harikrishnanr4808 4 года назад +2

    This works with Angular 10 also. I have tried it:)

  • @milad950
    @milad950 5 лет назад

    BOOOOOM! Thanks so much for these videos! Really helpful :)!

    • @CodAffection
      @CodAffection  5 лет назад

      glad you found this asp.net core tutorial helpful.

  • @hhcruz1999
    @hhcruz1999 3 года назад

    Does this follow database first approach. If not can you do a video which follows the database first approach

  • @tombradley6921
    @tombradley6921 5 лет назад +1

    Hi Great tutorial again, great fans, May I know how do you know which library and method to use in your videos, I wonder how u learn the significant number of method to use in the first place?, specially the depth knowledge of DependencyInjector

  • @philhearing3659
    @philhearing3659 4 года назад

    Thank you for your tutorial. God bless you!

  • @alibabascience9406
    @alibabascience9406 5 лет назад

    How are you Sir thank you for your hard-course its awesome, the background-color it will not be change !!! thank you

  • @fabiomotat
    @fabiomotat Год назад

    Man, you are good. ✌

  • @mrinvisible9078
    @mrinvisible9078 4 года назад +1

    I love your tutorials !! Is it possible to do the same with using IdentityServer ?

  • @rkrhythms9351
    @rkrhythms9351 4 года назад

    Thank you Sir.. This project was helpful

  • @jeremybarquero9748
    @jeremybarquero9748 3 года назад

    The best tutoria

  • @Thesuspense2427
    @Thesuspense2427 2 года назад

    Thanks a lot very useful

  • @girmamoges941
    @girmamoges941 4 года назад

    Is this very important sample example applicable to ASP.NET CORE 3.0 ANGULAR 8 ? If not what changes should be made.

    • @CodAffection
      @CodAffection  4 года назад

      I didn't try that. let me know if you face any problem.
      btw I'll be posting an article on this same topic with latest version of ASP.NET CORE and ANGULAR

    • @mdrakibhasan937
      @mdrakibhasan937 4 года назад

      @@CodAffection
      In ASP.NET Core 3.0, Entity Framework Core and Identity related packages have been removed from the Microsoft.AspNetCore.App metapackage. stackoverflow.com/questions/58090177/identity-asp-net-core-3-0-identitydbcontext-not-found

  • @anand1490
    @anand1490 4 года назад +2

    Could you do the same with Asp.Net Core 3? Much Appreciated. And am getting an error "Incorrect syntax near the keyword 'NULL'." once Update-Database command is executed. Please help me out. Thanks in advance

  • @tomczi_13
    @tomczi_13 3 года назад

    At 9:05 UseSqlServer remains underscored in red, what have you done there for it to disappear?

  • @Sawlytee
    @Sawlytee 5 лет назад

    Thanks for great tutorial!
    Could anyone explain what generates those response / error texts that are printed in console?

  • @SuperKrissful
    @SuperKrissful 4 года назад

    Great stuff
    keep it going

  • @russellkemmit73
    @russellkemmit73 5 лет назад

    Hey brother, so at 23:20 are we essentially creating a DTO, Data Transfer Object?

  • @Skia_
    @Skia_ 6 лет назад +12

    Hey mate,
    Why don't you create a full series on how to develop a complete e-commerce web app using the Angular and .Net stack?

    • @CodAffection
      @CodAffection  6 лет назад +8

      It's on my pending list. I'll try that later.

    • @souvikpodder7187
      @souvikpodder7187 6 лет назад +1

      @@CodAffection It will be really helpful for Beginners like me. C
      Can you do A video particular on Dependency Injection and involve SOLID PRINCIPLE in the project.

    • @nishanthkoneti1876
      @nishanthkoneti1876 4 года назад

      @@CodAffection buddy.. did u get a chance to work on this series? i mean to say ecommerce like @Skia mentioned?

  • @olatunjiewebiyi
    @olatunjiewebiyi 6 лет назад

    Fantastic Tutorial..It will be very nice if you can do a complete Solution using .NET Core and Angular7...e.g An E-Commerce Site

    • @CodAffection
      @CodAffection  6 лет назад

      thanks for your wonderful feedback, I will look into your suggestion.

  • @CCPony
    @CCPony 6 лет назад +2

    You are a VERY good presenter. Please advise how I can donate.

    • @CodAffection
      @CodAffection  6 лет назад

      thanks for the support.
      Paypal donation link : goo.gl/bPcyXW

    • @CCPony
      @CCPony 6 лет назад +1

      @@CodAffection Done. Keep up the great work. I'll happily continue payments.

  • @codeRS95
    @codeRS95 5 лет назад

    Hello sir, why have you created Form validation in Service layer instead of Component itself? Is it a good practice to create FormBuilder in Service layer?

    • @CodAffection
      @CodAffection  5 лет назад

      service formbuilder is more helpful if you want to share them in more than one component. other wise you can have formbuilder inside the component itself.

  • @mrinvisible9078
    @mrinvisible9078 4 года назад

    Thank you for your tutorials but I've a question. How to edit an existing user with .NET Core and Angular using Identity ?

  • @Elpodpod
    @Elpodpod 4 года назад

    Could you explain what's the porpose of appStructure?

  • @gyudhi
    @gyudhi 4 года назад

    excellent video - great job

  • @ShaikhAsifface2technology
    @ShaikhAsifface2technology 5 лет назад +1

    can you share any example with store procedure?

  • @trustingod0
    @trustingod0 6 лет назад

    Great Video !!! I was wondering why we no longer have to send an email to the registered user confirming that they are not a bot or confirming that they are a real person that registered?

    • @CodAffection
      @CodAffection  6 лет назад +1

      sorry already this part was long. let's try some another time.
      actually you can try that at your end.
      there a column for emailverification, initially you can reset it as false. then send an email with random generated query string with seperate web api method. inside the metod you set the emailverification column to true after verifying random query string(need to save during registration).

  • @dnyaneshawar1
    @dnyaneshawar1 5 лет назад

    Thank u for the awesome video explanation. can anyone one tell me which Visual studio version need to install i mean vs2015 or vs2017?

  • @makarovdmitrii
    @makarovdmitrii 3 года назад

    1:01:36 I get error " Object is possibly 'null' " because of ngIf, I'm using the latest angular, how can I fix it?

  • @saisreenivas2227
    @saisreenivas2227 6 лет назад

    Thank you sharing a lot of knowledge

  • @tombradley6921
    @tombradley6921 6 лет назад +1

    I wondering why are you not using material design for this project, thank you

    • @josephcadiao5751
      @josephcadiao5751 5 лет назад

      hard to watch the video using material since he's using bootstrap.

  • @OnlineZiggasa
    @OnlineZiggasa 4 года назад

    Great !! I want Social Login Authentication !!

    • @CodAffection
      @CodAffection  4 года назад

      Some another time with latest vetrsion.

  • @nisarahmad3370
    @nisarahmad3370 5 лет назад +1

    Thanks man for the effort .

  • @embaryarish
    @embaryarish 5 лет назад

    Hi, Thank you first,
    we can't use with repository pattern?

  • @saddamsayyad1
    @saddamsayyad1 4 года назад

    very helpful

  • @gleamofcolor
    @gleamofcolor 4 года назад

    Thanks for your organized example for implementing Ang 7 and .net core 2.2. can you please update this example with core 3.1 and Ang 9 or 10.

  • @kurtinflames2624
    @kurtinflames2624 6 лет назад +8

    could you record a video how to do it with JWT (with core)?

    • @CodAffection
      @CodAffection  6 лет назад +3

      I will cover that in next video as a continuation to this one.

    • @kurtinflames2624
      @kurtinflames2624 6 лет назад

      @@CodAffection thanks mate

    • @mohamedjemaii5292
      @mohamedjemaii5292 6 лет назад

      @@CodAffection
      please in your next tutorial, could you generate JWT with Idenity Server 4 & Identity Core
      Thanks in advance

  • @tongphou2920
    @tongphou2920 5 лет назад

    I have downloaded your example application and ported it to VS2019 and dotnet 3.1.
    My version does have 2 databases, yours (applicationUser) and mine which is a sample database to store fetch-data forecast. The CRUD for forecast fetch-data is working fine but not the login and register. Can you please reupdate your video with VS2019 (perhaps with 2 databases) please?
    Your video is awesome. I learned a lot from it.

    • @godofmage3120
      @godofmage3120 4 года назад

      actually i have the same problem :/

  • @jacob9347
    @jacob9347 6 лет назад

    Nice video, please create a video with Token Based Authentication in aspnet core. Thanks!!

  • @DONWARDSPIRAL23
    @DONWARDSPIRAL23 5 лет назад

    Great video, thanks a lot!

  • @DeepakSingh-bq6ox
    @DeepakSingh-bq6ox 5 лет назад +3

    Can you provide me the style.css file for this demo?

  • @АристархЗловредович

    Why you dont use public AuthenticationContext(DbContextOptions options)
    : base(options)
    ??

  • @vladeb1104
    @vladeb1104 3 года назад

    It is still possible to perform the video with Angular 12 :-) (with some small minor changes).

  • @MuhammadBilal-ly1ct
    @MuhammadBilal-ly1ct 6 лет назад +1

    Hello Sir! Great Chenal, I am your subscriber and new in asp.net. Sir, I am facing a problem in wpf app. I want to show a graph in a moveable and resizeable panel in Form. Kindly if u could help will b grateful.

  • @hassanangular7180
    @hassanangular7180 6 лет назад

    Thank you friend for all things. I have a question: Can I run ASP Net Core on Visual Studio Code (VS Code)?

  • @anasrasheed4422
    @anasrasheed4422 5 лет назад

    Thank you bro for the detail tutorial, can you please let me know how can i add more tables into the Identity Core web api so that i can create more apis for those tables. Thanks

    • @CodAffection
      @CodAffection  5 лет назад

      just use ef core . first create model class, then migrate.

    • @priyahariharan7420
      @priyahariharan7420 4 года назад

      @@CodAffection Could you please list out the steps to add this AuthenticationContext if I already have a migration present. I tried Add-Migration "ApplicationUser" -Context WebAPI.Models.AuthenticationContext but the console gives me a StackOverflow in red error after build succeeded.

  • @suryaguthula2671
    @suryaguthula2671 6 лет назад

    you are awesome bro.. thank you verymuch..great job.please make on Node js too.please..

    • @CodAffection
      @CodAffection  6 лет назад

      Thank for your wonderful feedback!, I will consider your suggestion for upcoming videos.

  • @Piotruch88
    @Piotruch88 5 лет назад

    Very nice! Thanks! :)

  • @deepwoodsengineering3763
    @deepwoodsengineering3763 5 лет назад +1

    You're a legend, buddy! #"Boooom"

  • @quirkie7019
    @quirkie7019 5 лет назад

    Hi . when i am trying to make the first post from POST man to the register route I am getting null values in parameters while debugging, even when i am passing values in request body. please suggest what i need to do to get parameter values to api.

    • @quirkie7019
      @quirkie7019 5 лет назад

      Solved it. I added [FromBody] to the PostApplicationUser parameters. In case anyone gets similar problem

    • @CodAffection
      @CodAffection  5 лет назад +1

      thanks for the information. let me know if you have any future video suggestion on angular or web api.

  • @zouhairettarak5006
    @zouhairettarak5006 6 лет назад

    Perfect , so much helpful

  • @amirsaleem4935
    @amirsaleem4935 4 года назад

    Hi will you be able to give tutorial one on one?

  • @akshaykwatra9770
    @akshaykwatra9770 4 года назад

    does it use MS-SQL for Database ??
    if not how can i use MS-SQL for Database in this?

  • @oddlogic1
    @oddlogic1 5 лет назад

    In registration.component.ts, I noticed that res.Succeeded and element.Code failed due to case sensitivity. Is there a setting that would eliminate these types of errors?

  • @rahavgautam5862
    @rahavgautam5862 4 года назад

    Sir , how can i make a login form without using jwt , just a normal identity? can you make a little video according to this project??

  • @truongle4761
    @truongle4761 5 лет назад +1

    thank you so much

  • @ahmederaqi
    @ahmederaqi 6 лет назад

    thank you very much for ur helpfull toturials
    but i want you to make video for crud toturias with upload attachment and imags ,
    thanks again man

    • @CodAffection
      @CodAffection  6 лет назад +1

      file upload will be covered in future videos.

    • @ahmederaqi
      @ahmederaqi 6 лет назад

      @@CodAffection thank you

  • @jameswersal4219
    @jameswersal4219 6 лет назад

    Thank you! Love your content

  • @kishanmodi4205
    @kishanmodi4205 4 года назад

    Thank you Sir, Most Use full this Video for me and Solve my All Douts, But One Error Are Come in build time So Please Suggest me.
    error TS2420: Class 'NgRedux' incorrectly implements interface 'ObservableStore'.

  • @mousumisatapathy1322
    @mousumisatapathy1322 5 лет назад

    Hi sir thank u for your tutorial.
    how to open your second project Angular7 in vs 2017.

  • @daviddonadze221
    @daviddonadze221 5 лет назад +1

    perfect. thank u so much.

  • @drakZes
    @drakZes 4 года назад

    But the problem is everytime you run your Angular project it gets a different host name and you hardcoded the one hostName in teh API. SO how do you detect hostName in teh API?

  • @CommsDanielHession
    @CommsDanielHession 5 лет назад

    that's weird that it doesn't validate properly. You had it "service.formModel.valid". it doesn't work for me. But when I try this "service.formModel.invalid" It works fine with the validations.

  • @dmdcollection6929
    @dmdcollection6929 5 лет назад +1

    Please make a video with email confirmation registration and reset password. Thank you very very mutch!

  • @carlosvillalobos1814
    @carlosvillalobos1814 4 года назад

    Can someone tell me if I can use the same project used in ANGULAR 7 CRUD WITH API, because of the projects names I am a little confused.

    • @carlosvillalobos1814
      @carlosvillalobos1814 4 года назад

      I mean, the ANGULAR 7 CRUD WITH API is a ASP.NET project and this one is a ASP.NET Core. I am new so I don´t know the differences very well. Now I see there is the same "ANGULAR 7 CRUD WITH WEB API" but ASP.NET Core, but even though I prefer not to change what I already did with ASP.NET if I can

    • @CodAffection
      @CodAffection  4 года назад

      Hope you can let me know if you face any problem.

  • @bijayshrestha7843
    @bijayshrestha7843 4 года назад

    why dont you use directly angular project instead of web-api project?

  • @NTC11111
    @NTC11111 5 лет назад

    Thanks, Please make a video about roles authorization, please. I'm looking for it

  • @KevinKoeppe
    @KevinKoeppe 5 лет назад

    Where do you got the Text in the appStructure.txt from?