Async and await in C# example

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

КОМЕНТАРІ • 266

  • @raqibul1000
    @raqibul1000 8 років тому +103

    You taught me so many stuff that made me survive and stay safe at work, I really appreciate your effort, we need more great people like you.

  • @MichaelCGatesMusic
    @MichaelCGatesMusic 7 років тому +95

    In 11 minutes, you've wasted zero time on nonsense... All intuitive and thorough without the bloat. Thanks! I never find myself saying "hurry up!" during your videos.

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

      MichaelCGatesMusic yup!

    • @madhufun
      @madhufun 4 роки тому +8

      I disagree with you sorry. UA-cam provided beautiful play controls, you can use them for fast forward etc. Just think of all kind of audience.

    • @rahulj2167
      @rahulj2167 4 роки тому +10

      @@madhufun You understood it wrongly.

  • @RonaldRaymundo-g5q
    @RonaldRaymundo-g5q 15 днів тому +1

    You are the best! I had learned so many things because of your channel. Keep up the good work!

  • @drdoomenator1
    @drdoomenator1 8 років тому +13

    I am from Russia and I do not speak very well English, but I understand all that you say, thank you

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

    Thank you so much, I had an issue with my application in processing FTP, using async and await, and it died on me. You revived it. Thank you!

  • @tiwarihub373
    @tiwarihub373 Місяць тому

    THE BEST Tutorial and Tutor ever in history.

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

    Mr.Venkat, you are the best instructor on the net and UA-cam, you have a special way of making easy simple, God Bless for all the help I got from your tutorials.

  • @kurbanqureshi2265
    @kurbanqureshi2265 7 років тому

    Dear venkat you are genius, master of Microsoft technology thank you very much.... I am software developer because of you....

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

    I learn much easier visually. Thanks a bunch, been awhile since I've programmed in C#. I had used multithreading in the past, but it has been 8 or so years. This gave me a quick way of using newer and easier techniques to accomplish what I was looking for.

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

    immediately subscribed, i am a noob fresh graduate in IT, and i have forgotten most programming concept, so i have a hard time to understand any guide or explanation on this async/await usage, but this video is so simple and clear to understand, thank you for making these videos, all of your videos explains clearly and simple

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

    This tutorial was much easier to understand than most of the others I was seeing. Thank you!

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

    thank you so much mr venkat , you taught me the whole course , i will not forget u for the rest of my life, what a teacher, huge respect.

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

    I've not seen one of your videos for a while; and so forgot how good you are at knowledge transfer. I've tried teaching, it isn't easy, please keep it up because you're doing a great job.

  • @venkatpalllantla1302
    @venkatpalllantla1302 8 років тому

    I am putting my head on this for a while to comprehend this topic. But You nailed it, which you do every time. You are real boon for all .NET developers as me.

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

    You're a great teacher Venkat, am confident writing c# now, i am one video away to completing the series :)

    • @Csharp-video-tutorialsBlogspot
      @Csharp-video-tutorialsBlogspot  4 роки тому +2

      Wow....Thank you for letting us know Abubakar. Hope you enjoyed this course. Not sure if you had the time to check out the following video that explains how to become a full stack dot net developer.
      ua-cam.com/video/RiKcSDbGVXw/v-deo.html

  • @aaronarnold3107
    @aaronarnold3107 8 років тому +1

    I am totally pumped that the C# tutorial saga continues!!!!

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

    By far the best training in c# on the net. Simple and concise.

  • @gustavokuze
    @gustavokuze 7 років тому

    Thank You so much for the explanation sir! If any of You guys are getting an error similar to "Task does not contain a definition for 'GetAwaiter' ", take a look at the .Net Target version of your project! It'll only work for 4.5 or newer.

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

    Ten minutes are enough when you have a given to teach. Awesome explanation! Thanks a lot.

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

    Best video series ever, thank you so much I learned a lot from you.

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

    You are the father of teachers.

  • @AvinashReddy21
    @AvinashReddy21 7 років тому +1

    You are the best in the teaching world Venkat.

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

    I am an Environmental Engineer with no prior experience in coding I learned from videos like these on the internet now I am an experienced Software engineer, Thanks for the content like these, Thanks for your work.

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

    Wow, you actually talked about the reference when you started using a new namespace. Thumbs up for that.

    • @94D33M
      @94D33M 5 років тому

      when?

  • @Sea-qv4sd
    @Sea-qv4sd 3 роки тому +1

    Thanks a ton for this video. Very concise and clear tutorial for beginners

    • @Csharp-video-tutorialsBlogspot
      @Csharp-video-tutorialsBlogspot  3 роки тому

      Hello Steve - Thank you very much for the feedback. I have included all the C# tutorial videos, slides and text articles in sequence on the following page. Hope you will find it handy.
      www.pragimtech.com/courses/c-sharp-tutorial-for-beginners/

    • @Sea-qv4sd
      @Sea-qv4sd 3 роки тому

      @@Csharp-video-tutorialsBlogspot thank you so much, excellent reference for me starting out with harder concepts

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

    Hello venkat , this is a really awesome explanation of the async construct .
    I have a question :) I was wondering why the text Processing please wait doesn't get displayed , the instruction displaying it get's executed before the long-running task is reached . Any explanation would be appreciated .

    • @PalashBansal
      @PalashBansal 4 роки тому +5

      @@RandomPerson13 "we've told the computer to keep this method on "Pause" until CountCharacters() is done, but not to pause the application itself." - finally someone said this statement in words otherwise all tutorials tell everything advanced but this basic statement. Thanks :)

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

    This kind explanation makes everyone a masters in async and await concepts.
    Thanks so much Sir

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

    I have been watching you videos since I was in school, I really learned a lot from you sir. Thank you

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

    Video from 10:31 going on, I feel the freezing / non reactive problem was completely solved! Thank you very much. 😃

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

    I am from Bangladesh. I'm Pias. This is my first comment on your video. Actually i have a question to you. Before asking I want to say you something from my heart. You are that person who is created by God's own hand. You can't imagine how great you are and how your every free video help a person to get a clear concept about their topic. Without your video it was impossible for me to learn SQL and C#. Thank you so much....God will be with you for forever. He will give you a large gift that you can't imagine. You are really a great one in this whole world. You are the real hero. You are such a teacher that i never ever seen in my whole life. Through your video i will also learn the rest of language that you teach. I will always remember you and your help. I have a great wish to see you in any way. If you don't mind could you give me your picture. it's my dream to see you. (Now question: I can't find a video on garbage collector in c# Could you help me please if there is a existence one..)

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

      Well said.

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

      It is everyones dream to see vendkat in real life.

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

      He briefly mentioned it in Video 19: Intro to Classes. I think it's a very low level topic and should be looked into probably when working on a large scale project. Otherwise, the C# itself will do a nice job of cleaning things up. If anyone's interested in digging into the topic, google keywords like destructor, finalizers, IDisposable, using, and garbage collection. Don't forget to append C#.

  • @redarismail5777
    @redarismail5777 8 років тому

    Thank you so much, You are a great person , You taught me so many stuff that made me survive and stay safe at work, I really appreciate your effort, we need more great people like you. Thank you again, one more knowledge is added

  • @mistery4437
    @mistery4437 8 років тому

    అద్భుతమైన వివరన. ధన్యవాదాలు అన్న.

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

    The best teacher in the world

  • @Sreenivas20064u
    @Sreenivas20064u 7 років тому

    this is by far the best explanation I found for async and await. thank you

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

    Venkat Sir you have made our learning easier.Thank you so much for the videos.

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

    Great explanation with example within 11 mins.. Thank you Venkat.

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

    Thank you! You just saved me a ton of head ache! Thank you so much!. 8)

  • @mageshwarank9395
    @mageshwarank9395 8 років тому

    Thank You So much Sir.Last Video I Requested this Concept Now this Concept Started once again thanks sir.Keep Continue ..................

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

    Your videos are very useful. Videos you make are simple, precise and informative. Please keep posting such videos.

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

    Thanks Venkat, detailed and straightforward.

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

    You have explained the async await part, but what about the Task part. What exactly is happening and why is task of type Task ? Thanks

  • @Xaisoft
    @Xaisoft 7 років тому

    Venkat, your videos are great. I love your teaching style.

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

    Wow I went from his 6th video to this and the audio quality has improved tremendously!! Great vids btw!!

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

    Your tutorial still awesome even today

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

    I still remember back then in Framework 2.0 when Async/Await weren't even keywords in C#, You had to explicitly create delegates, callbacks etc in some verbose IAsyncResult, BeginInvoke() and EndInvoke() patterns and provide means to return to the main thread, so messy the code has become back then. Now async/await are doing great job dealing with that mess!

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

    I think you are the best teacher on the net, and wish if you could start " XAMARIN " Course.

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

    wow very nice explanation

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

    Excellent tutorial. I watched another one of your videos a while back. It was about 'IEnumerate' and it was a great tutorial as well. You're a good teacher.

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

    Thanks Venkat for all your videos.. I got a job after watching your videos :)

  • @sandeepmishra2622
    @sandeepmishra2622 8 років тому +13

    Really Awesome . Your videos are really amazing easy to learn. Please add some videos from Design Patterns .

    • @aaronarnold3107
      @aaronarnold3107 8 років тому +3

      I second this. I'm not seeing any good resources for C# design patterns on UA-cam.

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

      I agree, we youtube learners would really appreciate a good design patterns tutorial.

  • @OmaralaaHEROMORA
    @OmaralaaHEROMORA 7 років тому

    No Words can explain how did you do it so good in so good example, well done sir

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

    i love the way u teach.......... great work...!!

  • @herbertrodriguez3717
    @herbertrodriguez3717 7 років тому

    Good way to explain ! Looked his web site videos and tutorials are in descent price !
    Definitely worth the price .

  • @kgurunadh9
    @kgurunadh9 7 років тому

    I am thankful to you for uploading your dot net videos , it is very useful to my prof career. thanks

  • @natomacc
    @natomacc 7 років тому

    This channel is worth it, I'm gonna subscribe!

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

    what a great tutorial which teaches async and await in 12 minutes. thank you

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

    Best simple example i've found in all internet lol

  • @os-channel
    @os-channel 4 роки тому

    Better than studying hours for hours in books and internet articles. Right on!

    • @Csharp-video-tutorialsBlogspot
      @Csharp-video-tutorialsBlogspot  4 роки тому

      Thank you Oliver. Really glad you are finding our courses useful. The following video could be of help, if you are planning to become a full stack dot net web developer.
      ua-cam.com/video/RiKcSDbGVXw/v-deo.html

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

    Thanks Venkat AGAIN (first you taught me T-SQL) for your way of teaching =)

  • @Rizzo91
    @Rizzo91 7 років тому

    Very clear. Very easy to understand. Such a great video!

  • @poliovei
    @poliovei 8 років тому +9

    Thank you for sharing your knowledge, I hope you are attempting to prepare something about ASP NET 5, it would be wonderful

  • @AmitTiwari-en5wm
    @AmitTiwari-en5wm 8 років тому

    you are great venkar, your videos are very useful for every phase of development, as you can see there are lots of requirements of design patterns please explain it

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

    Amazing Tutorial! This is what I'm looking for.

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

    Very simple and efficient examples and explanations. Keep up the excellent work !

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

    Great video man! Life saver!!! 💯

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

    So clear explanation, thank you so much

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

    Nice and simple, straight to the point thank you

  • @abeer_nawaf_sul
    @abeer_nawaf_sul 7 років тому +1

    finally, I understand them clearly! thank you

  • @md.jannatulnayem4328
    @md.jannatulnayem4328 3 роки тому

    This have been really helpful...Thanks a lot ❤

  • @KarChunChua
    @KarChunChua 7 років тому

    very good explanation and example, learn a lot from your videos. awesome example to compare with the thread. 👍

  • @ckschumeister411
    @ckschumeister411 7 років тому

    all your videos are helped me a lot

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

    Great material, Venkat, thanks a lot!!

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

    Very helpful and easy to understand..

  • @sairk6174
    @sairk6174 7 років тому

    Venkat ...Thnx a lot..GOD Bless You !!!

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

    Awesome, great explanation Venkat!

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

    thanks the example works perfectly fine ! great video

  • @bhavyar2986
    @bhavyar2986 2 роки тому +2

    In the beginning of the video, we see 3 steps in the button-click handler method.
    1.setting the Processing file message to label
    2. Calls countCharacters method
    3. Setting the count to label
    When this message was running synchronously initially, it should display 1 because 2 is where it's taking time.
    Why doesn't step1 get printed ?

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

    Very, very helpful. You can really teach and explain very well!

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

    Great video Sir!! It's simple and comprehensive and the explanation is too good.

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

    Great explanation, Thank you very much. Ray

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

    One.Perfect.Explanation.

  • @janezklun
    @janezklun 8 років тому +2

    Greatly explained, thanks!

  • @martenhc
    @martenhc 8 років тому

    Looking forward for the next video!

  • @wp-wisdom
    @wp-wisdom 3 роки тому

    Perfect explanation👍👍

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

    Great Example - Simple and short

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

    best explanantion of Async

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

    Thank you Venkat

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

    Very simple and easily understandable

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

    This is great. I love your videos!

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

    ur gift for us, dandalayya

  • @amitrupak1981
    @amitrupak1981 7 років тому

    very nicely describe. thank you venkat.

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

    Really cool, thank you so much for sharing !

  • @johnnydepp1499
    @johnnydepp1499 7 років тому

    Very nice video.. thank you very much kudvenkat

  • @carlosantoniogonzalezcacer1698
    @carlosantoniogonzalezcacer1698 7 років тому

    Incredible! Thank you so much for making these videos.
    Regards.

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

    Beautifully explained

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

    Very nice video man. Good job!

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

    Venkat's teaching is the same as Kholi hitting a six even in difficult situations

  • @user-rp9iis1en6h
    @user-rp9iis1en6h 4 роки тому +2

    Venkat, I have seen many many experienced developers making confusion between async/await, parralel task and multi threading. Can you distinguish between them and create a video.

  • @r.o.9322
    @r.o.9322 3 роки тому

    Nice explanations!

  • @warsymphony
    @warsymphony 7 років тому +1

    Great tutorial!