How to Connect Angular 13 Reactive Form to Backend? 2022 | ASP.NET Core 3.1 | Entity Framework Core

Поделиться
HTML-код
  • Опубликовано: 26 фев 2022
  • About the Video--------------------------
    In this Video, I have connected the register form to backend.
    we have created a database at backend using entity framework core.
    Watch the full video to know more.
    Designing Register form : • Registration Form usin...
    Adding Validators : • How to Add Validators ...
    Tags---------
    #angular, #angular13, #angular13forms, #angularreactiveform, #reactiveforms, #efcore, #aspnetcore
    #programming, #programmingtutorials, #tutorials, #frontend, #backend

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

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

    such a clear and conceptual video so nice of you

  • @AjayYadav-tw6sd
    @AjayYadav-tw6sd Год назад

    very helpful,
    amazing bro, you start from basics

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

    Your explain style is very smooth brother.... Really is amazing... Plz make more videos in this style ...on angular developer.... 👌🤗

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

    Quite helpful. Wonderfully explained.

  • @sanketvaidya2616
    @sanketvaidya2616 Год назад +1

    At least 50% of my Angular and Web aPI concepts are cleared and your videos are such a confidene boosters. Thanks a lot appreciate.

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

    I didn't understand a word you said but I could follow every step, what a beautiful universal language programming is.

  • @patelvivekshirinbhai5241
    @patelvivekshirinbhai5241 3 месяца назад

    thanks it worked but had some issue with the .Net version 8.0.1 with that service

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

    How to make get method using this angular connection for geting column of a tablein SQL like in this for post we used db context like those ... Can u suggest something plzzzzz

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

    How to update the particular user id if any button in angular has been clicked plz suggest meee smething

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

    mine "UseSqlServer " is giving error in startup.cs cant get that solve please tell what to do that

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

    Wn I did like u i was getting error of http error response and not able to connect my angular wth web api .. plz help mee

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

    Appreciate if the video with English Sub-title thanks

  • @subhashraikwar-sw3yk
    @subhashraikwar-sw3yk 9 месяцев назад

    I need your Class Sir

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

    Wish there was help available. In programming, once stuck, it is hard to get out and just give up ! Problem could be simple still sometimes it is frustrating.

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

    The I'd of particular user in SQL has to get updated

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

    Im getting error as microsoft.data.sqlclient.sqlexception:invalid column name in usercontroller file in if condition in create method

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

      Check the column name.... spelling might be wrong

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

    Sir kya ye 2012 me nhi hoga kya

  • @AnilKumar-nf7qk
    @AnilKumar-nf7qk Год назад

    How to get this source code

  • @alliswellthor5996
    @alliswellthor5996 Год назад +1

    Hi bro can you please share the source code

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

    Hello sir , I'm getting the second error of this video again and again i.e., frontend and backend is not connected what should I do ?

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

    I am getting undefined(reading 'post') error what I need to do.

  • @mindxcalm9818
    @mindxcalm9818 Год назад +1

    Simple solution for the below Error :
    Error : src/app/components/register/register.component.ts:62:9 - error TS2322: Type 'string | null | undefined' is not assignable to type 'String'.
    Type 'undefined' is not assignable to type 'String'.
    Solution : auth.service.ts >> instead of registerUser(user:Array)
    Use this registerUser(user:Array)
    Summary : Replace string with any

    • @ngohuy3041
      @ngohuy3041 8 месяцев назад

      You fix sample firstname => firstname!

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

    Forgot password ka ek video banao please bhai.

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

    This below error coming into : authService.resgiterUser Method
    Where we have declared the variable like :
    this.userEntryForm.value.firstName,
    this.userEntryForm.value.lastName,
    this.userEntryForm.value.address,
    message": "Type 'string | null | undefined' is not assignable to type 'string'.
    Type 'undefined' is not assignable to type 'string'.",
    Unresolved, Kindly Help

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

    I am not familiar with .Net configuration brother

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

    I am getting error in 30:10 from line number 50 to line number 55 in register.component.ts part can anyone guide please.

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

      Have you resolved this error ?

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

      It's been a while, but replace those 5 lines with:
      this.firstLast.value,
      this.email.value,
      this.sk.value,
      this.ls.value,
      this.pass.value

  • @koksiangkoh3401
    @koksiangkoh3401 Год назад +2

    get error as one:-
    Error: src/app/components/register/register.component.ts:62:9 - error TS2322: Type 'string | null | undefined' is not assignable to type 'String'.
    Type 'undefined' is not assignable to type 'String'.
    62 this.registerForm.value.firstname,
    how to solve it? thank you

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

      any solution?

    • @user-le1lq2fs3w
      @user-le1lq2fs3w Год назад

      Same error

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

      @@user-le1lq2fs3w see my comment below

    • @penugondaraghuram8120
      @penugondaraghuram8120 Год назад +6

      add FormGroup like this. registerForm: FormGroup = new FormGroup()

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

      I tried a different approach and it worked:
      1. create User.ts file in services, and create an interface with following code:
      export interface User{
      id:number,
      firstname:string,
      lastname:string,
      email:string,
      mobile: string,
      gender:string,
      pwd:string
      }
      2. In auth.service.ts, change register User method:
      import { User } from "./User";
      registerUser(user:User){
      return this.http.post(this._BASE_URL+"User/CreateUser",user,{
      responseType:'text',
      });
      }
      3. change the authService.registerUser line in the registerSubmitted() method to this:
      this.authService.registerUser(this.registerForm.value as User).subscribe(resp => {
      //
      //
      hope this works for u.

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

    please give solution

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

    Sir if I want one more table in same database So do I have to create a new context class❓

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

      If you want you can.
      But if u just write another dbset variable in the same, even that is ok.

  • @subhashraikwar-sw3yk
    @subhashraikwar-sw3yk 9 месяцев назад

    .net core

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

    Why use English and the whole video is in Hindi??

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

    Im getting red under .subscribe(res

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

      I'm getting the same error, did you solve the problem?

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

    I am getting the error InvalidOperationException: Endpoint Eattendance_QR.Controllers.TeachersController.GetAll (Eattendance_QR) contains CORS metadata, but a middleware was not found that supports CORS. Configure your application startup by adding app.UseCors() in the application startup code. If there are calls to app.UseRouting() and app.UseEndpoints(...), the call to app.UseCors() must go between them. give solution

    • @pavancharith4825
      @pavancharith4825 10 месяцев назад

      In API , go to program.cs file
      Write
      builder.Services.AddCors();
      app.Usecors(o=>o.AllowAnyMethod(). AllowAnyHeader().AllowAnyorigin());
      Build and run it work

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

    Hi, I am getting the below error:
    register.component.ts:64:9 - error TS2322: Type 'string | null | undefined' is not assignable to type 'string'.
    Type 'undefined' is not assignable to type 'string'.
    64 this.registerForm.value.pwd