Тёмный

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

Teddy Smith
Подписаться 63 тыс.
Просмотров 59 тыс.
50% 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

Хобби

Опубликовано:

 

28 июл 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 66   
@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
@ianchin5634 2 года назад
This Series has been fantastic, you're doing amazing work.
@henryli1710
@henryli1710 10 месяцев назад
This series is really up to date and has been super helpful. I see a lot of the same patterns at my job!
@swi7h
@swi7h 10 месяцев назад
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. 👏👏
@gabrielferrin
@gabrielferrin 2 года назад
Loving this tutorial. Thank a lot Teddy.
@_sudipb
@_sudipb Год назад
Great tutorial Teddy. Thank you for making this video. 👍👍👍
@franky3557
@franky3557 Год назад
Really cool series Love it! Please Dont Change
@Javlonbek_Fayzullaev
@Javlonbek_Fayzullaev Год назад
Great explanation of each part, keep going bro
@yourixf9698
@yourixf9698 11 месяцев назад
Loving the vids!
@PiryutkoMaxim
@PiryutkoMaxim Год назад
thank you so much for the lessons!
@donmani-zl1iw
@donmani-zl1iw Год назад
What a clear explanation 👋👋👋
@kedwad
@kedwad 2 года назад
Thank you Teddy, Great help !
@TeddySmithDev
@TeddySmithDev 2 года назад
no prob, Eddie. Thanks for watching.
@user-ir2lm7ye1x
@user-ir2lm7ye1x Год назад
Very helpful, thanks
@Leonidn1972
@Leonidn1972 2 года назад
You are the best. Thanks a lot.
@bahibrahim101
@bahibrahim101 Год назад
Good job buddy. Thank you
@matheusantos18
@matheusantos18 8 месяцев назад
Thanks a lot, This is really helpful, and explainful!
@MohakTalreja-ys9du
@MohakTalreja-ys9du 10 месяцев назад
great tutorial :)
@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
@brianryan4053
@brianryan4053 Год назад
Good job! But please write the name of the topic covered on the video. Video 5 - Repository Get, for example
@purvaingle7301
@purvaingle7301 8 месяцев назад
Great series!
@TeddySmithDev
@TeddySmithDev 8 месяцев назад
thank you for the time
@taqikhan5418
@taqikhan5418 Год назад
Thanks for the video series. We see nowadays unit of work with repository pattern. Is that better?
@hafidazer1634
@hafidazer1634 6 месяцев назад
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
@solr4cc
@solr4cc Год назад
Is doing mapping in controller a good idea? Shouldn't it be in repository where the logic is?
@deepakrevidagar4275
@deepakrevidagar4275 Год назад
I am not getting the values in the swagger and it is giving null and 0. Can anybody help me out
@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 11 месяцев назад
Great tutorial but why is my swagger so laggy? Like it hangs up everytime I open the accordion
@anselmedambesanwogou6161
@anselmedambesanwogou6161 11 месяцев назад
Thanks you Teddy, please can you update Review model with Rating Entity ?
@EPShow-369
@EPShow-369 Год назад
do you have a UnitOfWork video cant find one?
@manishshrestha4263
@manishshrestha4263 2 года назад
Thanks
@Cursix
@Cursix Год назад
good videos
@henrik3098
@henrik3098 Год назад
u the man
@brianryan4053
@brianryan4053 Год назад
[ JsonIgnore] - this annotation can be used for attribute to avoid it's serialisation
@kirillzlobin7135
@kirillzlobin7135 5 месяцев назад
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
@khalidracabov5347
@khalidracabov5347 Год назад
I died at 25:10 lool. Amazing tutorials
@kvelez
@kvelez 3 месяца назад
19:14 Great man.
@adamclarke774
@adamclarke774 2 года назад
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
@Parsifal308
@Parsifal308 4 дня назад
Wait, when did we add Rating to Review? .-.
@yassir3841
@yassir3841 Год назад
what exactly is pokeId it got me so lost
@huynguyenluonggia6393
@huynguyenluonggia6393 9 месяцев назад
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"???
@hmtken2213
@hmtken2213 10 месяцев назад
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
@kirillzlobin7135
@kirillzlobin7135 5 месяцев назад
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 :)
@elberghaswe2761
@elberghaswe2761 6 месяцев назад
Thanks, Teddy, youre saving my life, Please give me a baby!
@taqikhan5418
@taqikhan5418 Год назад
Is DTOs and ViewModel the same?
@TeddySmithDev
@TeddySmithDev Год назад
Pretty much. ViewModel = html and DTO = database
@user-wf8sx3bo8m
@user-wf8sx3bo8m 11 месяцев назад
I like y ou comment in the video "Get you hands dirty"
@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.
@jonathanhexner
@jonathanhexner 9 месяцев назад
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
@travelobsession10
@travelobsession10 Год назад
I honestly..Don't understand a thing. It s like a parallel universe .
@ruderalph97
@ruderalph97 7 месяцев назад
jared leto teaches c#
@alexvasile4095
@alexvasile4095 8 месяцев назад
it's not on the fly man :)) you have already this code on the other screen :))
@TeddySmithDev
@TeddySmithDev 7 месяцев назад
ok dude plz don't tell the teacher
@yunsivattha
@yunsivattha Год назад
very good, explaination. do you have telegtram?
@at-tf9cc
@at-tf9cc 2 года назад
You can simplifies context.Pokemons.Where(p => p.Id == id).FirstOrDefault(); into context.Pokemons.FirstOrDefault(p => p.Id == id);
@elmervelazquez3549
@elmervelazquez3549 Месяц назад
no
@tilmandr7415
@tilmandr7415 8 месяцев назад
what is the better way to make a getRequest with an id? .xxxx.Where() or xxxx.SingleOrDefault()?
Далее
ASP.NET Core Web API - 7. GET & Read Methods [PART 2]
40:01
2DROTS vs RISENHAHA! КУБОК ФИФЕРОВ 2 ТУР
11:31
БАТЯ И ТЁЩА😂#shorts
00:58
Просмотров 3,5 млн
Forget Controllers and Minimal APIs in .NET!
14:07
Просмотров 61 тыс.
ASP.NET Core Crash Course - C# App in One Hour
1:00:44
Просмотров 1,5 млн
Dependency Injection Deep Dive | .NET & C# Essentials
38:01
Building a .NET 6 API Using TDD
1:38:59
Просмотров 143 тыс.
ASP.NET Core Web API - 8. GET & Read Methods [PART 3]
48:54
Data Context Interaction ASP.NET Core C#
30:36
Просмотров 6 тыс.
Похороны #мототаня
0:14
Просмотров 756 тыс.
МОЖЕТ ЛИ УКУСИТЬ СОБАКА
0:14
Просмотров 1,8 млн