IDisposable is an interface within the Microsoft .NET Framework's Base Class Library (BCL).
I have a method that takes FileStream as input. This method is running inside a for loop. private void UploadFile(…
c# stream using idisposableI have some questions about the desired lifetime of an Entity Framework context in an ASP.NET MVC application. Isn't …
c# asp.net-mvc entity-framework using idisposableStarted a new mvc4 project. Used the MVC controller template to create the read/write actions of the 'Orders' Model. …
c# asp.net asp.net-mvc-4 idisposable devforceI have a class that handles events from a WinForms control. Based on what the user is doing, I am …
.net events idisposable unsubscribeI just found out that like C#, VB.NET also has the using keyword. Until now I thought it didn't …
vb.net scope idisposable using-statement with-statementWhat is the best practice for when to implement IDisposable? Is the best rule of thumb to implement it if …
c# .net vb.net idisposableUpdate: As @PaulGroke points out below, things have changed with Java 7: there now is AutoCloseable. Which isn't tied to streams …
java idisposableI've written my own custom data layer to persist to a specific file and I've abstracted it with a custom …
c# .net-2.0 idisposable using yield-returnI have an sqlConnection manager class like so: public class SQLConn { public string connStr = System.Configuration.ConfigurationSettings.AppSettings["ConnectionString"]; private …
c# idisposable sqlconnectionI'm trying to find out if it is neccessary to close a .net service reference client when you are done …
c# .net wcf web-services idisposable