Companies Home Search Profile

IDisposable Best Practices for C# Developers

Focused View

Elton Stoneman

2:16:54

24 View
  • 01. Course Overview.mp4
    01:47
  • 02. Understanding IDisposable.mp4
    05:22
  • 03. Using Disposable Objects.mp4
    06:04
  • 04. Demo-Working with Disposable Objects.mp4
    03:40
  • 05. Demo-Resource Exhaustion from Not Disposing.mp4
    05:11
  • 06. Best Practice .Sharp1.mp4
    04:36
  • 07. Demo-Consuming Resources without Disposing.mp4
    05:35
  • 08. Demo-Functional Defects from Not Disposing.mp4
    03:32
  • 09. Module Summary.mp4
    02:08
  • 10. Introducing the Garbage Collector.mp4
    03:08
  • 11. How and When the GC Runs.mp4
    04:12
  • 12. Demo-Understanding Garbage Collection.mp4
    04:33
  • 13. Demo-Memory and Object Profiling.mp4
    04:12
  • 14. Managing the Garbage Collectors Workload.mp4
    04:26
  • 15. Demo-Implementing IDisposable.mp4
    03:11
  • 16. Demo-The Full Dispose Pattern.mp4
    02:56
  • 17. How the GC Uses Finalizers.mp4
    03:25
  • 18. Demo-IDisposable and Finalizers.mp4
    02:48
  • 19. Demo-Cleaning up Unmanaged Resources.mp4
    02:47
  • 20. Module Summary.mp4
    05:14
  • 21. Approaches for Finding and Fixing Disposable Issues.mp4
    03:22
  • 22. Demo-Finding Problems with Object Lifetimes.mp4
    05:59
  • 23. Demo-Fixing Problems with Static Analysis and Profiling.mp4
    11:05
  • 24. Using Static Analysis to Find IDisposable Issues.mp4
    04:37
  • 25. Demo-Managing Object Lifetime in Modern Apps.mp4
    06:28
  • 26. Demo-Fixing Lifetime Problems with Dependency Injection.mp4
    06:44
  • 27. Disposable Objects and Dependency Injection Special Cases.mp4
    04:19
  • 28. Using IAsyncDisposable with Asynchronous Streams.mp4
    07:07
  • 29. Module Summary.mp4
    02:16
  • 30. Must-haves Nice-to-Haves and Edge Cases.mp4
    06:10
  • Description


    .NET takes care of memory management for you, right? Mostly. But the Garbage Collector needs your help and that's where IDisposable comes in. This course will teach you how to use it correctly to prevent strange errors and crashes in your apps.

    What You'll Learn?


      IDisposable is the only part of the platform where .NET asks for your help. If you don't use IDisposable correctly, the .NET Garbage Collector can't manage memory properly, so your app won't run efficiently, it may have strange errors, and it will eventually crash.

      In this course, IDisposable Best Practices for C# Developers, you'll learn to manage object lifetimes and keep your apps running lean. First, you'll see what goes wrong if you don't dispose of objects, and how that can bring your apps down. Then, you'll explore the Garbage Collector to understand how .NET cleans up unused objects. Finally, you'll discover how to implement IDisposable throughout a distributed .NET application. When you’re finished with this course, you’ll have the skills and knowledge of managed and unmanaged memory to keep your .NET apps performing under any load.

    More details


    User Reviews
    Rating
    0
    0
    0
    0
    0
    average 0
    Total votes0
    Focused display
    Category

    C#

    Elton Stoneman
    Elton Stoneman
    Instructor's Courses
    Elton is a 10-time Microsoft MVP, author, trainer and speaker. He spent most of his career as a consultant working in Microsoft technologies, architecting and delivering complex solutions for industry leaders. He has delivered APIs on Azure serving millions of clients daily, Big Data solutions processing billions of events weekly, and cutting-edge solutions powered by containers. Elton's experience with .NET goes from .NET 1.0 running on Windows Server, right up to .NET Core running on Linux. When Docker emerged as the best way to run applications, Elton made containers his focus, and now he works for Docker. He travels the world helping people understand what containers, Kubernetes and DevOps can do for them and their software delivery.
    Pluralsight, LLC is an American privately held online education company that offers a variety of video training courses for software developers, IT administrators, and creative professionals through its website. Founded in 2004 by Aaron Skonnard, Keith Brown, Fritz Onion, and Bill Williams, the company has its headquarters in Farmington, Utah. As of July 2018, it uses more than 1,400 subject-matter experts as authors, and offers more than 7,000 courses in its catalog. Since first moving its courses online in 2007, the company has expanded, developing a full enterprise platform, and adding skills assessment modules.
    • language english
    • Training sessions 30
    • duration 2:16:54
    • level average
    • Release Date 2023/12/15