A
Ahmet AKGUN
Hi All;
In an application, I have lots of dummy forms without db connection and one
server that have connection pooling. Client forms will be used by tens of
users.
Dummy forms connect to the server via tcpChannel and request a bussiness
logic job
to be done like insert database, select from database into Dataset, select
into dataview etc.
I use TcpChannel and Activator class to make remote call to Server's
functions
from client and server returns me some objects like dataset, etc.. in return
of my calls.
the problem is that I dont know how long this objects will remain in memory
of
server and how log I can reference them from client.
is .net GC clever enough to understand that dataset is referenced by a
client
and must remain in memory, or it has no referances and must be deleted ?.
Can anybody help me about this topic. (an example, article etc. accepted)
Or comment on my architect (I am new at .net, and I am not sure whether
my distributed architect will cause trouble about GC in the future) ?
Helps'll be appreciated.
In an application, I have lots of dummy forms without db connection and one
server that have connection pooling. Client forms will be used by tens of
users.
Dummy forms connect to the server via tcpChannel and request a bussiness
logic job
to be done like insert database, select from database into Dataset, select
into dataview etc.
I use TcpChannel and Activator class to make remote call to Server's
functions
from client and server returns me some objects like dataset, etc.. in return
of my calls.
the problem is that I dont know how long this objects will remain in memory
of
server and how log I can reference them from client.
is .net GC clever enough to understand that dataset is referenced by a
client
and must remain in memory, or it has no referances and must be deleted ?.
Can anybody help me about this topic. (an example, article etc. accepted)
Or comment on my architect (I am new at .net, and I am not sure whether
my distributed architect will cause trouble about GC in the future) ?
Helps'll be appreciated.