Click here to Skip to main content
15,891,033 members
Home / Discussions / ASP.NET
   

ASP.NET

 
GeneralRe: Possible to run postback-code before Page_load-code? Pin
Yusuf27-Mar-09 0:40
Yusuf27-Mar-09 0:40 
QuestionAsp.net 2.0 With vb.net2005 Pin
sanketBcaStudent26-Mar-09 7:32
sanketBcaStudent26-Mar-09 7:32 
AnswerRe: Asp.net 2.0 With vb.net2005 Pin
Yusuf26-Mar-09 7:35
Yusuf26-Mar-09 7:35 
QuestionAsp.net 2.0 With vb.net2005 Pin
sanketBcaStudent26-Mar-09 7:25
sanketBcaStudent26-Mar-09 7:25 
AnswerRe: Asp.net 2.0 With vb.net2005 Pin
Yusuf26-Mar-09 7:36
Yusuf26-Mar-09 7:36 
QuestionHow do display a word page into web page Pin
duyoanhht4626-Mar-09 6:41
duyoanhht4626-Mar-09 6:41 
AnswerRe: How do display a word page into web page Pin
Yusuf26-Mar-09 7:32
Yusuf26-Mar-09 7:32 
Questionquestions about caching in a webservice Pin
dd31415926-Mar-09 5:05
dd31415926-Mar-09 5:05 
Hello,
1. I was under the impression that cache.insert was thread safe. Is this true?

2. Also you cannot count on a cached item staying in the cache until it expires because it maybe be removed for memory reasons - true?

3. Are there rules of thumb for how much data is too much to cache? which would then just cause the cache to be continually shuffled with objects. I know it would be depend on many things...but if there any basic parameters?

Also there are different patterns of how to implement caching one of which is called: Asynchronous pull loading - which is what I probably should use. It requires implementing a dispatcher to consolidate data, a cache and the business logic.
I don't have lots of data consolidation to do but do have a situation where I want to pull data all at once into the cache, then expire on a regular and fairly infrequent basis.

4. Does this sound like the kind of pattern for me to use then?
5. Would the dispatcher then just be a method called asynchronously to pull data on the cache object expiration and then also as a callback if the cache object is removed for other reasons?

Thanks for enlightening me on any of this.
AnswerRe: questions about caching in a webservice Pin
Yusuf26-Mar-09 7:34
Yusuf26-Mar-09 7:34 
GeneralRe: questions about caching in a webservice Pin
dd31415926-Mar-09 10:15
dd31415926-Mar-09 10:15 
GeneralRe: questions about caching in a webservice Pin
Yusuf27-Mar-09 0:54
Yusuf27-Mar-09 0:54 
QuestionNot showing console application through the asp.net web service in windows 2003 Pin
Pankaj Saha26-Mar-09 4:55
Pankaj Saha26-Mar-09 4:55 
AnswerRe: Not showing console application through the asp.net web service in windows 2003 Pin
Yusuf26-Mar-09 5:40
Yusuf26-Mar-09 5:40 
GeneralRe: Not showing console application through the asp.net web service in windows 2003 Pin
Pankaj Saha26-Mar-09 6:26
Pankaj Saha26-Mar-09 6:26 
GeneralRe: Not showing console application through the asp.net web service in windows 2003 Pin
Yusuf26-Mar-09 6:30
Yusuf26-Mar-09 6:30 
GeneralRe: Not showing console application through the asp.net web service in windows 2003 Pin
Pankaj Saha26-Mar-09 6:44
Pankaj Saha26-Mar-09 6:44 
GeneralRe: Not showing console application through the asp.net web service in windows 2003 Pin
Yusuf26-Mar-09 6:52
Yusuf26-Mar-09 6:52 
GeneralRe: Not showing console application through the asp.net web service in windows 2003 Pin
Pankaj Saha26-Mar-09 7:12
Pankaj Saha26-Mar-09 7:12 
GeneralRe: Not showing console application through the asp.net web service in windows 2003 Pin
Yusuf26-Mar-09 7:27
Yusuf26-Mar-09 7:27 
GeneralRe: Not showing console application through the asp.net web service in windows 2003 Pin
Pankaj Saha26-Mar-09 7:58
Pankaj Saha26-Mar-09 7:58 
GeneralRe: Not showing console application through the asp.net web service in windows 2003 Pin
Yusuf26-Mar-09 8:36
Yusuf26-Mar-09 8:36 
GeneralRe: Not showing console application through the asp.net web service in windows 2003 Pin
Pankaj Saha26-Mar-09 19:47
Pankaj Saha26-Mar-09 19:47 
GeneralRe: Not showing console application through the asp.net web service in windows 2003 Pin
Yusuf27-Mar-09 0:39
Yusuf27-Mar-09 0:39 
GeneralRe: Not showing console application through the asp.net web service in windows 2003 Pin
Pankaj Saha27-Mar-09 6:32
Pankaj Saha27-Mar-09 6:32 
GeneralRe: Not showing console application through the asp.net web service in windows 2003 Pin
Yusuf27-Mar-09 8:52
Yusuf27-Mar-09 8:52 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.