Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / ASP.NET / Caching / March 2005

Tip: Looking for answers? Try searching our database.

Badly in need of help on Caching

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Noel - 05 Mar 2005 08:44 GMT
Hi All,

I'm creating an windows application that interacts with ASP .NET web
services. I would like to cache objects in the windows application (running
on the client) and set expiry for the objects that are being cached. The
application would need to requery the webservice only when the cached item
expires.

I have downloaded the source code for the Microsoft caching framework but
I'm unable to figure how I would need to use that for implementing the
client-side caching (and expiry). I have searched far and wide on google and
I'm unable to get any help on the subject specific to client-side caching.

BTW, I would like the cache to be stored in memory and not on any files or
sql server database.

Any help would be greatly appreciated and if possible please share a snippet
(code) of how I could get this implemented. I'm looking desparately for an
answer and I'm in trouble. Please help.

Thanks,
Noel
Alvin Bruney [MS MVP] - 05 Mar 2005 13:25 GMT
It's better to get the application caching block from MS (not sure if that
was what you were referring to) and then adjust appropriately.

> Hi All,
>
[quoted text clipped - 18 lines]
> Thanks,
> Noel
Noel - 05 Mar 2005 15:50 GMT
Thanks for the swift reply. I have found and downloaded two such blocks:

1. Cache Application Block
2. Microsoft Enterprise Library

Both these contain code for implementing application level cache. Could you
please let me know which one should be used? BTW, is there a vb dotnet
version of the library code that can be downloaded.

Thanks in advance.

> It's better to get the application caching block from MS (not sure if that
> was what you were referring to) and then adjust appropriately.
[quoted text clipped - 24 lines]
> > Thanks,
> > Noel
Alvin Bruney [ASP.NET MVP] - 05 Mar 2005 21:17 GMT
cache application block is what i am familiar with. I don't know about a vb
implementation. You can always use kamal patel's vb convertor site to
convert the C# code to VB.NET.

Signature

Regards,
Alvin Bruney

[Shameless Author Plug]
The Microsoft Office Web Components Black Book with .NET
available at www.lulu.com/owc
------------------------------------------------------------

> Thanks for the swift reply. I have found and downloaded two such blocks:
>
[quoted text clipped - 44 lines]
>> > Thanks,
>> > Noel
Geir Aamodt - 10 Mar 2005 07:40 GMT
Noel,

the MS Enterprise Library is the latest versjon (at least when it comes
comes to new wrapping).

I do not know if there are any differences between 1 and 2, but I would
surely go for nr. 2 since
this looks like the direction MS would like you to go.

Signature

Best regards,
Geir Aamodt
geir.aamodt(AT)bekk.no

> Thanks for the swift reply. I have found and downloaded two such blocks:
>
[quoted text clipped - 44 lines]
>> > Thanks,
>> > Noel

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.