IDisposable is an interface within the Microsoft .NET Framework's Base Class Library (BCL).
I have this object PreloadClient which implements IDisposable, I want to dispose it, but after the asynchronous methods finish their …
c# .net asynchronous dispose idisposableI need to read a stream two times, from start to end. But the following code throws an ObjectDisposedException: Cannot …
c# stream idisposable streamreaderSo, I've registered a named client with the services collection in my Startup.cs: services.AddHttpClient(someServiceName, client => client.…
.net-core dotnet-httpclient idisposable asp.net-core-2.1 httpclientfactoryI have a web service that is quite heavy on database access. It works fine in test, but as soon …
c# linq-to-sql datacontext dispose idisposableI was wondering if there was some sort of cheat sheet for which objects go well with the using statement... …
c# asp.net dispose idisposable using-statementI can't believe I'm still confused about this but, any way, lets finally nail it: I have a class that …
.net idisposable