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

Поделиться
HTML-код
  • Опубликовано: 2 фев 2025

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

  • @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

  • @taimoorfarid9931
    @taimoorfarid9931 11 месяцев назад +8

    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!

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

    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 Год назад +6

      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 Год назад

      I agree 💯

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

      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 7 месяцев назад

      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.

  • @necatihan
    @necatihan 10 месяцев назад +2

    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 10 месяцев назад +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 !

  • @Akmal-no6vw
    @Akmal-no6vw 11 месяцев назад +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.

  • @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 Год назад +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!

  • @rachelvarghese-l2u
    @rachelvarghese-l2u Год назад +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

  • @mahnooraltaf8525
    @mahnooraltaf8525 4 месяца назад +1

    Omg the way u explaining the things , i just love your way ,finally i found the right video for understanding API

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

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

  • @zaranasolanki3186
    @zaranasolanki3186 21 час назад

    Thanks for this awesome video! I finally understand so many concepts because of you! :)

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

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

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

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

  • @noba04
    @noba04 Год назад +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.

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

    Tysm. You explain this so much better than my lecturer

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

    Very good tutorial. I hope you continue this series

  • @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?

  • @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 :)

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

    Can't wait for the next course.

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

    Very nice and helpfull, thank you very much .

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

    Really, You have done a great job!

  • @umarawan4142
    @umarawan4142 28 дней назад

    superb sir you have any detailed project with api ?

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

    Thank you for this valuable content! Keep it up❤

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

    I noticed in your example that you use nullable reference types (e.g., string?) even on properties that are decorated with [Required]. Could you clarify why it's necessary to use string? when the [Required] attribute is supposed to enforce that the property should never be null? Is there a specific reason or best practice behind marking these properties as nullable, or is it more about consistency in code style?
    Thanks for your help!

  • @Useful4Many
    @Useful4Many Год назад +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  Год назад

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

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

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

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

    Excellent content ! Thank you

  • @ghghghg01
    @ghghghg01 День назад

    "We are just talking about ROTTING here. All of the endpoints are working in terms of ROTTING. So that's actually the first way to ROT."

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

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

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

      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 Год назад

      @@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!

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

    Perfect tutorials 👏

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

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

  • @ChinmayChaudhari-ly5om
    @ChinmayChaudhari-ly5om 24 дня назад

    does this covers authorization ,authentication or any other advanced concepts

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

    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!

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

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

  • @BAS-64
    @BAS-64 Год назад

    Great job. Thank you.

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

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

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

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

  • @FahadKhan-fq4zw
    @FahadKhan-fq4zw Год назад

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

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

      Please check the description area. There are links there.

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

    Nice Tutorial

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

    I love you! You are the best!

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

    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  Год назад

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

  • @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.

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

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

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

    Is there a tutorial where you use an actual database please?

  • @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.

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

    very good

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

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

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

      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

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

    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)

  • @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. 🤍

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

    This is superb! Thank you very much!