HighTechTalks DotNet Forums  

CACHEing data in a web farm

ASP.net Caching microsoft.public.dotnet.framework.aspnet.caching


Discuss CACHEing data in a web farm in the ASP.net Caching forum.



Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old   
Chris Davoli
 
Posts: n/a

Default CACHEing data in a web farm - 10-26-2005 , 11:55 AM






Can you cache data in a web farm enviroment? Doen anybody have some sample
code?

--
Chris Davoli


Reply With Quote
  #2  
Old   
Oleg Kap
 
Posts: n/a

Default Re: CACHEing data in a web farm - 10-26-2005 , 01:08 PM






Hello Chris,

Yes, but you have to work around it.
1. If you using ASP.NET 1.x then you might want to use Microsoft Cache Application
Block which will allow you to implement your own storage somewhere else but
memory, SQL Server for example.
2. If you using ASP.NET 2.0 then you should be able to implement your own
cache storage and then store your cached data.

In both implementations you will have to deal with serialization of the cached
objects.

Hope it helps,
Oleg


Quote:
Can you cache data in a web farm enviroment? Doen anybody have some
sample code?




Reply With Quote
  #3  
Old   
Chris Davoli
 
Posts: n/a

Default Re: CACHEing data in a web farm - 10-26-2005 , 01:56 PM



Thanks for the info, but where can I find information on these work arounds?
--
Chris Davoli



"Oleg Kap" wrote:

Quote:
Hello Chris,

Yes, but you have to work around it.
1. If you using ASP.NET 1.x then you might want to use Microsoft Cache Application
Block which will allow you to implement your own storage somewhere else but
memory, SQL Server for example.
2. If you using ASP.NET 2.0 then you should be able to implement your own
cache storage and then store your cached data.

In both implementations you will have to deal with serialization of the cached
objects.

Hope it helps,
Oleg


Can you cache data in a web farm enviroment? Doen anybody have some
sample code?





Reply With Quote
  #4  
Old   
Chris Davoli
 
Posts: n/a

Default Re: CACHEing data in a web farm - 10-26-2005 , 01:56 PM



Oleg, how do I tell what version of ASP.Net I'm on?
--
Chris Davoli



"Oleg Kap" wrote:

Quote:
Hello Chris,

Yes, but you have to work around it.
1. If you using ASP.NET 1.x then you might want to use Microsoft Cache Application
Block which will allow you to implement your own storage somewhere else but
memory, SQL Server for example.
2. If you using ASP.NET 2.0 then you should be able to implement your own
cache storage and then store your cached data.

In both implementations you will have to deal with serialization of the cached
objects.

Hope it helps,
Oleg


Can you cache data in a web farm enviroment? Doen anybody have some
sample code?





Reply With Quote
  #5  
Old   
Oleg Kap
 
Posts: n/a

Default Re: CACHEing data in a web farm - 10-26-2005 , 02:39 PM



Hello Chris,
Few ways,
1. What is installed in your %WINNT%\Microsoft.NET\Framework Folder, will
give you an idea of all availble versions on your machine.
2. You can check it on your IIS server.
3. Simple one(stupid I would say) is to throw an exeption in your ASP.NET
application and it will tell you in the bottom of the screen what version
you using.

There probably other ways to check this out.

Oleg

Quote:
Oleg, how do I tell what version of ASP.Net I'm on?

"Oleg Kap" wrote:

Hello Chris,

Yes, but you have to work around it.
1. If you using ASP.NET 1.x then you might want to use Microsoft
Cache Application
Block which will allow you to implement your own storage somewhere
else but
memory, SQL Server for example.
2. If you using ASP.NET 2.0 then you should be able to implement your
own
cache storage and then store your cached data.
In both implementations you will have to deal with serialization of
the cached objects.

Hope it helps,
Oleg
Can you cache data in a web farm enviroment? Doen anybody have some
sample code?




Reply With Quote
  #6  
Old   
Chris Davoli
 
Posts: n/a

Default Re: CACHEing data in a web farm - 10-26-2005 , 04:31 PM



I've got v1.0.3705 and v1.1.4322

Is this asp.net 2.0 or 1.x?

--
Chris Davoli



"Oleg Kap" wrote:

Quote:
Hello Chris,
Few ways,
1. What is installed in your %WINNT%\Microsoft.NET\Framework Folder, will
give you an idea of all availble versions on your machine.
2. You can check it on your IIS server.
3. Simple one(stupid I would say) is to throw an exeption in your ASP.NET
application and it will tell you in the bottom of the screen what version
you using.

There probably other ways to check this out.

Oleg

Oleg, how do I tell what version of ASP.Net I'm on?

"Oleg Kap" wrote:

Hello Chris,

Yes, but you have to work around it.
1. If you using ASP.NET 1.x then you might want to use Microsoft
Cache Application
Block which will allow you to implement your own storage somewhere
else but
memory, SQL Server for example.
2. If you using ASP.NET 2.0 then you should be able to implement your
own
cache storage and then store your cached data.
In both implementations you will have to deal with serialization of
the cached objects.

Hope it helps,
Oleg
Can you cache data in a web farm enviroment? Doen anybody have some
sample code?





Reply With Quote
  #7  
Old   
Oleg Kap
 
Posts: n/a

Default Re: CACHEing data in a web farm - 10-26-2005 , 05:10 PM



Hello Chris,

Version 2.0 is about to be release on November 7.
I think you should look into Application Blocks especially Cache

Oleg

Quote:
I've got v1.0.3705 and v1.1.4322

Is this asp.net 2.0 or 1.x?

"Oleg Kap" wrote:

Hello Chris,
Few ways,
1. What is installed in your %WINNT%\Microsoft.NET\Framework Folder,
will
give you an idea of all availble versions on your machine.
2. You can check it on your IIS server.
3. Simple one(stupid I would say) is to throw an exeption in your
ASP.NET
application and it will tell you in the bottom of the screen what
version
you using.
There probably other ways to check this out.

Oleg

Oleg, how do I tell what version of ASP.Net I'm on?

"Oleg Kap" wrote:

Hello Chris,

Yes, but you have to work around it.
1. If you using ASP.NET 1.x then you might want to use Microsoft
Cache Application
Block which will allow you to implement your own storage somewhere
else but
memory, SQL Server for example.
2. If you using ASP.NET 2.0 then you should be able to implement
your
own
cache storage and then store your cached data.
In both implementations you will have to deal with serialization of
the cached objects.
Hope it helps,
Oleg
Can you cache data in a web farm enviroment? Doen anybody have
some sample code?




Reply With Quote
Reply




Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.