🎁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
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.
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.
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!
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!
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
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.
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
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!
@@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!
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!
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 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.
@@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
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)
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. 🤍
🎁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
already planning to get that all-access
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!
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.
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.
I agree 💯
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.
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.
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!
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 !
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.
One of the best teaching i have ever seen. Thanks for your videos sir. Please continue your service.
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!
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
Omg the way u explaining the things , i just love your way ,finally i found the right video for understanding API
Great tutorial. Thank you for creating this tutorial! I'm actually switching from PHP to .Net.😀
Thanks for this awesome video! I finally understand so many concepts because of you! :)
This is Great. It really helps to see it drawn out with diagrams! Thanks again.
Thank you for the feedback!
You are amazing in explaining. This helps me a lot. Thank you!
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.
Thank you !
Tysm. You explain this so much better than my lecturer
Very good tutorial. I hope you continue this series
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
Thank you for the feedback! Where do you want to deploy? To Assure app service?
Thanks, After long time i saw a tutorial from start to end. Thanks again.
You are welcome!
This is more than great. Thank you :)
Can't wait for the next course.
Very nice and helpfull, thank you very much .
Really, You have done a great job!
superb sir you have any detailed project with api ?
Thank you for this valuable content! Keep it up❤
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!
I really enjoyed the course - many thanks for explaining things in super easy way.
Did I miss the security session about JWT tokens?
JWT is part of the full course. Please checkout the description area.
Fall in love with your each and every lecture.
Could you share the github repo?
Excellent content ! Thank you
"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."
Great course and your a excellent teacher!
Should I buy the full course or take our other courses after this one?
Thank you for your interest! There isn't prerequisite courses for this one. Feel free to learn it by itself or with other courses.
@@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!
Perfect tutorials 👏
Can you cover JWT Authentication as part of this video, or is it too late ?
does this covers authorization ,authentication or any other advanced concepts
Yes. But in the full version.
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!
Usually you use url or query strings
Where do i find the .net documentation for all of this ?
Great job. Thank you.
can you record your videos in Dark Mode? the texts with white backgraounds are hard to read or unreadable at all
Strangely, according to research, most people like the light themes that is why by default, VS uses light theme.
Hi, just wondering if there is next part for Securing end point Authentication jwt token etc ?
Please check the description area. There are links there.
Nice Tutorial
I love you! You are the best!
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
Dis you try to clear the cookie with the developer tool (F12)?
Are you planning on releasing your courses on Pluralsight?
No, I have no plan to work with pluralsite at this moment.
why havent you touched upon how to use/call these api in a projec
Is there a tutorial where you use an actual database please?
Yes. But not on RUclips.
@@FrankLiuSoftware is it the course with the same title on your website?
Yes
Its Great Can you pls add jwt with this
Yes, it is already in my course, just see the links in the description area.
very good
Nice video but still only a single model, why do you never show more complex objects with multiple models ?
Because I want to focus on Web API instead of Entity Framework core.
@@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.
@@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
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)
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. 🤍
This is superb! Thank you very much!