Why would I need to call dispose on ASP.NET Controls?
I’m doing some ASP.NET development in VS and have just found an interesting little code suggestion (I think they come from coderush but I could be wrong).
I’m doing some ASP.NET development in VS and have just found an interesting little code suggestion (I think they come from coderush but I could be wrong).
Does the garbage collector clean up web service references or do I need to call dispose on the service reference after I’m finished calling whatever method I call?
I was wondering if there was some sort of cheat sheet for which objects go well with the using statement… SQLConnection, MemoryStream, etc.
I am attempting to expose an IQueryable<> over ASP.NET Web API and I find that I need to keep the data source open until the request completes, so that the OData query system built into ASP.NET Web API can do its job.