MyPage is a personalized page based on your interests.The page is customized to help you to find content that matters you the most.


I'm not curious

IDisposable Best Practices for C# Developers

Course Summary

IDisposable is at the heart of .NET, and it's been there since the first release. It is the only part of the framework where .NET asks for your help. If you don't use IDisposable correctly, the .NET Garbage Collector can't manage memory properly, so your


  • +

    Course Syllabus

    ● Introducing IDisposable
        ◦ Introducing the Course
        ◦ About IDisposable
        ◦ Unmanaged Resources
        ◦ Using IDisposable
        ◦ Demo 1 (part 1): Using and Disposing SqlConnection
        ◦ Demo 1 (part 2): Not Disposing SqlConnection
        ◦ SqlConnection and IDisposable
        ◦ Best Practice #1
        ◦ Demo 2 (part 1): Demo Solution Walkthrough
        ◦ Demo 2 (part 2): Demo Solution Failing
        ◦ Module Summary
    ● What Happens When the Garbage Collector Runs?
        ◦ Introducing the Garbage Collector
        ◦ GC Generations
        ◦ When Does the GC Collect?
        ◦ Demo 1 (part 1): Profiling Memory Usage
        ◦ Demo 1 (part 2): Memory Usage When not Disposing
        ◦ The GC in Practice
        ◦ Demo 2 (part 1): Implementing IDisposable
        ◦ Demo 2 (part 2): Memory Usage When Disposing
        ◦ Best Practice #2 and #3
        ◦ Dispose and Finalize
        ◦ Demo 3 (part 1): Overriding Dispose
        ◦ Demo 3 (part 2): Finalizing Unmanaged Resources
        ◦ IDisposable and Inheritance
        ◦ Best Practice #4 and #5
        ◦ Module Summary
    ● What Happens if You Don't Dispose?
        ◦ Diagnosing IDisposable Issues
        ◦ Issues in the Word Counting App
        ◦ Demo 1 (part 1): Locked File Handles
        ◦ Demo 1 (part 2): Expanding Memory Profile
        ◦ Finding Problems at Run-Time
        ◦ Demo 2 (part 1): Static Code Analysis
        ◦ Demo 2 (part 2): Fixing Rule Violations
        ◦ Demo 2 (part 3): Flat Memory Profile
        ◦ Finding Problems at Design-Time
        ◦ Best Practice #6
        ◦ Demo 3: Making IDisposable Discoverable
        ◦ Best Practice #7 and #8
        ◦ Module Summary
    ● Course Summary
        ◦ Aim of the Course
        ◦ Best Practices #1 and #2
        ◦ Best Practices #3, #4 and #5
        ◦ Best Practices #6, #7 and #8
        ◦ Course Summary

     


Course Fee:
USD 29

Course Type:

Self-Study

Course Status:

Active

Workload:

1 - 4 hours / week

This course is listed under Development & Implementations Community

Related Posts:

Attended this course?

Back to Top

Awards & Accolades for MyTechLogy
Winner of
REDHERRING
Top 100 Asia
Finalist at SiTF Awards 2014 under the category Best Social & Community Product
Finalist at HR Vendor of the Year 2015 Awards under the category Best Learning Management System
Finalist at HR Vendor of the Year 2015 Awards under the category Best Talent Management Software
Hidden Image Url

Back to Top