Тёмный
No video :(

Intro to WebAPI - One of the most powerful project types in C# 

IAmTimCorey
Подписаться 419 тыс.
Просмотров 717 тыс.
50% 1

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

 

26 авг 2024

Поделиться:

Ссылка:

Скачать:

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

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 1 тыс.   
@proostdaantv
@proostdaantv 5 лет назад
So often I'm looking at a tutorial which goes too in depth causing me to lose interest and not understanding the actual message they're trying to portray. This tutorial is perfect! I understood every word and feel like I understand (C#) WebAPI's better now. Thank you!
@IAmTimCorey
@IAmTimCorey 5 лет назад
Awesome!
@Miran912
@Miran912 2 года назад
@@IAmTimCorey öYä
@lilyayora
@lilyayora 5 лет назад
When I find myself in times of trouble, Tim Corey comes to me And fills me with his wisdom On ASP.
@IAmTimCorey
@IAmTimCorey 5 лет назад
I'm glad my content has helped you out.
@AbelDamajAnathemA
@AbelDamajAnathemA 4 года назад
hahaha this is very true. it's the newer version of Let it be.
@AbelDamajAnathemA
@AbelDamajAnathemA 4 года назад
@@IAmTimCorey Can't tell. I'm so thankful for you sir
@rawberry3
@rawberry3 4 года назад
This is one of the best comments i have ever seen. Well done!
@mohsenjafari634
@mohsenjafari634 4 года назад
The most important thing in your videos is the pace of your speech. The slower you talk, the more understanding for those who are not English native speakers. Thanks Tim Corey.
@IAmTimCorey
@IAmTimCorey 4 года назад
You are welcome.
@torrvic1156
@torrvic1156 Год назад
Absolutely!
@michaelcdarby
@michaelcdarby 3 года назад
I don’t know what makes me more mad. That I paid a bunch of money to go to college where I wasn’t taught any stuff remotely close to what is used in the field or that it took me as long as it did to find this channel. Been watching your videos for sometime now and I don’t know what it is but the way you talk and teach is just so intriguing and doesn’t put me to sleep like most tutorials out there
@TheTonyBTube
@TheTonyBTube 3 года назад
I have developed APIs in Python, but not in C#. This video was exactly the key information I needed to make the transition smoothly. Much appreciated. Well worth the time to get the "whys" as well as the "hows".
@IAmTimCorey
@IAmTimCorey 3 года назад
I am glad my content has been helpful.
@jimhawkins8360
@jimhawkins8360 6 лет назад
Excellent tutorial! I've been a developer for more then 20 years. MVC is new to me and you explained in 1.5 hours what would have taken me a week to learn. Thanks!!
@IAmTimCorey
@IAmTimCorey 6 лет назад
Awesome!
@malshangunawardana812
@malshangunawardana812 3 года назад
The only 1 hour tutorial that I have watched from start to end without any skips so far
@tomthelestaff-iamtimcorey7597
@tomthelestaff-iamtimcorey7597 3 года назад
Thanks for growing your skills with Tim.
@aqib8306
@aqib8306 3 года назад
Oh, Man!!! Before watching this video, I was very skeptical about Web API, but now I'm very much into Web API and will definitely build my future project on it. Thank you, Tim!!
@IAmTimCorey
@IAmTimCorey 3 года назад
Awesome! Make sure to check out ASP.NET Core API. That's the way to go for new applications (mostly the same principles but faster and more modern).
@owiz9212
@owiz9212 4 года назад
Tim, I greatly appreciate the time and effort that you put into these tutorials. The level of detail and amount of information presented is very impressive. Thanks very much!!!
@IAmTimCorey
@IAmTimCorey 4 года назад
You are welcome.
@troybryantIII
@troybryantIII 6 лет назад
Would love to see a tutorial on how to deploy c# project along with web api to a hosting service. But thank you this is great
@IAmTimCorey
@IAmTimCorey 6 лет назад
How to deploy projects is a high-priority video for me. That is one that confuses a lot of people. That video should be out within the next few videos.
@jeewanmaharjan2712
@jeewanmaharjan2712 6 лет назад
This is my Question too.
@puzzlegamer369
@puzzlegamer369 6 лет назад
I am one of your biggest fans now @Tim :D Your way of explaining is too awesome. Even after 5 years of my experience i still find your videos helpful
@curiousdk780
@curiousdk780 5 лет назад
@@IAmTimCorey When can we expect one video of deployment ?
@recepcakir4866
@recepcakir4866 4 года назад
@@IAmTimCorey Any news about this video? Could you tell us the time that it's gonna be released?
@Bob-ts2tu
@Bob-ts2tu 5 лет назад
This was my first port of call to get started with REST after ive realised that what ive previously learned using WCF to send data from my xamarin app has limitations and just wont do the job i require long term, so thanks again for the clear and easy instruction so i can move forward. I've been writing business desktop apps since the late 70's (winforms and .NET since 2005), and although i'm getting a tad long in the tooth now as i approach 60, still realise just how much i need to know, and the good basic grounding with clear explanation you give is just what works for me, so Thanks again Tim
@IAmTimCorey
@IAmTimCorey 5 лет назад
I'm glad you are getting a lot of value out this content.
@dengfodan1891
@dengfodan1891 3 года назад
We're in 2021 now but I still find this video super informative! I made a WebAPI yesterday and encountered the same problem @45:00 in this video, which is "cannot maintain the instance property across different API calls" as Tim mentioned. However I found a solution to it --- if you make the property static, not an instance property but a static class property, the value won't get destroy/recreate along with the controller instance. In this way the property can survive between difference API calls. However, that, imo, would make the whole API not RESTful. i.e. the different calls with same context would result differently. Thanks so much Tim : ) Most of my C# knowledge related to Web are getting from you!
@IAmTimCorey
@IAmTimCorey 3 года назад
I am glad you found it so valuable.
@frankfernandez1957
@frankfernandez1957 4 года назад
I cannot stress enough how big of a help this video has been, thank you so much for sharing!!!!!!!!
@IAmTimCorey
@IAmTimCorey 4 года назад
I'm so glad!
@LukeAvedon
@LukeAvedon 4 года назад
You are an AMAZING, AMAZING teacher. Thank you for all your hard work on these invaluable videos. Saints live among us.
@IAmTimCorey
@IAmTimCorey 4 года назад
I appreciate the kind words.
@lindiswamalizole1020
@lindiswamalizole1020 3 года назад
After watching so many videos without understanding you made it so simple and thank you. You are amazing
@IAmTimCorey
@IAmTimCorey 3 года назад
You're very welcome! Please check out my other training videos
@ishitavashisht6390
@ishitavashisht6390 2 года назад
i just wanted to thankyou for these tutorials on c# related concepts. trust me you are a great teacher . the way you are spreading your knowledge is amazing. i am actually started liking c# after watching these videos by you !! :)
@IAmTimCorey
@IAmTimCorey 2 года назад
You are welcome.
@JHatLpool
@JHatLpool 4 года назад
Great video and lesson. In fact, I find all of the Tim Corey C# lessons really good. The lessons get you started, they give you definitions of key terms and, finally, TC makes you aware of code structure.
@IAmTimCorey
@IAmTimCorey 4 года назад
Thank you!
@nasben66
@nasben66 5 лет назад
Excellent stuff, you make hard topics so simple, that's what I call professionalism
@IAmTimCorey
@IAmTimCorey 5 лет назад
Thank you!
@InfouniverseInongplus
@InfouniverseInongplus 5 лет назад
Very informative video, I like this a lot thanks 👍👍👍👍👍
@junzuowan4906
@junzuowan4906 Год назад
Tim, I watched so many of your videos in the last several years. You are an excellent teacher! Thank you indeed!!!!!!!!!!!!!!!!!!!
@IAmTimCorey
@IAmTimCorey Год назад
You are very welcome.
@TaoLi302
@TaoLi302 5 лет назад
Came over here after watching your MVC tutorial. This is easily one of the best if not the best tutorial series on RU-vid. Subscribed!
@IAmTimCorey
@IAmTimCorey 5 лет назад
I appreciate the kind words.
@alexanderkarczewski982
@alexanderkarczewski982 5 лет назад
Tim, you do such a great job on all your vedios. Keep it up. Thanks
@IAmTimCorey
@IAmTimCorey 5 лет назад
Thank you!
@STUPIDYOUTUBE_HIDINGMSGS
@STUPIDYOUTUBE_HIDINGMSGS 4 года назад
Thanks for this, I've set it to 1.5 speed, and it was quick! LOL. Unlike the other tutorials on YT that takes 3 or 4 hours just to show the fundamentals of a topic. Great job, I've subscribed! Wouldn't have been better if you're part of my dev team and be my mentor! ;p
@IAmTimCorey
@IAmTimCorey 4 года назад
I am glad it was helpful.
@HavenTechMicro
@HavenTechMicro 3 года назад
Personally, I like the pace and the narrative. Gives the info a chance to settle in
@STUPIDYOUTUBE_HIDINGMSGS
@STUPIDYOUTUBE_HIDINGMSGS 2 года назад
@@IAmTimCorey Hey Tim, I wonder if you're going to upgrade this to the latest .net core, same structure with deployments, probably to IIS, Azure or AWS? cheers
@roncho0o28
@roncho0o28 4 года назад
I hope Tim is getting paid enough to help so many people on that high of a level. GG man.
@IAmTimCorey
@IAmTimCorey 4 года назад
I appreciate the kind words.
@dogburrito
@dogburrito Год назад
Excellent intro to Web API, GET and PUT, API Routing, Postman, Automatic Documenting, Deployment, Automatic Help.
@IAmTimCorey
@IAmTimCorey Год назад
Thank you!
@joetv31
@joetv31 6 лет назад
The c# webapi tutorial is amazing. Thank you so much.
@IAmTimCorey
@IAmTimCorey 6 лет назад
You are most welcome. Thanks for watching.
@PunchboxRockers
@PunchboxRockers 5 лет назад
You're an awesome teacher, thanks! You take the time to go through some of the very fine details.
@IAmTimCorey
@IAmTimCorey 5 лет назад
You are most welcome. Thanks for watching.
@sassinejaoude460
@sassinejaoude460 5 лет назад
How amazing when you work with things and then you get a clean description of what and why - very valuable - Thank you
@IAmTimCorey
@IAmTimCorey 5 лет назад
You are most welcome. Thanks for watching.
@marcinburak2226
@marcinburak2226 6 лет назад
I was always building web applications using pure ASP.NET controllers, but now that I know how to use Web API it's so much more fun! I first create a Web API project and implement all my database logic and then build an ASP.NET web application project that uses ajax asynchronously to call my logic from the API. It's so much smoother and more responsive than I could have ever imagine! Definitely put out more content about WEB API, please.
@IAmTimCorey
@IAmTimCorey 6 лет назад
Nice! I like it. When you are calling the WebAPI using ajax I'm assuming that is through the front-end (JavaScript). One thing people often miss is that if you need some of that data ahead of time when the ASP.NET page is built, you can call the API classes directly as if they were just classes, not an API. No need to go to a URL when you are calling internally. Just instantiate the WebAPI class and call the method you want. Blending the front-end calls with the back-end calls really gives you the best of both worlds.
@jerkybagzify
@jerkybagzify 4 года назад
Just wanna thank you Tim for this great stuff! Loved it so much!
@IAmTimCorey
@IAmTimCorey 4 года назад
You are most welcome.
@keithcarrillo8238
@keithcarrillo8238 4 года назад
Hey Junel. I was wondering if this gave you any issues since it's 2 years old, is there anything you had to find out was outdated the hard way?
@sarikaransubhe6562
@sarikaransubhe6562 6 лет назад
Bang on ... Covered all areas right from the start till end, Many Thanks Tim :)
@IAmTimCorey
@IAmTimCorey 6 лет назад
Thanks!
@robertosterberg
@robertosterberg 2 года назад
i started building a SOAP API for a big Legacy system with a huge DB that we have but i am going to go this route instead. Greatly appreciated.
@IAmTimCorey
@IAmTimCorey 2 года назад
Great!
@EmeraldCityMagician
@EmeraldCityMagician 3 года назад
40 minutes into this you have a new subscriber. This is really great stuff. You are so clear and not super fast. Thank you for such great videos, I'm looking forward to watching many more!
@IAmTimCorey
@IAmTimCorey 3 года назад
Awesome, thank you!
@coyotemoon722
@coyotemoon722 5 лет назад
Good video, albeit EXTREMELY slow going. It's strange because it seems targeted to beginners, yet some of the syntax is left unexplained, such as the arrow function used in the overloaded GET method. I'm still trying to get down C# so it would've been nice to just say "lambda expression" instead of "greater than or equal to". I didn't catch that it was an arrow function at first so I was really confused about the syntax. (I'm not thrilled with the syntax for arrow functions either. It would've been nice to use two >> instead to be a bit more distinct from the greater than or equals to operator, but what can you do.)
@IAmTimCorey
@IAmTimCorey 5 лет назад
Yeah, this is a beginner video for WebAPI but it does assume some prior C# knowledge. That's the hard balance to hit in these types of videos. What level to assume the user is coming into it. Even though this is a beginner video, it really shouldn't be for C# beginners because it is too advanced for that.
@chrish7927
@chrish7927 3 года назад
100% agree on the lamda expression.
@_rcs
@_rcs 5 лет назад
When illustrating the POST action, you manually built the JSON representation of a Person object in Postman and sent the POST request. How would that JSON get built and POSTed in a real life environment where end users won't be using Postman? As always, thanks for the video, Tim!
@IAmTimCorey
@IAmTimCorey 5 лет назад
You can check out my TimCo Retail Manager series to see that in action. I built a WPF project that calls a WebAPI so I have to do that multiple times.
@_rcs
@_rcs 5 лет назад
@@IAmTimCorey Thank you.
@rameshvegi94
@rameshvegi94 3 года назад
Thank you Tim. I hated to study since i was a kid, But i enjoyed every moment of this Tutorial !
@IAmTimCorey
@IAmTimCorey 3 года назад
Glad to hear that!
@fatimaajij428
@fatimaajij428 5 лет назад
your tutorials are like eating Pizza and watching your favourite TV show. Amazing
@IAmTimCorey
@IAmTimCorey 5 лет назад
Thanks!
@jean-marcdisano9370
@jean-marcdisano9370 6 лет назад
Not a fan of Entity Framework + fan of Lord of the rings => Subscribed! :) Excellent video and teaching skills BTW
@IAmTimCorey
@IAmTimCorey 6 лет назад
lol I'm glad you enjoyed the video.
@WBraxx
@WBraxx 4 года назад
Hey Tim, first of all thank you for the great tutorials. You really make it easy learning and understanding C#. I've started getting into it after my employer decided to migrate everything to MS products. I have one question: Is there any chance that you update your WebAPI series for .Net Core 3 and/or .Net 5 (being released soon)?
@IAmTimCorey
@IAmTimCorey 4 года назад
I will be doing ASP.NET Core API videos in the future. Plus, the TimCo Retail Manager series updated the API to .NET Core back in November.
@WBraxx
@WBraxx 4 года назад
@@IAmTimCorey Found it, thank you!
@LarryPeteet
@LarryPeteet 3 года назад
First time I remember you saying "Duh"! LOL, Keep em coming. I always look for a video from you on any coding subject I am interested in. Have bough a couple of courses from you too and well worth the money!
@IAmTimCorey
@IAmTimCorey 3 года назад
Glad to help and thanks for supporting the community with your purchases!
@medranoa1490
@medranoa1490 4 года назад
Just finished the Asp.net MVC video. Amazing way to teach. I've learned so much today. Thanks a lot.
@IAmTimCorey
@IAmTimCorey 4 года назад
Glad it was helpful!
@binitkumar4075
@binitkumar4075 5 лет назад
Make a video over authentication process of web api
@IAmTimCorey
@IAmTimCorey 5 лет назад
It's on the list. Thanks for the suggestion.
@luigizambetti18
@luigizambetti18 6 лет назад
Hi Tim, could you make a similar video for ASP.NET Web API Core too?
@IAmTimCorey
@IAmTimCorey 6 лет назад
Yep, it is on the docket. I just need to get it right, so it won't be right away.
@zeeshanahmedaman
@zeeshanahmedaman 6 лет назад
It will be really helpful for me too
@vincentsolon3216
@vincentsolon3216 5 лет назад
I'm waiting for this
@demps1bm1
@demps1bm1 9 месяцев назад
Great video. I knew webapi as a built one of around 9k lines of code in my spare time that was used by my company to prototype an app that is currently in use. Yes, as you suggested, one should keep controllers very clean and put logic into classes (and unit test those classes just like a console app!). But the big thing I learned here was Postman. I went out and got it and started playing with it. Thank you so much!
@retro2712
@retro2712 3 года назад
i really like how you go in depth but not too in depth so i dont lose intrest! keep it up man!
@IAmTimCorey
@IAmTimCorey 3 года назад
Thanks, will do!
@PierreGadea
@PierreGadea 6 лет назад
Will you be doing a full project based course on ASP.NET Web API?
@IAmTimCorey
@IAmTimCorey 6 лет назад
Yep. I'm working on a plan for it. I'm anticipating that it will be an advanced Start to Finish course that will include WebAPI, WPF, a non-C# front-end, .NET Standard, and more. Still working on the plan.
@PierreGadea
@PierreGadea 6 лет назад
Glad to hear! I work as a.NET developer and of the projects is a ASP.NET Web API.
@railtonsantana
@railtonsantana 6 лет назад
Hi, First I would like to thanks for all excelltens videos. Did you finish advanced course ? Thanks
@cristiansegattini
@cristiansegattini 6 лет назад
web api with token auth and angular2?
@IAmTimCorey
@IAmTimCorey 6 лет назад
I've been debating how to do that. I like showing WebAPI in a real-world context like this. The problem I have is that I don't want to have to teach Angular in order to show off WebAPI. I was hoping to use a simpler JavaScript UI. I just haven't landed on one yet. I like the suggestion. I just need to figure out how to make it accessible.
@WorstDeveloper
@WorstDeveloper 6 лет назад
Vue is awesome. You can either use a simple version of it by linking to a CDN, or you can build it with an npm tool (vue-cli) for advanced features. Vue is really the most beginner friendly JS framework out there right now imo and it's very usable for advanced applications as well (I use it at work).
@IAmTimCorey
@IAmTimCorey 6 лет назад
I'm actually looking to transition my company over to using Vue (we use AnguarlJS right now) because of its simplicity. I'm still concerned about all that you need to learn (npm, bower, webpack, etc.) or at least that you are tempted to learn if you go further. I try to keep things as focused as possible. I'd love to do just a jQuery front end since it is so simple but I don't know that that solution is real-world enough to be valid. Vue might be the best option.
@WorstDeveloper
@WorstDeveloper 6 лет назад
You don't need npm, bower, webpack or any of that to try out Vue. But if you want to build a real application with a super nice structure, then you need npm and webpack. But the vue-cli sets everything up for you automatically. You just type in "vue init webpack project-name". And their Discord channel is really helpful as well if you got any questions.
@LuigiZambetti
@LuigiZambetti 6 лет назад
So you don't like Angular Tim?
@anishgopalk4083
@anishgopalk4083 5 лет назад
Watched a few of your videos and must say that i have never seen anyone teach the way you do. Absolutely great work, and thanks!
@IAmTimCorey
@IAmTimCorey 5 лет назад
You are most welcome. Thanks for watching.
@lilyba1
@lilyba1 4 года назад
I love your videos. They are perfect for me. I learn even more deep knowledge of C# although I have been working C# for 10 years. Your videos are understandable and help me with my coding. Thanks for your work.
@IAmTimCorey
@IAmTimCorey 4 года назад
You are welcome. I am glad they are helpful.
@WorstDeveloper
@WorstDeveloper 6 лет назад
Noooooo. I was so excited when I saw this video, but then you picked .NET Framework instead of .NET Core. :( Now I'm so sad. Do you know any good tutorials for .NET Core 2.0 Web API except for Microsoft's own docs? I have built one Web API with .NET Core and it was pretty nice, but I would like a good tutorial for it.
@IAmTimCorey
@IAmTimCorey 6 лет назад
lol, yeah, I figured there would be a few people that felt this way. Never fear, I will be releasing videos on .NET Core, especially as it relates to WebAPI. I just needed to do a good foundational introduction to WebAPI and that means the full framework. I don't know of other tutorial out there on it. Part of the problem is that it is so new and has changed so much that it is hard to get a good tutorial out there before it becomes obsolete.
@WorstDeveloper
@WorstDeveloper 6 лет назад
Okey, I will be looking forward to checking out the .NET Core version then. :) My experience with .NET Core so far has been really good.
@EightSixx
@EightSixx 6 лет назад
looking forward to it!!! keen on the .netcore 2.0 webapi
@vkumbaji2010
@vkumbaji2010 4 года назад
Tim Corey thank you for the super tutorial on WebAPI, I have already got some real time experience with C# Web APIs, your tutorial is like a reference guide to go back to even for experienced API developers. - Vijaya Laxmi.
@IAmTimCorey
@IAmTimCorey 4 года назад
I am glad they are so helpful.
@kholoudlearning9669
@kholoudlearning9669 2 года назад
The tutorial is perfect! I understood Web API's better now. Thank you so much
@dhruvpanchal9010
@dhruvpanchal9010 3 года назад
A perfect entry point for anyone who wants to start with web api..👍👍👍
@IAmTimCorey
@IAmTimCorey 3 года назад
I agree!
@jasper5016
@jasper5016 5 лет назад
Thanks a lot Tim! You are a life saver. I wish you have covered this WebApi with Databases. I am just stuck on how to integrate database with it.
@IAmTimCorey
@IAmTimCorey 5 лет назад
Check out my TimCo Retail Manager series. That uses a WebAPI project as the middle tier and it accesses a SQL database. At the end of the day, though, it is no different than a desktop project. Data access works the same way regardless of the project type.
@joyngoiri1248
@joyngoiri1248 3 года назад
Many thanks from Kenya. Youre inspiring lives
@IAmTimCorey
@IAmTimCorey 3 года назад
You are most welcome. Thanks for watching.
@TonyLauraChan
@TonyLauraChan 4 года назад
Nice Intro to WebAPI -- enough depth to keep it interesting but so much to be overwhelming. Thank you! Maybe at the end of your video you can suggest next steps or the best choice of your videos to watch next?
@IAmTimCorey
@IAmTimCorey 4 года назад
It is hard to recommend a next step in a video, since usually that step doesn't exist yet or it depends on the user. However, I do have a video outlining a good learning path: ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-LUv20QxXjfw.html
@perlepes100
@perlepes100 3 года назад
I've been watching your videos for 2-3 days and I'm very excited with the way you explain all these topics. You make it look so easy.... keep going man und thank you very much for all this help!!!
@IAmTimCorey
@IAmTimCorey 3 года назад
Glad you like them!
@rheuser1963
@rheuser1963 3 месяца назад
Great video. Gave me just the right amount of information. I now have a much better understanding of WebApi. I am working on a webapi at my work and so this course really helped. Thanks for doing it!
@IAmTimCorey
@IAmTimCorey 3 месяца назад
Glad it was helpful!
@cbrown940
@cbrown940 4 года назад
Wonderfully done. Even liked how you didn't edit out the api/put walkthrough to demonstrate how the request is processed when the put actually writes. Very nice, sir!
@IAmTimCorey
@IAmTimCorey 4 года назад
Thank you!
@kylegivler8372
@kylegivler8372 3 года назад
Thanks for the routing and parameter explanation couldn't find a good answer elsewhere
@IAmTimCorey
@IAmTimCorey 3 года назад
Glad it helped!
@cagataysert1995
@cagataysert1995 6 лет назад
Thank you very much for the tutorial sir. It helps me a lot to understand WepAPI. I am an intern in one company and have to learn WebAPI. I was struggling with some points which I could not figure out but now I understand clearly. Again, thank you so much sir to make this video and spend ur time.
@IAmTimCorey
@IAmTimCorey 6 лет назад
I am glad I helped clear things up for you.
@andreaaldrich4046
@andreaaldrich4046 4 года назад
I just started a job as a dev and basically have to learn this in one day.
@girornsveinsson7970
@girornsveinsson7970 4 года назад
A video about SOAP web service would be very nice too. I know it is maybe a little out of fashion but sometimes such things are needed too.
@IAmTimCorey
@IAmTimCorey 4 года назад
I will add it to the list. Thanks for the suggestion.
@vincenty168
@vincenty168 3 года назад
Dude, you're so knowledgeable. It's greatly appreciated it. I learned new things every time I watched your video.
@IAmTimCorey
@IAmTimCorey 3 года назад
Glad to hear it!
@kudakwashemundangepfupfu567
@kudakwashemundangepfupfu567 3 года назад
All the way from Zimbabwe, thank Tim, I feel like I have a better understanding on Web APIs now. Thank you for the Tutorial
@IAmTimCorey
@IAmTimCorey 3 года назад
Great to hear!
@katkovdify
@katkovdify 2 года назад
Thank you for the great tutorial! Minor addition... If you made your list static (without a constructor), you would be able to get all four people with your Get call after you added a person with your Post call. static List people = new List() { new Person {FirstName = "Tim", LastName = "Corey", Id = 1 }, new Person { FirstName = "Sue", LastName = "Storm", Id = 2 }, new Person { FirstName = "Bilbo", LastName = "Baggins", Id = 3 } };
@IAmTimCorey
@IAmTimCorey 2 года назад
Yep, that would have worked.
@Johnn84
@Johnn84 6 лет назад
I really appreciate this video. I like that you keep it simple, and don't introduce to many new things at the same time. For instance it was good that you didn't also talked about EF and other stuff. Good job!
@IAmTimCorey
@IAmTimCorey 6 лет назад
Thank you. I am glad you appreciated the video.
@FroboDaggins
@FroboDaggins 3 года назад
37:29 The people get call using id will only work if that data is unique which it should be in theory since it's a user identifier. If it's not and you might get back multiple rows or want to confirm it is unique you should be using: public List Get(int id) { return people.Where(x => x.Id == id).ToList(); } Great tutorial though, just adding this here to assist others.
@valekhya
@valekhya 3 года назад
It's 3:25am in the morning & I completed your video. It was helpful to scratch the surface of creating a web api. One thing I was looking forward in this video was connecting it to a SQL DB. None the less, I enjoyed the knowledge provided by you and I'm greatful. Also, I happen to notice that you reply to most of your comments and that's so kind of you. Hope you have a good day Tim !! ^_^
@IAmTimCorey
@IAmTimCorey 3 года назад
These two videos should help: ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-Et2khGnrIqc.html and ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-24iujm49y10.html The first will show you how to do SQL data access in C#. The second will talk you through how knowing SQL data access in one UI should be the same as knowing it for any UI.
@valekhya
@valekhya 3 года назад
@@IAmTimCorey Thanks a lot Tim!!
@bb579774
@bb579774 3 года назад
Thank you so much for this! I have looked at so many other videos that are not at all easy to follow along. I wish I found this video sooner!
@IAmTimCorey
@IAmTimCorey 3 года назад
Glad it was helpful!
@stefenng4479
@stefenng4479 2 года назад
A comprehensive step-by-step tutorial ! This is a great help, thank you for sharing.
@IAmTimCorey
@IAmTimCorey 2 года назад
You are welcome.
@vishnuraj1792
@vishnuraj1792 3 года назад
Awesome video tim.....each and every single word understandable...and inforamation you provided in this video just amazing....thank you
@IAmTimCorey
@IAmTimCorey 3 года назад
Glad it was helpful!
@TheIcecoldorange
@TheIcecoldorange 4 года назад
ok so I rarely ever make any comments on tutorials. But I must say: +9000 for your distaste of entity framework +9000 for your restful api rabbit hole comment I rarely ever see a professional admit to those things! THANK YOU! I was going insane thinking I was the only one who feels that way.
@IAmTimCorey
@IAmTimCorey 4 года назад
lol, I'm glad to tell you that you are not the only one. There are a lot of us out there. In fact, when I speak at conferences with database administrators, they overwhelmingly dislike EF.
@CyberTurd
@CyberTurd 6 лет назад
Thank you Tim - your videos are so well explained and are a pleasure to watch and learn with. Thank you for your efforts - you're a natural communicator.
@IAmTimCorey
@IAmTimCorey 6 лет назад
I appreciate the kind words.
@alpersilistre
@alpersilistre 6 лет назад
Thank you for creating and sharing the tutorial. Also, your comments are really valuable about why should we use web API and other tips when creating web applications.
@IAmTimCorey
@IAmTimCorey 6 лет назад
I am glad you found this content valuable.
@YTBHA
@YTBHA 5 лет назад
Hi Tim, 46:35 we can make the List static, and populate it in the static constructor of the controller, so it wouldn't be overwritten on every call : public class PeopleController : ApiController { static List People = new List(); static PeopleController() { People.Add(new Person { FirstName = "aaaa", LastName = "bbbb", Id = 1 }); People.Add(new Person { FirstName = "cccc", LastName = "dddd", Id = 2 }); People.Add(new Person { FirstName = "eeee", LastName = "ffff", Id = 3 }); } ........ } Hope this helps !
@IAmTimCorey
@IAmTimCorey 5 лет назад
Yep, that will work.
@torrvic1156
@torrvic1156 Год назад
This video was so insightful for me! It was like…I don’t know. A breath of fresh air. I am so happy to find your channel. You videos are so detailed and really show design of applications which used in real world. You are a genius Tim! Like a Mozart of programming! P.S. I would definitely buy your course if Visa or Mastercard worked in my country. But they are not working and for a really good reason. When I’ll move to a different location I’ll subscribe to your Patreon.
@IAmTimCorey
@IAmTimCorey Год назад
I am glad they have been helpful.
@liorbm1
@liorbm1 4 года назад
Amazing vid ! would love to watch more comprehensive vids about Microservices with WebAPI
@IAmTimCorey
@IAmTimCorey 4 года назад
They are coming.
@RalfsBalodis
@RalfsBalodis 4 года назад
Hello. Thank you. I combined this video with your "data access txt files" video to make a "fake database" so to speak and I was actually able to GET and POST data back and forth, reading data from txt file as well as writing into it. I also managed to make use of PUT method (which you kind a skipped in this video) updating existing object in a list. Actually deleting and replacing (inserting in position from deleted obj) it completely. Not updating specific property of it. :D. No clue how lists work. Yet. At first I thought this video is not what I need, because I started new api project with core.5 and the template was different form this one in the video. This can be very discouraging if you are just starting out and have 0 exp in c#. Still I did watch it and I recommend anyone else, if one has doubts, to do so. For a beginner this is well enough explained. Looking back at the code I wrote, it is hard to believe that I did it myself. (with a help and info from these videos) Very well narrated, informative, clear , relaxing. Beginner friendly. Also, I'm amazed you even have time to create this content. Let alone to respond to youtube comments. Insane. It probably takes pa lot of preparation to make sure everything will work at the end and knowing what aspects to explain to the audience. Amazing! I don't know if you care for suggestions. You must be a busy man. However, I feel like it would be great if your video description contained time index. that would be great for rewatching purposes when you are searching for that one bit... and wonder where it was. was it even in this video ... :D Then again, I understand that you can't really talk about one thing without talking about another and might touch on some topic only very briefly... Anyway, great content! Thank you very much !
@IAmTimCorey
@IAmTimCorey 4 года назад
I am glad you are enjoying the content. As for time indexes, that is one thing I don't have time for right now. However, if you submit time indexes for videos, I'll add them to the description (after reviewing them, of course).
@pixsaoul1494
@pixsaoul1494 4 года назад
great tutorial, fun thing is the "couldn't you guess" on the xml doc is exactly the reason I'm starting to remove most of my comments when they're not part of a public api or not explicit. If your naming convention is clear enough, you don't need it :D
@IAmTimCorey
@IAmTimCorey 4 года назад
Yep.
@essaalu7047
@essaalu7047 Год назад
great, simple, and perfect introductory tutorial. thank you
@IAmTimCorey
@IAmTimCorey Год назад
You're very welcome!
@luterokinkade4882
@luterokinkade4882 6 лет назад
I was literally just looking into learning some WebAPI stuff, after just watching your Caliburn Micro video. (godsend!) Fantastic stuff as always, can't wait to watch this in detail.
@IAmTimCorey
@IAmTimCorey 6 лет назад
Cool! Glad the timing worked out for you.
@rohitjagannath5331
@rohitjagannath5331 5 лет назад
simple and amazing video to learn WebAPI. This is especially good for beginners. Thanks Tim.
@IAmTimCorey
@IAmTimCorey 5 лет назад
You are most welcome. Thanks for watching.
@henryr1367
@henryr1367 3 года назад
Awesome video. You gave excellent hints (documentation, creating your own routes)
@IAmTimCorey
@IAmTimCorey 3 года назад
Glad you enjoyed it!
@PaulSebastianM
@PaulSebastianM 3 года назад
3:14 Slight correction: In 2002, Microsoft released .NET Framework, a development platform for creating Windows apps. Today .NET Framework is at version 4.8 and is still supported by Microsoft. In 2014, Microsoft began writing a cross-platform, open-source successor to .NET Framework. This new implementation of .NET was named .NET Core until it reached version 3.1. The next version after .NET Core 3.1 is .NET 5.0, which is currently in preview. Version number 4 was skipped to avoid confusion between this implementation of .NET and .NET Framework 4.8. The name "Core" was dropped to make clear that this is now the main implementation of .NET. The future one and only framework is going to be called .NET 5, but much of the documentation for .NET 5 still has references to ".NET Core" or ".NET Framework". In addition, "Core" remains in the names ASP.NET Core and Entity Framework Core. Some documentation also refers to .NET Standard. The .NET Standard is an API specification that lets you develop class libraries for multiple implementations of .NET. Source: docs.microsoft.com/en-us/dotnet/core/introduction
@IAmTimCorey
@IAmTimCorey 3 года назад
This was recorded in 2017, before .NET Core had a great parity with the .NET Framework. Now, I definitely recommend starting with ASP.NET Core API instead of WebAPI.
@HanselGraciadelBusto
@HanselGraciadelBusto 3 года назад
Excellent tutorial to get started on this topic ... thanks Tim!
@IAmTimCorey
@IAmTimCorey 3 года назад
You are welcome.
@vanttildet3069
@vanttildet3069 3 года назад
Thank you so much for your time to make this great video. Very helpful, and lookfoward to see a .net core version with SQLServer.
@rutpurba7586
@rutpurba7586 2 года назад
You've explained the process in an obvious way... thank you so much, GURU. 💯 See... Now you have a new subscriber, haha!
@IAmTimCorey
@IAmTimCorey 2 года назад
You are welcome.
@makhernz14
@makhernz14 6 лет назад
Hi Tim thank you for the free tutorials that you've been sharing for free it really helps me a lot, I'm also hoping for your full project based course on ASP.NET Web API with user Login and stored procedure at backend, and I'll surely purchase that course! Thank you Tim!
@IAmTimCorey
@IAmTimCorey 6 лет назад
That may be coming in the future. We will see.
@tedkrapf1302
@tedkrapf1302 5 лет назад
Thanks Tim, GREAT kick starter video... so much good info and really appreciate covering some basics as a vital refresher. Keep up the great work!
@IAmTimCorey
@IAmTimCorey 5 лет назад
You are welcome.
@escalera.tech2018
@escalera.tech2018 4 года назад
Thanks for the detailed and step by step coverage. Like the general coding insights that you provide here and there..
@IAmTimCorey
@IAmTimCorey 4 года назад
You are most welcome. Thanks for watching.
@email195
@email195 4 года назад
A big THANK YOU Tim! This video was great! You kept it clean and I was able to follow along easily. I learned so much!
@IAmTimCorey
@IAmTimCorey 4 года назад
You are welcome.
@davidhodgson3574
@davidhodgson3574 6 лет назад
Not much I can say other than fantastic. Ok some more.... very well presented, cut to the chase and gives perfect overview of 99% of what most people would need to know. I am now looking for your other tutorials :-)
@IAmTimCorey
@IAmTimCorey 6 лет назад
I appreciate the kind words.
@zhipengjiang3804
@zhipengjiang3804 4 года назад
Tim, one suggestion is having a new video about the web api with entity framework, that the api have a connection to database and returns data when the api is called(get) and also include delete, put, and post on database operations. I think this is further step of this video
@IAmTimCorey
@IAmTimCorey 4 года назад
I don't typically include EF in my videos, since I'm not a fan. I do make use of WebAPI in the TimCo Retail Manager series.
@zhipengjiang3804
@zhipengjiang3804 4 года назад
@@IAmTimCorey Thanks for reply and I respect your opinion! Looking forward to see more good videos :D
@nitesh.kumarsaw
@nitesh.kumarsaw 4 года назад
Good tutorial to understand the basic of Web API. I will appreciate if you create a video on the best practices of .NET project.
@IAmTimCorey
@IAmTimCorey 4 года назад
Thanks for the suggestion.
@aiswaryasshenoi
@aiswaryasshenoi 2 года назад
Thank you so much for this tutorial. Very much helpful and informative. Kudos to you !!!!!!! Keep up the good work.
@tomthelestaff-iamtimcorey7597
@tomthelestaff-iamtimcorey7597 2 года назад
Thank you for the kind words and encouragement
@smjtechie9496
@smjtechie9496 4 года назад
Thank you Tim Corey... Good Explanation and very easy to grasp the concept... Keep doing good work....👍
@IAmTimCorey
@IAmTimCorey 4 года назад
You are welcome.
@alexcurtisdev
@alexcurtisdev 4 года назад
Really good video Tim! Didn't know about the documentation ability, can see it has many benefits, especially for support/clients in debugging issues.
@IAmTimCorey
@IAmTimCorey 4 года назад
Thank you!
@muralidharmoka
@muralidharmoka 3 года назад
Thank you so much, crisp and clear.
@IAmTimCorey
@IAmTimCorey 3 года назад
You are welcome.
@jamesbarker1994
@jamesbarker1994 3 года назад
Excellent video, looking for more on this channel
@IAmTimCorey
@IAmTimCorey 3 года назад
More to come!
@djangounchained7314
@djangounchained7314 4 года назад
Thanks Tim!!! building up my API skills due to your amazing teaching techniques ...
@IAmTimCorey
@IAmTimCorey 4 года назад
You are welcome.
@TRUNKER76
@TRUNKER76 4 года назад
Just came across your channel today. You are an excellent teacher, man! Really great videos, very straightforward and easy to understand. You have a new subscriber! :)
@IAmTimCorey
@IAmTimCorey 4 года назад
I appreciate the kind words.
Далее
C# Dependency Injection with Autofac
54:45
Просмотров 294 тыс.
Turns out REST APIs weren't the answer (and that's OK!)
10:38
Brutally honest advice for new .NET Web Developers
7:19
10 C# Libraries To Save You Time And Energy
33:59
Просмотров 206 тыс.
microsoft doubles down on recording your screen
10:00
It's time for change, it's time for Linux.
10:53
Просмотров 268 тыс.
ASP.NET Core Crash Course - C# App in One Hour
1:00:44
Просмотров 1,5 млн