all groups > asp.net caching > march 2004
Caching xml files
Posted by Stephen J. Shephard at 3/31/2004 4:06:28 PM
This has probably already been asked, but in the situation of accessing XML
flat files from an ASPNet application, whether for deserializing into custom
classes or DOM access, are those xml flat file resources cached?
In our situation, using xml flat files as our dataset for an application, we
... more >>
Help with Using a DataSet in Session State
Posted by jaka at 3/30/2004 4:33:18 PM
Hello... I need some help/advice regarding using a dataset in session =
state.
When a request first comes to my ASP.NET application, I have code in the =
Session_Start event to query the user table, which return a dataset. I =
then add this dataset to a Session variable.
This works, but m... more >>
Putting an instance of an 'internal' class in the App cache
Posted by C P at 3/30/2004 1:50:07 PM
I am creating a bunch of classes for use by a 3rd party, and I want to keep
some of my classes internal or private. I have one class that I'd like only
my own classes to be able to use, but instances of my class really should go
in the application cache. Are there any issues with putting instan... more >>
Where exactly the cached pages are stored.
Posted by Ashish M Bhonkiya at 3/30/2004 12:11:09 AM
Can any one tell me where exactly (Physical location) the pages are stored
if i specify the location attribute for the outputcache does it vary
Thanks for your assistance and time in advance
Cheer
Ashish M Bhonkiy
bhonkiya@hotmail.co
... more >>
Multi-threaded access to Cache object
Posted by garbage400 NO[at]SPAM hotmail.com at 3/29/2004 10:38:16 AM
http://www.google.com/groups?hl=en&lr=&ie=UTF-8&oe=UTF-8&frame=right&th=a1e21baaba5303d7&seekm=8b702e36.0403261601.32f47810%40posting.google.com#link2
The poster of this thread got me thinking. He says that "Any time you
can have multiple threads, especially multiple page requests,
accessing th... more >>
Disabling client side cache via code
Posted by Curia Damiano at 3/29/2004 4:49:28 AM
Using VS 2003, I create a new web application.
In the Page_Load of the main page I insert:
Response.Cache.SetCacheability(HttpCacheability.NoCache);
Response.Cache.SetExpires(new DateTime(1990, 1, 1));
but in the header of the resulting page nothing changes!
So I've tried with:
Response.Cl... more >>
How to determine calling page
Posted by NewsMonkey at 3/28/2004 11:19:29 AM
Hi Everyone,
I am using "Server.Transfer()" to send data to an ASP.NET page that's
sole purpose is to display messages. I am using "Server.Transfer since I
can set the contents of the message I want to display via the properties
of the page that is initiating the Server.Transfer() and als... more >>
Help! Serializing Viewstate Problems!?!?
Posted by Z D at 3/26/2004 10:26:02 AM
Hello,
I thought that viewstate is inherintly serializable because its stored in a
users browser in text (serialized) format??
Anyways - Here's the situation: I have some pages that have many grids on it
and thus my viewstate was getting very large (75kb+) and it was slowing down
the page l... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
cache object doesn't work in global.asax
Posted by Tiberiu M at 3/26/2004 5:46:06 AM
Hi. I have a short question
Does the Cache object work in global.asax? If no, then why
In global.asax I have: Dim Cache as New System.Web.Caching.Cache
Then when I insert to it: Cache.Insert("MyVar", MyVar), I get "Object reference not set to an instance of an object." at run-time
What am I doi... more >>
When To Use Server.Transfer vs Redirect and Cache
Posted by Scott Simes at 3/24/2004 3:39:40 PM
I am confused about Server.Transfer and Response.Redirect. I have an ASP.NET
app, and I want to pass values from one page to the next, in "wizard-like"
fashion. For example, page 1 contains simple payment-plan options; page 2
contains a credit card data-entry form; page 3 contains a summary of va... more >>
HELP: Session is empty!
Posted by mrwoopey NO[at]SPAM yahoo.com at 3/24/2004 2:37:14 PM
Hi,
I have a ASP.NET application with two frames (both are ASPX pages).
Once my app starts running, Session_Start fires in global.asax, like
it should. When I press a button within the top frame, it displays a
chart (OWC) in the bottom frame.
I am storing info in session variables in the to... more >>
HELP IN DEVELOPING A KNOWLEDGE BASE USING ASP.NET AND C# PLEASE REPLY SOON
Posted by sherwinm NO[at]SPAM rediffmail.com at 3/24/2004 4:52:51 AM
See ive created an inventory for a company it has various modules ,
like
purchasing ,
workstation ,
library,
catalogue
and
HELPDESK ,
so now for HELPDESK i need to create a KNOWLEDGE BASE by which a user
would be able to search for teh solution to any of his problems like
"who... more >>
Caching the dataReader
Posted by simon at 3/23/2004 2:47:09 PM
In my function I'm binding the list box:
Protected WithEvents lstMedia As System.Web.UI.WebControls.ListBox
to the dataReader.
I put the dataReader into the cache.
First time I bind the listBox is everything OK, but all the other times, =
when I read from the cache, the listBox is empty.
... more >>
ASP.NET Application Data Caching - Default Time
Posted by trysenthilkumar NO[at]SPAM yahoo.com at 3/22/2004 6:40:46 AM
Hi,
Can you pls. let me know the default Cache time used by ASP.NET
when I add the application data by the following line.
Cache["Data1"] = Data1;
I want to know how long the Data1 object will be stored in the
ASP.NET Cache.
Can you also mark a CC to my id?
Thanks & Re... more >>
Irritating Error in aspnet_wp 1.0?
Posted by Axel Dahmen at 3/20/2004 11:53:13 AM
Hi,
there is a strange error in aspnet_wp. Here's the story:
My asp:Hyperlink.NavigateUrl links are all relative. ASP.NET creates
absolute paths, though, when rendering, beginning at application root:
NavigateUrl="myPage.aspx" => href="/myApp/myDir/myPage.aspx"
Once I wanted to call the... more >>
Dynamic Server Controls and ViewState
Posted by Josh Cossiboon at 3/19/2004 2:12:13 PM
Anybody ever dynamically add controls to an aspx page, save it to the
StateBag and load the dynamically created objects from the statebag on
postback?
I dynamically create and add controls to a placeholder, add it to the
ViewState. On postback, I'm trying to set the placeholder from viewstate... more >>
asynchronous call back and session variables.....
Posted by Ollie at 3/19/2004 2:08:11 PM
I have an asp.net webservice that is called from an asp.net website, the
processes on the web service may take sometime so I call the webservice
using the asynchronous method calls, i.e. BeginXXXX(), EndXXXX() etc...
I pass a call back into the BeginXXX method so that when the operation has
co... more >>
DataSet Persistance
Posted by Scott M. at 3/17/2004 6:57:10 PM
I'd like to persist a DataSet between page calls.
Can someone give me specific code (VB.NET) examples of doing this using
ViewState as well as an example using the Application Cache (I know how to
get the DataSet, so please pick the example up from there)?
Thank you in advance!
... more >>
output cache for backward navigation
Posted by jt at 3/16/2004 9:46:10 AM
When a user revisits a page on our site via a menu dropdown, I'm required to display the page as it was when the user last left. (By the way, the browser back button is disabled.) The approach we use now is to rebuild the page with information stored in the cache (and differentiated with a sessionid... more >>
general question
Posted by Alex Wagner at 3/12/2004 10:46:43 AM
2 questions:
we have an n-tier architecture (UI, BL, DAL, DB) and some common classes
that defy this structure like lookups. Those lookups actually handle their
own db access... but that's not important.
I have now implemented caching in our static lookup class via
"HttpContext.Current.Cach... more >>
Caching User Controls
Posted by Z D at 3/10/2004 12:06:34 PM
Hello,
I have a question about caching web user controls in ASP.NET.
I have a few user controls that are VERY expensive to create, but they do
not change very often. They only change when a user modifies certain things
in the application. The intervals between changes could be a few hours,... more >>
windows controls in HTML
Posted by Adam Bieganski at 3/10/2004 11:56:54 AM
hi all,
I have a windows forms control embedded on an HTML page, like this:
<object id="myCtl" classid="hyperView.dll#hyperView.hV" width=800
height=600></object>
I'm trying to find out these 2 things about it:
1. Is it cached in any way on the client side? (in Temporary Internet Files,... more >>
What can I put in the application/session cache
Posted by C P at 3/10/2004 11:00:32 AM
I am designing some custom ASP.NET controls, and I'd like them to make use
of the Application and Session caches. I'd also like to ensure that my code
will work if the user configures things to use a state server on another
machine to hold the caches. Can I add any instance of any object to the... more >>
C#-Com object accessing dot.net caching
Posted by robertc1969 NO[at]SPAM hotmail.com at 3/8/2004 3:38:29 PM
I want to use to .net caching for my old asp pages. I've made a C#
COM-interop object that I was hoping would be able to do this. The
com object itself works fine. The idea was to just call the C# Com
object from my old pages, and allow the C# guy to use .net caching.
But, the C#-Com objec... more >>
Calling a page from main page
Posted by Daniel Caetano at 3/8/2004 2:24:32 PM
I have a main page , and i want do call another page(as search page) passing
paremeters. I want that the field values of search page to be passed to
main page. Of course without missing the fields values already filled at
main. What the best way to do it?? i´d like to use only asp.net e vb.net.... more >>
Simple Caching Question
Posted by Jay at 3/8/2004 9:31:31 AM
I am generating HTML pages from a database using a DataGrid. I am able =
to use the following to cache my pages:
<%@ OutputCache Duration=3D"6000" VaryByParam=3D"code" %>
I added a feature to track usage statistics by storing information in =
the SQL Server database each time a particular o... more >>
Caching via url
Posted by Shabam at 3/3/2004 11:35:09 PM
I need to implement a caching mechanism for my script URLs. Instead of
www.domain.com/script.aspx?id=1234 , which the browser will obviously not
cache, I want the URL to be something like www.domain.com/1234 or
www.domain.com/1234.htm instead. This way the browser will cache the page.
I have... more >>
|