ASP.NET Core Web API - 6. GET & Read Methods [PART 1]

Тәжірибелік нұсқаулар және стиль

ASP.NET Core Web API - 6. GET Methods (Part 1)
UML Diagram: drive.google.com/file/d/1EbYY...
Github Repo For This Project: github.com/teddysmithdev/poke...
Twitter: / teddysmithdev
Github: github.com/teddysmithdev
Linkedin: / teddy-smith-015ba61a3

Пікірлер: 69

  • @henryli1710
    @henryli171010 ай бұрын

    This series is really up to date and has been super helpful. I see a lot of the same patterns at my job!

  • @aimfreakify
    @aimfreakify Жыл бұрын

    Teddy, Thank you so much for these tutorials! I hope you keep making great content like this. I love you little explanations and how you guide users through the process and logic.

  • @ianchin5634
    @ianchin56342 жыл бұрын

    This Series has been fantastic, you're doing amazing work.

  • @swi7h
    @swi7h10 ай бұрын

    Thank you so much for making tutorials that are both up-to-date and very beginner friendly. You literally do not pass anything without explaining.

  • @mrdl9199
    @mrdl9199 Жыл бұрын

    Loving this tutorial. Thank a lot Teddy. 👏👏

  • @_sudipb
    @_sudipb Жыл бұрын

    Great tutorial Teddy. Thank you for making this video. 👍👍👍

  • @gabrielferrin
    @gabrielferrin2 жыл бұрын

    Loving this tutorial. Thank a lot Teddy.

  • @franky3557
    @franky3557 Жыл бұрын

    Really cool series Love it! Please Dont Change

  • @Javlonbek_Fayzullaev
    @Javlonbek_Fayzullaev Жыл бұрын

    Great explanation of each part, keep going bro

  • @PiryutkoMaxim
    @PiryutkoMaxim Жыл бұрын

    thank you so much for the lessons!

  • @yourixf9698
    @yourixf969811 ай бұрын

    Loving the vids!

  • @kedwad
    @kedwad2 жыл бұрын

    Thank you Teddy, Great help !

  • @TeddySmithDev

    @TeddySmithDev

    2 жыл бұрын

    no prob, Eddie. Thanks for watching.

  • @donmani-zl1iw
    @donmani-zl1iw Жыл бұрын

    What a clear explanation 👋👋👋

  • @matheusantos18
    @matheusantos188 ай бұрын

    Thanks a lot, This is really helpful, and explainful!

  • @Leonidn1972
    @Leonidn19722 жыл бұрын

    You are the best. Thanks a lot.

  • @user-ir2lm7ye1x
    @user-ir2lm7ye1x Жыл бұрын

    Very helpful, thanks

  • @marypaul9627
    @marypaul9627 Жыл бұрын

    good teacher at same time funny..i give you a like because you said we do the Auto Mapper is gonna be difficult

  • @bahibrahim101
    @bahibrahim101 Жыл бұрын

    Good job buddy. Thank you

  • @user999xx
    @user999xx5 сағат бұрын

    Another amazing video!

  • @brianryan4053
    @brianryan4053 Жыл бұрын

    Good job! But please write the name of the topic covered on the video. Video 5 - Repository Get, for example

  • @MohakTalreja-ys9du
    @MohakTalreja-ys9du10 ай бұрын

    great tutorial :)

  • @hafidazer1634
    @hafidazer16346 ай бұрын

    And another like to you and a big thank you... I still don't understand why the Dto is used for 😅 well on to the next one

  • @purvaingle7301
    @purvaingle73019 ай бұрын

    Great series!

  • @TeddySmithDev

    @TeddySmithDev

    9 ай бұрын

    thank you for the time

  • @taqikhan5418
    @taqikhan5418 Жыл бұрын

    Thanks for the video series. We see nowadays unit of work with repository pattern. Is that better?

  • @kvelez
    @kvelez3 ай бұрын

    19:14 Great man.

  • @solr4cc
    @solr4cc Жыл бұрын

    Is doing mapping in controller a good idea? Shouldn't it be in repository where the logic is?

  • @manishshrestha4263
    @manishshrestha42632 жыл бұрын

    Thanks

  • @khalidracabov5347
    @khalidracabov5347 Жыл бұрын

    I died at 25:10 lool. Amazing tutorials

  • @henrik3098
    @henrik3098 Жыл бұрын

    u the man

  • @Cursix
    @Cursix Жыл бұрын

    good videos

  • @brianryan4053
    @brianryan4053 Жыл бұрын

    [ JsonIgnore] - this annotation can be used for attribute to avoid it's serialisation

  • @zilongli4941
    @zilongli4941 Жыл бұрын

    I have a question at 11:00 the function GetPokemonRating() in /Repository folder is calculating final review on a given pokemon. But as my understanding, the calculation should be in the controller. Is this right?

  • @hell-boy297

    @hell-boy297

    7 ай бұрын

    The best approach would be doing the calculation in a service, the repository should only hold database logic, and the controller should only get the response from the service and relay it to the client, all business logic should be done in the service layer

  • @zilongli4941

    @zilongli4941

    7 ай бұрын

    @@hell-boy297 thanks for sharing the knowledge

  • @okidokiyowyow356
    @okidokiyowyow356 Жыл бұрын

    Great tutorial but why is my swagger so laggy? Like it hangs up everytime I open the accordion

  • @bahibrahim101
    @bahibrahim101 Жыл бұрын

    If you had followed the schema initialization according to Entity Framework's best practices, you could have transformed every single one of those repository methods into concise one-liners using arrow functions, resulting in less code. And more. Mastering your Object-Relational Mapping skills, such as Entity Framework, is what I would recommend for anyone pursuing a career in API development. It can greatly enhance your productivity and enable you to write efficient and maintainable code.

  • @kirillzlobin7135
    @kirillzlobin71355 ай бұрын

    32:40 Can we use our custom Mappers. We will not need to install any dependencies and it is not that difficult to implement. Did not see the advantages of automapper

  • @anselmedambesanwogou6161
    @anselmedambesanwogou616111 ай бұрын

    Thanks you Teddy, please can you update Review model with Rating Entity ?

  • @deepakrevidagar4275
    @deepakrevidagar4275 Жыл бұрын

    I am not getting the values in the swagger and it is giving null and 0. Can anybody help me out

  • @kirillzlobin7135
    @kirillzlobin71355 ай бұрын

    Awesome tutorials. But at 7:40 - Why it is underlined like something is wrong and you are just keep explaining like it is expected to be like this :)

  • @EPShow-369
    @EPShow-369 Жыл бұрын

    do you have a UnitOfWork video cant find one?

  • @nickben8668
    @nickben8668Күн бұрын

    Why does none of the methods called the database use async and await? Is this on purouse or was it just forgotten?

  • @TeddySmithDev

    @TeddySmithDev

    Күн бұрын

    I’m not really sure. Was a long time ago. Think I forgot.

  • @adamclarke774
    @adamclarke7742 жыл бұрын

    Anyone know why GetPokemon is 'int pokeId' and not 'int Id' like it is in the interface & repository?

  • @leonardolelli3087

    @leonardolelli3087

    2 жыл бұрын

    There is not a particular reason, you could also have written "foo" and nothing would have changed. It is simply a placeholder which indicates that there is a variable in the endpoint path that represents the id and that variable is then passed as a method parameter

  • @elberghaswe2761
    @elberghaswe27616 ай бұрын

    Thanks, Teddy, youre saving my life, Please give me a baby!

  • @user-wf8sx3bo8m
    @user-wf8sx3bo8m11 ай бұрын

    I like y ou comment in the video "Get you hands dirty"

  • @at-tf9cc
    @at-tf9cc2 жыл бұрын

    You can simplifies context.Pokemons.Where(p => p.Id == id).FirstOrDefault(); into context.Pokemons.FirstOrDefault(p => p.Id == id);

  • @elmervelazquez3549

    @elmervelazquez3549

    2 ай бұрын

    no

  • @Parsifal308
    @Parsifal3087 күн бұрын

    Wait, when did we add Rating to Review? .-.

  • @yassir3841
    @yassir3841 Жыл бұрын

    what exactly is pokeId it got me so lost

  • @hmtken2213
    @hmtken221310 ай бұрын

    AutoMapper.AutoMapperMappingException: 'Missing type map configuration or unsupported mapping.' Why i got this error when using the API: Get Pokemon By ID T_T. I have carefully followed your code but dont know why

  • @huynguyenluonggia6393
    @huynguyenluonggia63939 ай бұрын

    hi everyone, I have learned about repository patterns that in a repository you only use one model but in PokemonRepository, Teddy used the Review Model. Can you explain to me?

  • @TeddySmithDev

    @TeddySmithDev

    9 ай бұрын

    Technically you can only use a single model for a repository to “make”, but you can easily bring in multiple repository to “use”.

  • @huynguyenluonggia6393

    @huynguyenluonggia6393

    9 ай бұрын

    @@TeddySmithDev thanks for your explanation, Can I add a folder named "Service"???

  • @jonathanhexner
    @jonathanhexner9 ай бұрын

    The video is pretty good, clearly the author invested a lot of effort... but a lot the concepts just aren't explained thoroughly enough

  • @TeddySmithDev

    @TeddySmithDev

    9 ай бұрын

    This is fair criticism

  • @taqikhan5418
    @taqikhan5418 Жыл бұрын

    Is DTOs and ViewModel the same?

  • @TeddySmithDev

    @TeddySmithDev

    Жыл бұрын

    Pretty much. ViewModel = html and DTO = database

  • @travelobsession10
    @travelobsession10 Жыл бұрын

    I honestly..Don't understand a thing. It s like a parallel universe .

  • @ruderalph97
    @ruderalph977 ай бұрын

    jared leto teaches c#

  • @alexvasile4095
    @alexvasile40958 ай бұрын

    it's not on the fly man :)) you have already this code on the other screen :))

  • @TeddySmithDev

    @TeddySmithDev

    8 ай бұрын

    ok dude plz don't tell the teacher

  • @yunsivattha
    @yunsivattha Жыл бұрын

    very good, explaination. do you have telegtram?

  • @tilmandr7415
    @tilmandr74158 ай бұрын

    what is the better way to make a getRequest with an id? .xxxx.Where() or xxxx.SingleOrDefault()?

Келесі