Connections to IIS

Posts   
 
    
Markiemac
User
Posts: 132
Joined: 25-Apr-2006
# Posted on: 16-Oct-2008 13:10:28   

Hi,

I'm using Adapter 2.5, VB, SQL Server 2005 and .Net Remoting in a distributed app. The remote objects are all SingleCall and hosted in IIS. All the remoting plumbing seems to be ok but I am wondering about connections to IIS.

I open a form, which gets a new instance of a remote object I use a service on that object The form stays open I close the form

Do I have to explicitly dispose of any resources associated with the reference I establised when getting a new instance of my remote object or just leave it to expire?

What do other developers do?

Thanks

Walaa avatar
Walaa
Support Team
Posts: 14993
Joined: 21-Aug-2005
# Posted on: 16-Oct-2008 14:28:29   

IMHO, this thread belongs to the General forum.

Markiemac
User
Posts: 132
Joined: 25-Apr-2006
# Posted on: 16-Oct-2008 14:46:21   

Apologies - how do I get it there?

Otis avatar
Otis
LLBLGen Pro Team
Posts: 39861
Joined: 17-Aug-2003
# Posted on: 24-Oct-2008 11:19:33   

Sorry for the delayed reply, your thread ended up in a lesser priority queue for some reason flushed

Anyway, all entities, entity collections, are passed by value, which means you have local copies of them. None of them require dispose to clean up resources. So you don't need to dispose them on the client.

Frans Bouma | Lead developer LLBLGen Pro