IDisposable Design Pattern (.Net Core)
In this video, I will walk through how to implement IDisposable Design Pattern. We should use an IDisposable design pattern (or Dispose Pattern) when we need to dispose of unmanaged objects. For implementing the IDisposable design pattern, the class which deals with unmanaged objects directly or indirectly should implement the IDisposable interface. And implement the method Dispose declared inside of the IDisposable interface. Normally, we do not directly deal with unmanaged objects. But we deal with managed classes, which deals directly with unmanaged objects. For example, File handlers, connection string, HTTP streams, etc. One important aspect of this pattern is that it makes easier for inherited classes to follow the IDisposable design pattern. And it is because of the implementation of an overridable Dispose method. This pattern also suggests the use of the Finalizer method (or destructor in c#). However, if we use the Finalizer, it should be managed properly due to its performance implications. I have demonstrated the suggested implementation in the video. Source code is available in my GitHub repository here: https://github.com/choudhurynirjhar/i...

IEnumerable VS IQueryable (in .NET Core)

The Dispose Pattern

ASP.NET Core Full Course For Beginners (.NET 10)

SOLID Design Principles (An Introduction for .NET Developers)

IDisposable Exposed

Google & AWS Veteran: What Top Tier Software Architects Do Differently

Turing Award Winner: Disagreeing with Google, Postgres, Future Problems | Mike Stonebraker

Async/Await an Introduction (Asynchronous programming in .NET 5.0)

Useful Configuration Management Tips And Tricks (In ASP.NET Core Application)

C# Yield Return: What is it and how does it work?

How IDisposable and Using Statements Work Together in C#

URGENT UPDATE - Iran War Expert: A Mass Casualty Attack Is Coming! | Robert Pape

RabbitMQ in .NET Core (Part 1, Single producer and consumer with Queue)

Is Fine-Tuning Still Needed? LLMs, RAG, & LoRA

8 await async mistakes that you SHOULD avoid in .NET

Don't Hang Up On AI Scammers. Do THIS Instead.

Internals of Select and SelectMany (LINQ Internals)

IDisposable and Finalizers

What is Span in C# and why you should be using it

