(#46) Insert data in database using entity framework core | Asp.Net core tutorial

Поділитися
Вставка
  • Опубліковано 25 січ 2025

КОМЕНТАРІ • 32

  • @chiragdudhat1504
    @chiragdudhat1504 Рік тому

    Thank you sir 🙂

  • @hammad-e-rehman2127
    @hammad-e-rehman2127 3 роки тому

    Sir you had not made the video on sql server management studio

  • @minahilismail8986
    @minahilismail8986 Рік тому

    Comprehensive 🖒

  • @anbuanbu6591
    @anbuanbu6591 4 роки тому

    Hi, how to handle casecading drop-down scenario

  • @developerdailylife4791
    @developerdailylife4791 4 роки тому

    Hi understand the video very well, but the part of services.AddScoped(); i did not understand it

  • @HeelsOnTheHills
    @HeelsOnTheHills 4 роки тому

    During mapping of all properties from model class to new class it is not giving suggestions but error. why?

  • @heartlysavour
    @heartlysavour 2 роки тому

    Well explained

  • @iamservantofallah-Jannah
    @iamservantofallah-Jannah 4 роки тому

    Sir if I want to add more tables like Login table , signup table so how I can add more tables

  • @Uzair_Anwar2299
    @Uzair_Anwar2299 4 роки тому

    Appreciated work man

  • @kanishgakathiravan3574
    @kanishgakathiravan3574 2 роки тому

    Thanks

  • @pourianayeb1063
    @pourianayeb1063 4 роки тому

    I have a question, without interface and by using class only shape repository, do we respect conventions?

    • @WebGentle
      @WebGentle  4 роки тому +1

      There are a couple of things that we can improve in this save method. We have started from scratch. Definitely, in the upcoming videos, we will use proper DI, interfaces, etc.

    • @pourianayeb1063
      @pourianayeb1063 4 роки тому +1

      @@WebGentle thanks, this way of teaching make master out of everyone, just love the way. 😎

  • @Dineshkumar-ic5el
    @Dineshkumar-ic5el 3 роки тому

    Wow great slowly I am improving my .net core 3.1 super sir.

  • @TaurasGirl
    @TaurasGirl 4 роки тому

    Sir, Addbook method in controller returns 405 not allowed error, how to solve it? I spent hours around it but couldn't find a solution.

    • @WebGentle
      @WebGentle  4 роки тому +1

      I think you are using POST action method to return your view. Make sure it is GET type.

    • @TaurasGirl
      @TaurasGirl 4 роки тому

      @@WebGentle HttpPost is used at action method. At which file I need to update??

    • @WebGentle
      @WebGentle  4 роки тому

      Make it httpget or remove it from action method

    • @TaurasGirl
      @TaurasGirl 4 роки тому

      @@WebGentle but sir u have used httppost sir?

    • @WebGentle
      @WebGentle  4 роки тому

      I have created two methods one for get and another for post. I think you are creating only one method

  • @madushanmahela9666
    @madushanmahela9666 4 роки тому

    Wow this was very helpful sir, you are doing a great job

    • @WebGentle
      @WebGentle  4 роки тому

      I am glad you like this 🙂

  • @roby1928
    @roby1928 4 роки тому

    why my id is jump 1000, before my id is start from 1 but now when i run again then start from 1000

    • @WebGentle
      @WebGentle  4 роки тому

      This is because of sql server. You can say it issue or feature but MVC app has nothing to do with this. You will face this issue in latest sql server.

  • @mithileshpandey9885
    @mithileshpandey9885 3 роки тому

    How to Access/Use/ Call Stored Procedure in Entity Framework Core 3.1 DATABASE First Approach C#

  • @kamolhasanov9275
    @kamolhasanov9275 4 роки тому

    this video is very nice but error: id=0 so dont save database to my project Pleace help me Mr Nitish

    • @iamservantofallah-Jannah
      @iamservantofallah-Jannah 4 роки тому

      what error you are getting. more details, please

    • @kamolhasanov9275
      @kamolhasanov9275 4 роки тому

      @@iamservantofallah-Jannah Thinks I know error

    • @arfeenkhan2831
      @arfeenkhan2831 2 роки тому

      @@kamolhasanov9275 i think you are not using _context.SaveChanges();