Web API Development in .NET 8 in 2 Hours | ASP.NET CORE | RESTFUL API

Поделиться
HTML-код
  • Опубликовано: 29 авг 2024

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

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

    🎁ALL-ACCESS Subscription: Unlock access to all of my courses, both now and in the future at a low $19.99 / month.
    frankliucs.com/all-access
    💎 Complete Web API in .NET 8 Course:
    frankliucs.com/webapi-course
    💎Learn .NET MAUI while creating a Contacts App in .NET 7:
    frankliucs.com/maui
    🔥Learn Blazor while creating an Inventory Management System in .NET 6
    frankliucs.com/blazor-ims
    💎 Complete Guide to ASP.NET Core Identity
    frankliucs.com/identity
    💎Complete Blazor Course: Build an e-commerce app with ASP.NET Blazor and Clean Architecture
    frankliucs.com/blazor-course
    👍Architecture Course
    frankliucs.com/architecture-course
    🔌 Connect with me: frankliucs.com/
    🏅 Support me on Patreon: www.patreon.com/frankliucs
    ☕ Support me on Buy me a Coffee: www.buymeacoffee.com/frankliucs
    00:00:00 Introduction
    00:03:06 What is Web API & Why create Web API
    00:10:21 How Web API Works in Theory
    00:14:49 How Web API Works (Demo with Minimal APIs)
    00:27:32 What is a Web API Framework
    00:33:27 ASP.NET Core Middleware Pipeline
    00:37:34 Web API Controller
    00:42:25 Routing in Web API
    00:51:17 Model Binding
    01:01:06 Model Validation with DataAnnatation
    01:08:07 Model Validation with ValidationAttribute
    01:15:10 Web API Return Types
    01:21:30 In Mememory Repository
    01:25:01 Model Validation with Action Filter
    01:35:30 Read Endpoint
    01:36:55 Create Endpoint
    01:46:45 Validating Create Endpoint with ActionFilter
    01:51:23 Update Endpoint
    01:59:48 Exception Hanlding with Exception Filter
    02:05:48 Delete Endpoint

    • @2005Azm
      @2005Azm Год назад

      already planning to get that all-access

  • @Bingbong420style
    @Bingbong420style Год назад +23

    So far this is far more helpful than the Tim Corey Lessons. He tends to go into extraneous detail before getting to the meat of the subject. If we're talking about Seafood Gumbo, he is explaining the differenent thoughts on how to make a proper roux before I even know what seafood gumbo is. I like how you give your definition of web api, explain why it exists, and use diagrams to break it down.

    • @isuckatthisgame
      @isuckatthisgame Год назад +5

      I agree. Tim Corey is a solid explainer but his videos don't have a head and tail. He's all over the place. I find this as more helpful.

    • @JustCode512
      @JustCode512 9 месяцев назад

      I agree 💯

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

      i understand nothing from Tim Corey, he is stupid , teaching too fast, cant make people understant, he is a bastered too , he wasted my times taking me to unknown hell, middle of no where.

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

      I hear you on that, I literally just thanked Tim for putting his life story on youtube. I guess he thinks everyone is an idiot lol.

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

    I dont think i have left any lecture on youtube related to .NetCore Web API and this is by far the best one!
    Thanks alot for the gold content!

  • @Akmal-no6vw
    @Akmal-no6vw 5 месяцев назад +2

    Thank you so much!!! It's been one of the most effective Rest Api course i've ever went through. Looking forward for more courses as this legend one.

  • @necatihan
    @necatihan 5 месяцев назад +1

    God bless you. I've been trying to understand web APIs for 3 weeks now, and you've unlocked everything for me. I'll be following all your videos, liking them, and leaving comments to try to contribute to your success. I hope you'll continue making videos in the future!

    • @necatihan
      @necatihan 5 месяцев назад +1

      After one week practicing this video, I've progressed so much thanks to these 2 hours that I'm buying your complete course on Udemy right now !

  • @RamKumar-es3mp
    @RamKumar-es3mp Год назад +3

    One of the best teaching i have ever seen. Thanks for your videos sir. Please continue your service.

  • @bradleynixon978
    @bradleynixon978 8 месяцев назад +2

    Only once before have I purchased a course after seeing a video introduction on RUclips, but I did with this class because it is packed with so much great material. As others have mentioned, Frank goes into great detail explaining his code and I very much like that, which is kinda interesting to me as I'm usually skipping any introductions and only looking for what I think I need. Anyway, I'm eagerly awaiting more .Net 8 videos!

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

    Your Explanation of the basic concepts are very good and your diagrams are very helpful, especially comparing the two different era of technologies. I am returning back to development after many years

  • @koomooboo
    @koomooboo 9 месяцев назад +2

    Great tutorial. Thank you for creating this tutorial! I'm actually switching from PHP to .Net.😀

  • @Paul-xg1sg
    @Paul-xg1sg 4 месяца назад +1

    You are amazing in explaining. This helps me a lot. Thank you!

  • @noba04
    @noba04 11 месяцев назад +1

    really loving the course and its focus on establishing the foundations while tackling the framework's features. i'm new to ASP.NET and back end development in general so a lot of the architectural stuff being covered is a very great knowledge primer! love the way you explain stuff too and i'd be very interested in seeing more .NET / C# topics covered on the channel.

  • @2005Azm
    @2005Azm Год назад +5

    You are a Master teacher!! I went through your Udemy IMS, I can say is, "That's a Masterpiece." Thank you again sir.
    Do you by chance have a tutorial on Blazor Server deployment? or could you make one please?
    I'm trying to deploy my IMS with In Memory Data

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

      Thank you for the feedback! Where do you want to deploy? To Assure app service?

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

    This is Great. It really helps to see it drawn out with diagrams! Thanks again.

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

    Tysm. You explain this so much better than my lecturer

  • @saus3850
    @saus3850 11 месяцев назад +1

    Very good tutorial. I hope you continue this series

  • @Talieization
    @Talieization 5 месяцев назад +1

    This is superb! Thank you very much!

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

    Can't wait for the next course.

  • @OmarFaruk-lc2eb
    @OmarFaruk-lc2eb Год назад

    Thanks, After long time i saw a tutorial from start to end. Thanks again.

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

    This is more than great. Thank you :)

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

    Really, You have done a great job!

  • @nordinemokhtari3496
    @nordinemokhtari3496 6 месяцев назад +1

    Very nice and helpfull, thank you very much .

  • @Useful4Many
    @Useful4Many 11 месяцев назад +1

    I really enjoyed the course - many thanks for explaining things in super easy way.
    Did I miss the security session about JWT tokens?

    • @FrankLiuSoftware
      @FrankLiuSoftware  11 месяцев назад

      JWT is part of the full course. Please checkout the description area.

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

    Thank you for this valuable content! Keep it up❤

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

    Fall in love with your each and every lecture.
    Could you share the github repo?

  • @yashasmudiyar6054
    @yashasmudiyar6054 7 месяцев назад

    Excellent content ! Thank you

  • @toyaadhikari3716
    @toyaadhikari3716 7 месяцев назад

    Perfect tutorials 👏

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

    Great course and your a excellent teacher!
    Should I buy the full course or take our other courses after this one?

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

      Thank you for your interest! There isn't prerequisite courses for this one. Feel free to learn it by itself or with other courses.

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

      @@FrankLiuSoftwareI meant if I will miss something if I only check this course? Since your course is on, for example, Udemy is about 7 hours long?
      And thanks again this course was superb!

  • @BAS-64
    @BAS-64 7 месяцев назад

    Great job. Thank you.

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

    52:57 You mention that typically a body/payload is not used on a GET verb. What if I wanted to retrieve all beers that are dark and malty, instead of the entire list of beers? Wouldn't I want a payload of "color=dark&taste=malty" in this case? Excellent course, by the way!

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

    Can you cover JWT Authentication as part of this video, or is it too late ?

  • @user-tt5gz8jj6s
    @user-tt5gz8jj6s 7 месяцев назад

    Nice Tutorial

  • @amberyaqub6797
    @amberyaqub6797 19 дней назад

    why havent you touched upon how to use/call these api in a projec

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

    can you record your videos in Dark Mode? the texts with white backgraounds are hard to read or unreadable at all

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

      Strangely, according to research, most people like the light themes that is why by default, VS uses light theme.

  • @FahadKhan-fq4zw
    @FahadKhan-fq4zw 7 месяцев назад

    Hi, just wondering if there is next part for Securing end point Authentication jwt token etc ?

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

      Please check the description area. There are links there.

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

    Are you planning on releasing your courses on Pluralsight?

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

      No, I have no plan to work with pluralsite at this moment.

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

    Where do i find the .net documentation for all of this ?

  • @irvinakocan7859
    @irvinakocan7859 5 месяцев назад +1

    I love you! You are the best!

  • @davyvanoverberghe6729
    @davyvanoverberghe6729 9 месяцев назад

    Hey i purchased your udemy course on identity in dotnet 8 , i have a question in my solution when i don't specify the app.useathentication middleware my cookie still gets decrypted and my base.user isauthenticated is true and my claims are filled in ? i am baffled xd

    • @FrankLiuSoftware
      @FrankLiuSoftware  9 месяцев назад

      Dis you try to clear the cookie with the developer tool (F12)?

  • @reipalacio
    @reipalacio 9 месяцев назад

    very good

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

    Its Great Can you pls add jwt with this

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

      Yes, it is already in my course, just see the links in the description area.

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

    Nice video but still only a single model, why do you never show more complex objects with multiple models ?

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

      Because I want to focus on Web API instead of Entity Framework core.

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

      @@FrankLiuSoftware I get it but its a hand in glove situation. First timers will be totally confused and not know what to do when things get a little bit more complicated. That was me and it wasn't so long ago, so I can see it from a newbie-ish API coder.

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

      @@FrankLiuSoftware I would love to see a tutorial that goes in depth on the efc.
      I would say a lot of people would welcome it.
      Anyway keep up your great quaility we all find it really helpful
      Thanks again and the best to you

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

    I don't have money now to buy a coffee for you. But for sure in 1 or 2 i will join a job to and i will definitely get you a coffee thank you bro. Super useful video. 🤍

  • @frtkya
    @frtkya 9 месяцев назад

    Hi, firstly thank you Mr. Liu for your excellent tutorial. But I can't understand something. In "Routing in Web API section", you teached us second way of configure routing controller based WEB API.
    1. Way [Route("/shirts/{id}")]
    We defined URL as " ...... / shirts / {id} ". When we use postman , we can request like this. Its okey for me.
    2. Way [Route("api/[controller]")]
    We defined URL as " ...... /api / ? / {id} ". When we use postman , how the postman knows "/api/shirts " part of URL. We didn't specify "/shirts" anywhere like previous our codes. ( Program.cs, ShirtsController.cs .. etc)