Это видео недоступно.
Сожалеем об этом.

ASP.NET Core Web API .NET 8 2024 - 5. DTOs

Поделиться
HTML-код
  • Опубликовано: 4 янв 2024
  • ASP.NET Core Web API .NET 8 2024 - 5. DTOs
    Github repo for this project: github.com/teddysmithdev/FinS...
    Twitter: / teddysmithdev
    Github: github.com/teddysmithdev
    Linkedin: / teddy-smith-015ba61a3

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

  • @mischief9499
    @mischief9499 5 месяцев назад +21

    I think it would be better to place .Select() mapping method before the .ToList(), When we call .ToList() first, data of all the columns are retrieved from the database, which is kind of redundant because some of them are eventually going to be ignored in the DTO mapping method, if I apply .Select() mapping first, it first modifies the information in the IQueryable object it self and then .ToList() executes query on those columns only which are required in the mapping defined in the DTO Mapper method

  • @MohammadMahdiNiknam
    @MohammadMahdiNiknam 6 месяцев назад +4

    I really like the way you explain in detail and in full😁😁😁As a junior, I didn't know many of the things you explained and I just repeated them automatically.
    Thank you for this great course👌👌👌.

  • @babygrandadplays
    @babygrandadplays 2 месяца назад +1

    Your course is amazing. Its easy to follow and the way you explain things makes understanding the concepts very easy and graspable :) 🤝

  • @tomasbalducchi
    @tomasbalducchi 4 месяца назад

    Hey Teddy, really enjoying this series. I'm a frontend dev starting to cover more ground and this content is just awesome. Thanks a lot.

  • @manooj8502
    @manooj8502 6 месяцев назад

    lots of love from nepal your way of teaching is best ever

  • @zeroj7492
    @zeroj7492 5 месяцев назад

    ThanK you so much for this series brother.

  • @maheshtamang6158
    @maheshtamang6158 5 месяцев назад

    this series is gold! thank you so much for such gem!

  • @cant_sleeeep
    @cant_sleeeep 7 месяцев назад +2

    true chad keep them coming man

  • @abhishekinvisible
    @abhishekinvisible 2 месяца назад

    Thanks for detailed explanation

  • @Khal_Rheg0
    @Khal_Rheg0 2 месяца назад

    Thank you!

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

    Excellent.

  • @tarekabiramia913
    @tarekabiramia913 6 месяцев назад

    keep it up man great content

  • @user-qy2qz4ux2n
    @user-qy2qz4ux2n 6 месяцев назад +1

    💯💯💯💯💯💯💯💯💯

  • @Shalaby2002
    @Shalaby2002 5 месяцев назад

    My Automapper unexpectedly crashed, prompting me to resort to manual mapping within my controller. However, the concept of employing extension methods is intriguing. Though I'm a novice, it has captivated me

  • @Hamza-ky8us
    @Hamza-ky8us 5 месяцев назад

    Thank you so much. I'm new and I'm learning alot from you videos. I have one question. You said you are doing the mapping manually. How would it look like if it is automatically done? Is there a reason why you prefer it doing it manually?
    Thanks

  • @Okolieazubuike
    @Okolieazubuike 2 месяца назад

    Hi, Teddy.
    Thanks for the manual mapping. My question supposing we have more dtos do i have to configure all like this?

  • @Choosebrand
    @Choosebrand 3 месяца назад +1

    Dude, incredible work u made here. going through the whole tutorial. Awesome !
    One question, any tips on how to deploy a full-stack app like this? There is any way to do it for free somewhere, for portfolio purposes, or only via Azure, etc...
    Thanks a million for the effort you put on the videos.

    • @TeddySmithDev
      @TeddySmithDev  3 месяца назад +2

      There's many ways but the way I would do it:
      For backend: take advantage of some type of azure promotion so you can get first year free.
      For frontend: deploy to netlify and set all api services so they point to azure api.
      You could probably put the whole entire thing on one server for extra speed but I don't think it would be worth it in this case.

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

      @@TeddySmithDev HERO!
      Thanks for the super fast reply.

  • @afeesolorunfemi4524
    @afeesolorunfemi4524 Месяц назад

    What is the different in using the DTOs and ViewModels, because i can also use VM serve the same purpose, please i need your explanation. thank you

  • @ghaithchikhalchabab5676
    @ghaithchikhalchabab5676 4 месяца назад

    What are the Mappers here and the DTO? Should we use both?

  • @yanko694
    @yanko694 6 месяцев назад

    whats that drawing tool?

  • @spacemanspiff85
    @spacemanspiff85 9 дней назад

    This sort of thing is why I dropped Java. If you're copying code around from one part of your project to another, something is poorly designed, usually the framework. This will never not result in a maintenance nightmare.

  • @orizonapp9279
    @orizonapp9279 2 месяца назад

    @mischief9499 i added the .Select() mapping before the .ToList(), but still getting the same.

    • @user-xy7mc4du4i
      @user-xy7mc4du4i Месяц назад

      I think you need to save the StockController file to see hot reloaded results. I didn`t save it and got Comments in the response.