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

Поділитися
Вставка
  • Опубліковано 27 сер 2024

КОМЕНТАРІ • 1 тис.

  • @proostdaantv
    @proostdaantv 5 років тому +167

    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!

  • @lilyayora
    @lilyayora 5 років тому +141

    When I find myself in times of trouble,
    Tim Corey comes to me
    And fills me with his wisdom
    On ASP.

    • @IAmTimCorey
      @IAmTimCorey  5 років тому +10

      I'm glad my content has helped you out.

    • @AbelDamajAnathemA
      @AbelDamajAnathemA 4 роки тому +3

      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!

  • @michaelcdarby
    @michaelcdarby 3 роки тому +10

    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

  • @mohsenjafari634
    @mohsenjafari634 4 роки тому +2

    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.

  • @TheTonyBTube
    @TheTonyBTube 3 роки тому +5

    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 роки тому +2

      I am glad my content has been helpful.

  • @jimhawkins8360
    @jimhawkins8360 6 років тому +5

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

  • @malshangunawardana812
    @malshangunawardana812 3 роки тому +2

    The only 1 hour tutorial that I have watched from start to end without any skips so far

  • @aqib8306
    @aqib8306 3 роки тому +1

    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 роки тому +15

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

  • @frankfernandez1957
    @frankfernandez1957 4 роки тому +3

    I cannot stress enough how big of a help this video has been, thank you so much for sharing!!!!!!!!

  • @Bob-ts2tu
    @Bob-ts2tu 5 років тому +1

    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 років тому +1

      I'm glad you are getting a lot of value out this content.

  • @junzuowan4906
    @junzuowan4906 Рік тому +1

    Tim, I watched so many of your videos in the last several years. You are an excellent teacher! Thank you indeed!!!!!!!!!!!!!!!!!!!

  • @troybryantIII
    @troybryantIII 6 років тому +64

    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 років тому +49

      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 років тому +3

      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 років тому +2

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

  • @LukeAvedon
    @LukeAvedon 4 роки тому +11

    You are an AMAZING, AMAZING teacher. Thank you for all your hard work on these invaluable videos. Saints live among us.

    • @IAmTimCorey
      @IAmTimCorey  4 роки тому +1

      I appreciate the kind words.

  • @dogburrito
    @dogburrito Рік тому

    Excellent intro to Web API, GET and PUT, API Routing, Postman, Automatic Documenting, Deployment, Automatic Help.

  • @roncho0o28
    @roncho0o28 4 роки тому +2

    I hope Tim is getting paid enough to help so many people on that high of a level. GG man.

    • @IAmTimCorey
      @IAmTimCorey  4 роки тому +2

      I appreciate the kind words.

  • @JHatLpool
    @JHatLpool 4 роки тому +3

    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.

  • @nasben66
    @nasben66 5 років тому +6

    Excellent stuff, you make hard topics so simple, that's what I call professionalism

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

  • @dengfodan1891
    @dengfodan1891 3 роки тому +2

    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.

  • @joetv31
    @joetv31 6 років тому +4

    The c# webapi tutorial is amazing. Thank you so much.

    • @IAmTimCorey
      @IAmTimCorey  6 років тому

      You are most welcome. Thanks for watching.

  • @alexanderkarczewski982
    @alexanderkarczewski982 5 років тому +11

    Tim, you do such a great job on all your vedios. Keep it up. Thanks

  • @ishitavashisht6390
    @ishitavashisht6390 2 роки тому +1

    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 !! :)

  • @TaoLi302
    @TaoLi302 5 років тому +1

    Came over here after watching your MVC tutorial. This is easily one of the best if not the best tutorial series on UA-cam. Subscribed!

    • @IAmTimCorey
      @IAmTimCorey  5 років тому

      I appreciate the kind words.

  • @PunchboxRockers
    @PunchboxRockers 5 років тому +4

    You're an awesome teacher, thanks! You take the time to go through some of the very fine details.

    • @IAmTimCorey
      @IAmTimCorey  5 років тому +1

      You are most welcome. Thanks for watching.

  • @sarikaransubhe6562
    @sarikaransubhe6562 6 років тому +4

    Bang on ... Covered all areas right from the start till end, Many Thanks Tim :)

  • @sassinejaoude460
    @sassinejaoude460 5 років тому +2

    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.

  • @EmeraldCityMagician
    @EmeraldCityMagician 3 роки тому +1

    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!

  • @jerkybagzify
    @jerkybagzify 4 роки тому +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?

  • @STUPIDYOUTUBE_HIDINGMSGS
    @STUPIDYOUTUBE_HIDINGMSGS 4 роки тому +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 роки тому +1

      Personally, I like the pace and the narrative. Gives the info a chance to settle in

    • @STUPIDYOUTUBE_HIDINGMSGS
      @STUPIDYOUTUBE_HIDINGMSGS 2 роки тому +1

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

  • @joyngoiri1248
    @joyngoiri1248 3 роки тому +1

    Many thanks from Kenya. Youre inspiring lives

    • @IAmTimCorey
      @IAmTimCorey  3 роки тому +1

      You are most welcome. Thanks for watching.

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

  • @jean-marcdisano9370
    @jean-marcdisano9370 6 років тому +10

    Not a fan of Entity Framework + fan of Lord of the rings => Subscribed! :)
    Excellent video and teaching skills BTW

    • @IAmTimCorey
      @IAmTimCorey  6 років тому +2

      lol I'm glad you enjoyed the video.

  • @coyotemoon722
    @coyotemoon722 5 років тому +10

    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 років тому +12

      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.

  • @fatimaajij428
    @fatimaajij428 5 років тому +1

    your tutorials are like eating Pizza and watching your favourite TV show. Amazing

  • @medranoa1490
    @medranoa1490 4 роки тому

    Just finished the Asp.net MVC video. Amazing way to teach. I've learned so much today. Thanks a lot.

  • @_rcs
    @_rcs 5 років тому +3

    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 років тому +3

      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.

  • @WBraxx
    @WBraxx 4 роки тому +3

    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 роки тому +2

      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!

  • @rameshvegi94
    @rameshvegi94 3 роки тому

    Thank you Tim.
    I hated to study since i was a kid, But i enjoyed every moment of this Tutorial !

  • @dhruvpanchal9010
    @dhruvpanchal9010 3 роки тому

    A perfect entry point for anyone who wants to start with web api..👍👍👍

  • @binitkumar4075
    @binitkumar4075 5 років тому +3

    Make a video over authentication process of web api

    • @IAmTimCorey
      @IAmTimCorey  5 років тому +2

      It's on the list. Thanks for the suggestion.

  • @luigizambetti18
    @luigizambetti18 6 років тому +11

    Hi Tim, could you make a similar video for ASP.NET Web API Core too?

    • @IAmTimCorey
      @IAmTimCorey  6 років тому +6

      Yep, it is on the docket. I just need to get it right, so it won't be right away.

    • @zeeshanahmedaman
      @zeeshanahmedaman 6 років тому +1

      It will be really helpful for me too

    • @vincentsolon3216
      @vincentsolon3216 5 років тому +2

      I'm waiting for this

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

  • @kholoudlearning9669
    @kholoudlearning9669 2 роки тому

    The tutorial is perfect! I understood Web API's better now. Thank you so much

  • @PierreGadea
    @PierreGadea 6 років тому +4

    Will you be doing a full project based course on ASP.NET Web API?

    • @IAmTimCorey
      @IAmTimCorey  6 років тому +9

      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 років тому +1

      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 років тому +4

    web api with token auth and angular2?

    • @IAmTimCorey
      @IAmTimCorey  6 років тому +2

      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 років тому +1

      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 років тому +1

      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?

  • @lilyba1
    @lilyba1 4 роки тому +1

    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 роки тому +1

      You are welcome. I am glad they are helpful.

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

  • @WorstDeveloper
    @WorstDeveloper 6 років тому +4

    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 років тому +3

      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 років тому +1

      looking forward to it!!! keen on the .netcore 2.0 webapi

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

  • @vincenty168
    @vincenty168 3 роки тому

    Dude, you're so knowledgeable. It's greatly appreciated it. I learned new things every time I watched your video.

  • @vkumbaji2010
    @vkumbaji2010 4 роки тому +1

    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.

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

  • @stefenng4479
    @stefenng4479 2 роки тому

    A comprehensive step-by-step tutorial ! This is a great help, thank you for sharing.

  • @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 років тому +1

      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.

  • @Johnn84
    @Johnn84 6 років тому +1

    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.

  • @kylegivler8372
    @kylegivler8372 3 роки тому

    Thanks for the routing and parameter explanation couldn't find a good answer elsewhere

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

  • @jasper5016
    @jasper5016 5 років тому +1

    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 років тому +1

      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.

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

  • @LarryPeteet
    @LarryPeteet 3 роки тому +1

    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!

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

  • @cbrown940
    @cbrown940 4 роки тому +1

    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!

  • @essaalu7047
    @essaalu7047 Рік тому

    great, simple, and perfect introductory tutorial. thank you

  • @cagataysert1995
    @cagataysert1995 6 років тому +1

    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 років тому +2

      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.

  • @alpersilistre
    @alpersilistre 6 років тому +1

    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.

  • @CyberTurd
    @CyberTurd 6 років тому +2

    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.

  • @liorbm1
    @liorbm1 4 роки тому +2

    Amazing vid !
    would love to watch more comprehensive vids about Microservices with WebAPI

  • @vishnuraj1792
    @vishnuraj1792 3 роки тому

    Awesome video tim.....each and every single word understandable...and inforamation you provided in this video just amazing....thank you

  • @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: ua-cam.com/video/LUv20QxXjfw/v-deo.html

  • @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: ua-cam.com/video/Et2khGnrIqc/v-deo.html and ua-cam.com/video/24iujm49y10/v-deo.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!!

  • @HanselGraciadelBusto
    @HanselGraciadelBusto 3 роки тому

    Excellent tutorial to get started on this topic ... thanks Tim!

  • @rohitjagannath5331
    @rohitjagannath5331 5 років тому +1

    simple and amazing video to learn WebAPI. This is especially good for beginners. Thanks Tim.

    • @IAmTimCorey
      @IAmTimCorey  5 років тому +1

      You are most welcome. Thanks for watching.

  • @henryr1367
    @henryr1367 3 роки тому

    Awesome video. You gave excellent hints (documentation, creating your own routes)

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

  • @girornsveinsson7970
    @girornsveinsson7970 4 роки тому +1

    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.

  • @ohmyohmyohmy2
    @ohmyohmyohmy2 5 років тому

    Your videos are second to none. Thank you

  • @saheb1981
    @saheb1981 4 роки тому

    Too good Tim. Simple crisp and to the point.

    • @IAmTimCorey
      @IAmTimCorey  4 роки тому +1

      Thank you!

    • @saheb1981
      @saheb1981 4 роки тому

      @@IAmTimCorey pls post something on microservices. Really struggling with basics

  • @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 роки тому +1

      You are most welcome. Thanks for watching.

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

  • @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 роки тому +1

      Yep, that would have worked.

  • @fredricjoy2503
    @fredricjoy2503 3 роки тому

    You deserve a bigger thumps-up.

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

  • @PaulSebastianM
    @PaulSebastianM 3 роки тому +1

    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 роки тому +1

      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.

  • @jamesbarker1994
    @jamesbarker1994 3 роки тому

    Excellent video, looking for more on this channel

  • @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 роки тому +1

    You've explained the process in an obvious way... thank you so much, GURU. 💯
    See... Now you have a new subscriber, haha!

  • @tedkrapf1302
    @tedkrapf1302 5 років тому +1

    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!

  • @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 роки тому +1

      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).

  • @makhernz14
    @makhernz14 6 років тому +1

    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.

  • @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  Рік тому +1

      I am glad they have been helpful.

  • @djangounchained7314
    @djangounchained7314 4 роки тому

    Thanks Tim!!! building up my API skills due to your amazing teaching techniques ...

  • @hansleonhardt7653
    @hansleonhardt7653 4 роки тому

    very helpful.... clear.... straight... Thanks a lot

  • @muralidharmoka
    @muralidharmoka 3 роки тому

    Thank you so much, crisp and clear.

  • @smjtechie9496
    @smjtechie9496 4 роки тому

    Thank you Tim Corey... Good Explanation and very easy to grasp the concept...
    Keep doing good work....👍

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

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

  • @aiswaryasshenoi
    @aiswaryasshenoi 2 роки тому

    Thank you so much for this tutorial. Very much helpful and informative. Kudos to you !!!!!!! Keep up the good work.

  • @CheenaSingh
    @CheenaSingh 3 роки тому

    Great video Tim, many thanks.

  • @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 роки тому +2

      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.