Cache vs Session,Application state for datagrid - DOTNET
This is a discussion on Cache vs Session,Application state for datagrid - DOTNET ; Hi Guys,
I have a question,what is the best way to preserve dataset in web
application:
Cache object,Session or Application state.
>From perfomance,scalability point of view?
Any ideas?
Thanks,
Marina...
-
Cache vs Session,Application state for datagrid
Hi Guys,
I have a question,what is the best way to preserve dataset in web
application:
Cache object,Session or Application state.
>From perfomance,scalability point of view?
Any ideas?
Thanks,
Marina
-
Re: Cache vs Session,Application state for datagrid
Hello, Marisha!
M> I have a question,what is the best way to preserve dataset in web
M> application:
M> Cache object,Session or Application state.
??>> From perfomance,scalability point of view?
M> Any ideas?
I assume that dataset is valid for secial session? if so you can use Session.
If dataset is application wide you can store it in some static property, or static suctom cache object.(smth like static hashtable)
--
Regards, Vadym Stetsyak
www: http://vadmyst.blogspot.com
-
Re: Cache vs Session,Application state for datagrid
Hi Vadym,
Thanks fro you reply,
I used session and cache object for storing dataset that fills datagrid
and both give me out of memory exception when i try to edit some row in
a datagrid that has 900+ rows.
Is 900+ is to much to handle for the grid?
-
Re: Cache vs Session,Application state for datagrid
Hello, Marisha!
M> Hi Vadym,
M> Thanks fro you reply,
M> I used session and cache object for storing dataset that fills datagrid
M> and both give me out of memory exception when i try to edit some row in
M> a datagrid that has 900+ rows.
M> Is 900+ is to much to handle for the grid?
Hard to tell, it depends also on column number...
OTOH why do you have to store the dataset of such size?
--
Regards, Vadym Stetsyak
www: http://vadmyst.blogspot.com
-
Re: Cache vs Session,Application state for datagrid
I have about 15 columns.
On average I have about 30-50 rows in dataset.
It's very rarely that I have so bulky data,but if I have it,I need to
be able to handle it..
Similar Threads
-
By Application Development in forum Inetserver
Replies: 1
Last Post: 10-13-2007, 08:40 PM
-
By Application Development in forum DOTNET
Replies: 4
Last Post: 08-28-2007, 11:03 AM
-
By Application Development in forum Inetserver
Replies: 0
Last Post: 04-13-2006, 04:27 AM
-
By Application Development in forum DOTNET
Replies: 1
Last Post: 05-23-2005, 07:33 AM
-
By Application Development in forum DOTNET
Replies: 0
Last Post: 04-21-2004, 06:54 AM