How to create a Web API with ASP.NET Core | C# tutorial for beginners

SdĂ­let
VloĆŸit
  • čas pƙidĂĄn 27. 07. 2024
  • Learn how to create a Web API with ASP.NET CORE and C#.
    The API will expose endpoints for Creating, Reading, Updating, or Deleting books.
    Source code: github.com/techwithpat/Web-AP...
    Buy me a coffee: www.buymeacoffee.com/itsmepat...
    Subscribe: czcams.com/users/TechWithPat...
    🔹 Tools I used :
    ° Visual Studio 2019
    ° ASP.NET CORE
    ° .NET 5
    ° Entity Framework Core
    ° SQLite
    ° Swagger UI
    🕑 Timestamp :
    00:00 Intro
    00:52 Creating the Web API project
    01:35 Creating the Data Access Layer
    07:15 Creating an API controller
    16:10 Outro
    🌎 Where to find me:
    ° Github: github.com/techwithpat
    ° LinkedIn: / patrick-tshibanda-4310...
    #webapi #aspnetcore #csharp #tutorial

Komentáƙe • 167

  • @ve2tax
    @ve2tax Pƙed 3 lety +39

    Straight to the point and nicely done video. Thanks so much!

  • @mairbek
    @mairbek Pƙed 3 lety +7

    Straight to the point, with no unnecessarely long intros and prologues. I can't thank you enough, Patrick. Great tutorial! Cheers

  • @m.m1709
    @m.m1709 Pƙed 3 lety +2

    I was struggling to understand these concepts, you made them very easy to understand! Thank you.

  • @dungle-wh9td
    @dungle-wh9td Pƙed rokem

    Honestly, I searched a lot for this topic and most of the videos will talk about its concepts, definition, what it is for etc - they are not what I need. but every minute of this video is what I need :) - thank you!

  • @GusInManhattan
    @GusInManhattan Pƙed 2 lety

    Thanks, clean and to the point. All in 16 minutes; perfect!!

  • @SeverinDK
    @SeverinDK Pƙed 3 lety +1

    Great tutorial! And your French/Belgium accent only adds to the experience. Thank you!

  • @cjj7107
    @cjj7107 Pƙed 3 lety +4

    Just the tutorial I needed. Thanks Pat!

  • @Defense89
    @Defense89 Pƙed 2 lety +1

    one of the best video ive ever seen to explain the basics of api crud and repositories. Well done!!!!

  • @DutchCorp100
    @DutchCorp100 Pƙed rokem

    for a guy thats new to c# this is the best tutorial i have seen. keep up the great work

  • @hobbiesfordays499
    @hobbiesfordays499 Pƙed 3 lety +1

    This is a great video. Gives me enough to complete my project. Thank you!

  • @talktodale
    @talktodale Pƙed 2 lety

    This tutorial is well put together and worked first time! Thank you TechWithPat !

  • @JLRide
    @JLRide Pƙed 3 lety +2

    Great job! Straight to the point. Thank you.

  • @chenriquelico
    @chenriquelico Pƙed 3 lety

    what a wonderful explanation bro! cheers from Brazil and keep doing this great job.

  • @ashishpurohit328
    @ashishpurohit328 Pƙed 3 lety

    Just the tutorial I needed since long. Many many Thanks Pat!
    Love from India :)

  • @rajkumararora7366
    @rajkumararora7366 Pƙed rokem

    Very well explained without any extra unnecessary details ! Thanks !

  • @jacobbeynon6943
    @jacobbeynon6943 Pƙed 2 lety

    Fab tutorial, Easily applicable to many other situations! Thank You TechWithPat :D

  • @Firecloak
    @Firecloak Pƙed 3 lety

    easy, straightforward to follow. thank you for the tutorial

  • @deivid77
    @deivid77 Pƙed 2 lety

    I love this video. Thank you, Pat!

  • @idowutosinmichael9120
    @idowutosinmichael9120 Pƙed 2 lety

    Sweet and Direct.
    No errors...I even used IServices Abstraction, and MySQL DB

  • @mohamadzabiulla5917
    @mohamadzabiulla5917 Pƙed 2 lety

    very clear to the point, worth of 16min.. Thank you so much

  • @dheerajrallabandi4521
    @dheerajrallabandi4521 Pƙed 3 lety

    Crystal clear. Thanks for the video, it's useful.

  • @DayoAjayi
    @DayoAjayi Pƙed 3 lety

    Best coding standards and straight to the point. I Liked and Subscribed. Thanks!

    • @DayoAjayi
      @DayoAjayi Pƙed 3 lety

      May I suggest a follow-up to this video for how to put this application into a Docker container using docker-compose?

  • @batuhanyerinde937
    @batuhanyerinde937 Pƙed 3 lety

    Great video. Thanks Pat!

  • @ChandanK_
    @ChandanK_ Pƙed 2 lety +1

    Great video and your style of explanation is superb! Thanks a ton!

  • @sherdil1487
    @sherdil1487 Pƙed 3 lety +1

    Just the tutorial I needed. Thanks

  • @davidemmanuel3001
    @davidemmanuel3001 Pƙed 2 lety

    OMG. I never watched more explanatory and simpler video before. This is awesome. Please can you teach api authentication like this?

  • @sachingupta2859
    @sachingupta2859 Pƙed 3 lety

    Nice tutorial, straight forward explaination, easy to understand.

  • @ridimaudasi3045
    @ridimaudasi3045 Pƙed 3 lety +1

    Big thank you Pat! :D

  • @bhavintanna2758
    @bhavintanna2758 Pƙed 3 lety

    Great!!!! To the point, nice explanation. Thanks for the tutorial. :)

  • @codeflowerhorn
    @codeflowerhorn Pƙed 3 lety

    Well explained easily to understand. keep going mate

  • @rckmuli
    @rckmuli Pƙed 2 lety

    Great tutorial and very easy to understand.good job Pat

  • @brandonparkinson3924
    @brandonparkinson3924 Pƙed 2 lety

    Fantastic guide - well done!

  • @DebasmitSamal294
    @DebasmitSamal294 Pƙed 3 lety

    Classic. It made my day. what am amazing lecture. So much clear technical subjects

  • @stephenmusau2394
    @stephenmusau2394 Pƙed 2 lety

    Concise is the best word to describe your tutorial.

  • @abdellahoumghar4094
    @abdellahoumghar4094 Pƙed 3 lety +1

    Great Tutorial !!! Thanks Bro

  • @jalanubha
    @jalanubha Pƙed 2 lety

    Very nice and comprehensive!

  • @amilqarkaram2679
    @amilqarkaram2679 Pƙed 3 lety

    This is a truly amazing video, thank you

  • @antipoti
    @antipoti Pƙed 2 lety

    Amazing! Thank you!

  • @marizoneaustria5884
    @marizoneaustria5884 Pƙed 2 lety

    Nice tutorial easy to understand straight forward. Thanks dude im just catching up from webforms to net core.

  • @AjithKumarRS
    @AjithKumarRS Pƙed 3 lety

    Excellent! Thanks.

  • @novak4697
    @novak4697 Pƙed 2 lety

    Perfectly explained! Thank you

  • @zensic
    @zensic Pƙed 2 lety

    Thank you, sir! Super helpful

  • @agustinvallejoaraneda6371

    U are THE BEST!!!
    Thaks so much, so complete and good explained 😁

  • @spragucm
    @spragucm Pƙed 8 měsĂ­ci

    Excellent! Thank you :)

  • @Denvercoder
    @Denvercoder Pƙed 3 lety

    Thanks for this, it's awesome.

  • @Chiendanghochat
    @Chiendanghochat Pƙed 2 lety

    Very very easy to understand, thank you very much

  • @dimags500
    @dimags500 Pƙed 3 lety

    Super Helpful !

  • @zainebmohammed4726
    @zainebmohammed4726 Pƙed 3 lety

    Thank you so much, this video helped me

  • @GunzzYT
    @GunzzYT Pƙed 2 lety

    amazingly explained much appreciated

  • @witchparfait
    @witchparfait Pƙed 2 lety

    Incredible tutorial, thanks

  • @christiantokam1548
    @christiantokam1548 Pƙed 2 lety

    Waouuuu Bro what a good job!! itĂčs the first time for me to understand clearly and simply that notion of api

  • @bjvenkatachalambalajivenka7806

    Thank you PAT GOD BLESS YOU

  • @wymowaiyan6505
    @wymowaiyan6505 Pƙed 2 lety

    one of the best! thank you

  • @ammaryoucef1812
    @ammaryoucef1812 Pƙed 2 lety

    Hi, a great video from a great teacher. I like your explanation ...

  • @gbrbbs
    @gbrbbs Pƙed 2 lety

    Great video, easy to understand, nice job.

  • @chrisjohnson7255
    @chrisjohnson7255 Pƙed 2 lety

    Good Introduction, I appreciate it.

  • @libertim3039
    @libertim3039 Pƙed 2 lety

    You're awesome Pat

  • @rizkyfardiansyahtanjung8863

    It's a nice video sir, and thank you for talking slowly so I could understand you well:)

  • @NareshSinghalTheKing
    @NareshSinghalTheKing Pƙed 2 lety

    It was great !!! very straight

  • @vinaychauhan366
    @vinaychauhan366 Pƙed rokem

    Thanks, Very Helpfull

  • @LuisHernandez-ev5ho
    @LuisHernandez-ev5ho Pƙed rokem

    Good explanation!

  • @farshaadmusic8351
    @farshaadmusic8351 Pƙed 2 lety

    thank you,that was excellent

  • @udithwiratunga9438
    @udithwiratunga9438 Pƙed 3 lety

    Thanks Pat this help me lot

  • @kayun-chan-pit8642
    @kayun-chan-pit8642 Pƙed 3 lety

    Great of the Great. Thank you very much.

  • @CommunistBearFighter
    @CommunistBearFighter Pƙed 3 lety

    Great tutorial!
    PS: Create a short where you say "Why are you running?". You'll get millions of views!! That will be so legendary!

  • @shivaprasad-qm9ck
    @shivaprasad-qm9ck Pƙed 2 lety

    Thank you. It really a great understandable way..

  • @100028237
    @100028237 Pƙed 3 lety

    Thank you for your video. I am learning to develop android app and asp.net core web API.

  • @muxammadrizo3643
    @muxammadrizo3643 Pƙed 2 lety

    Thanks bro! You saved my life XD

  • @abhijeetkirdatt3841
    @abhijeetkirdatt3841 Pƙed 2 lety

    Thanks for the Amazing video 🙂

  • @inhazfahim5244
    @inhazfahim5244 Pƙed 2 lety

    Very Clear and informative.

  • @antonmariadas7747
    @antonmariadas7747 Pƙed 3 lety

    Clair et concis ! 👍

  • @xvalentino5937
    @xvalentino5937 Pƙed 3 lety +1

    nice tutorial

  • @gauravsaini45k91
    @gauravsaini45k91 Pƙed rokem

    Thank you very useful

  • @rinkuchoudhary226
    @rinkuchoudhary226 Pƙed 3 lety

    super nice explanation

  • @tingdis
    @tingdis Pƙed 3 lety

    loved it

  • @CasualTraveller99
    @CasualTraveller99 Pƙed 2 lety

    Very nice video.

  • @akmalbukhariev7932
    @akmalbukhariev7932 Pƙed 3 lety

    Very good bro

  • @alanvidal7155
    @alanvidal7155 Pƙed 3 lety

    Show man!

  • @malaak1h
    @malaak1h Pƙed 2 lety

    Amazing Video!!

  • @yuliac.1436
    @yuliac.1436 Pƙed 2 lety

    Thank you!!!!

  • @alamsierra456
    @alamsierra456 Pƙed 3 lety

    Fast, clear and functional, thanks!

  • @bablykiran9577
    @bablykiran9577 Pƙed 3 lety

    thanku ,it works

  • @kevinmungame1869
    @kevinmungame1869 Pƙed 3 lety +3

    Best asp .net core web API tutorial, perfectly done. Please do a video on securing api? thanks

    • @TechWithPat
      @TechWithPat  Pƙed 3 lety +2

      Kevin, thanks for your comment. I will post a tutorial on securing an Api soon, stay tuned

  • @diegorp545
    @diegorp545 Pƙed 3 lety

    muchas gracias, eres un crack

  • @TheManiaza
    @TheManiaza Pƙed 2 lety

    thanks you for video

  • @ShubhamKamthan
    @ShubhamKamthan Pƙed 3 lety

    Nice Video

  • @vohoanghaduong6639
    @vohoanghaduong6639 Pƙed 2 lety

    thanks sir

  • @msnp1
    @msnp1 Pƙed 2 lety

    awsome

  • @justinjoseph1108
    @justinjoseph1108 Pƙed 3 lety

    awesome and brilliant. Is it man or coding machine? great !!!!

  • @developernader
    @developernader Pƙed rokem

    Thanks

  • @applemangoo2325
    @applemangoo2325 Pƙed 2 lety +1

    Exactly what i am looking for. Wonderful tutorial, everything work like charm. But i m facing using wrong core at first and cant output out using "Swagger". If anyone faced this comment down, i m ok to share it.

  • @canaldopericles2167
    @canaldopericles2167 Pƙed 2 lety

    thanks

  • @manmtz8598
    @manmtz8598 Pƙed 3 lety

    Tres bien

  • @johannag6621
    @johannag6621 Pƙed 3 lety +3

    Hi, thank you for this video. I really like it! Could you tell me which extensions you use on visual studio? They look really helpful!

  • @mptreviews7035
    @mptreviews7035 Pƙed 2 lety +1

    Good job, but please try to slow down your mouse clicks and navigating speed. Or use a cursor highlighter, so it can be easy to follow what you're doing on the screen

  • @chou5056
    @chou5056 Pƙed 2 lety

    i have a question. how can i make it that in PUT that i wont ask the ID in parameter but that i will pick it up in the request bodt only. So that it will be in PUT only asked once instead of doing it in the ID integer and the reqeust body

  • @ABLGlockGaming
    @ABLGlockGaming Pƙed 2 lety

    Hi Can you please explain how without using EF Core Commands "Add-Migration" and "Update Database" we are able to get our tables in Database ?

  • @jhd_rmt0530
    @jhd_rmt0530 Pƙed 2 lety

    Thank you so much for this tutorial!
    I would like to ask how to get other value other than id? For example I want to get the author. how to get that in the controller? Thank you!

  • @haydarm.al-samawe9819
    @haydarm.al-samawe9819 Pƙed 3 lety

    Simple professional easy clear .. really thank you for your time .. but we just need how to emblemt identity and token with Api

  • @marcol5374
    @marcol5374 Pƙed 2 lety

    Thanks for the video.
    How to use thi API from another device connected to the same network ?