When building a web application that uses entity framework in its data access layer, it is recommended to detach objects from the object context to allow objects to be garbage collected.
But since the web applications are all request -> response applications, the object context itself is not referenced any more by any live objects after the response is sent to the customer, and so the object context and its attached object should be available for garbage collection, since there is no live object referencing any of them.
Am I missing something here or detaching objects in not necessary in such scenario?