КОМЕНТАРІ •

  • @jesicavillalpandoaguilar8608
    @jesicavillalpandoaguilar8608 7 днів тому

    Thanks, looking forward for more videos 😊

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

    Of all the IDisposable and GC videos I watched on UA-cam, this is the best one. Very well done.

  • @somesbhowmick2082
    @somesbhowmick2082 4 роки тому +18

    Really great, after so many read and video, Today I got the clarity of Disposable pattern and finalize proper implementation. Thanks a lot. Expecting more from You regarding C#

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

    This is the first video I see on this channel, and I'm really amused with this video! Great explanation!

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

    This is just the best and complete explanation of this topic! Bravo!

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

    Very beautifully and calmly explained. Thank you sir

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

    really thanks. it was deep declaration!

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

    After searching for so many articles on GC, IDisposable, Managed and Unmanaged resource, this one video makes everything clear to me. Nice explanation!

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

    You covered all the points required to explain 1 concept. Well Done.. !!!

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

    Great tutorial on this often confusing topic! Thanks a lot 🙏 🙏

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

    i liked your video and solved my problem.
    i was searching for the solution of my problem (given below) since 2 days.
    Timeout expired. The timeout period elapsed prior to obtaining a connection from the pool. This may have occurred because all pooled connections were in use and max pool size was reached.
    I think this video was specially made for me.
    Your video helped my a lot. Thank you very much

  • @gabrielaEarthling
    @gabrielaEarthling 5 місяців тому

    Such a great explanation! Thank you for the video!

  • @TaeTae-kn6td
    @TaeTae-kn6td 3 роки тому

    That was AWESOME. Thank you very much!

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

    My man thanks so much for this video. I had been searching everywhere for a "personal" explanation of this with a little perspective beyond a ms api ref, and this is exactly what I needed. I wish you had more videos. Cheers!

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

    Thank you so much for your explanation. This is the best video for this topic I have ever seen.

  • @e-cogs
    @e-cogs 4 роки тому +1

    This video is really helpful. Thank you for posting.

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

    Thanks a lot. It is very simple and understandable for me!

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

    Really a nice video it provided much clarity on the dispose and finalizer, thanks for the video and also suggesting to provide lot more videos on different complex topics

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

    Perfect explanation!

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

    Thank you so much. Good clear explanation. Started watching your all video's. One request, would you share finalizer solution with us. Thanks again 👍

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

    very good video!

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

    Good concepts and implementation. :)

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

    Thank you!

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

    Subscribed!

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

    Thank you this is great

  • @rahulvalecha6425
    @rahulvalecha6425 3 роки тому +3

    Isn't the DB connection an unmanaged resource?

  • @100abhinavraj
    @100abhinavraj 2 роки тому

    Pretty Awesome🙂

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

    thanks a ton

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

    Why is a db connection a managed resource?

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

    As far as I know, DB Connections are unmanaged resources, they work outside your App Domain and hence are no longer managed by CLR, Please correct me If I missed something or point me towards some article or document that explains it clearly.

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

    Hi ! In the last few minutes of the clip, the field "isDisposed" is used. It is also checked in the overridden Dispose() method. But where is it set ? Pardon me if I have missed anything here

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

      you are right, it has to be set inside the isDisposing block.

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

    If you have a static class and that static class is creating 1 new connection to the database.
    How do you clean up that connection when (1) program exit gracefully (2) when program exit via an exception.

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

    Do you only use IDisposable when you get Timeout errors?

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

    I thought finalizers are used to free managed resources, but its mentioned that finalizer clears unmanaged resources. Have I missed something?

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

    Is there a reason you don't use curly braces? Are they not needed anymore? (21:31 in)

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

    The database connection is not managed resource it is unmanaged resource