Hi,
As far as .NET caching goes on IIS, if 2 .NET websites are in the same app pool can they access the same cache items (Using HttpContext.Current.Cache) ? Or is this cache collection always seperate for each .NET application?
Cheers
7 5863
Thanks, I did read that but it didn't fully delve into what I was after. I have learnt, though, that this is not possible.
Is there a way, then, of two different projects being able to manipulate the Cache items of one another? For example, say there is a .NET website and a .NET admin section for that website. The dream is to have the 2 as seperate projects so that a deploy of the website doesn't mean a deploy of the admin, and vice versa. The problem, however, is that the admin system needs to update / remove Cache items that the website accesses... Is there any way to do this? Or must they both exist within the same project (application) in order to modify the Cache for each other?
Thanks, I did read that but it didn't fully delve into what I was after. I have learnt, though, that this is not possible.
Is there a way, then, of two different projects being able to manipulate the Cache items of one another? For example, say there is a .NET website and a .NET admin section for that website. The dream is to have the 2 as seperate projects so that a deploy of the website doesn't mean a deploy of the admin, and vice versa. The problem, however, is that the admin system needs to update / remove Cache items that the website accesses... Is there any way to do this? Or must they both exist within the same project (application) in order to modify the Cache for each other?
Easier to stick with the one project and probably more secure.
Cheers.
The only other option that I can really think about, aside from reading some DB value (as the whole point of caching is to avoid DB calls) is to have a CacheDependency on a file and simply update that file through the admin system; thus the cache for the website will expire.
Another way may be using a class library. If the classes or configs are shared, then you may be able to control caching across two applications. An even easier way may be to reference a client side file in both apps that does this job. Never used this approach, so just a suggestion. HTH.
Interesting.
Cheers kenobewan.
Sign in to post your reply or Sign up for a free account.
Similar topics
by: David Sworder |
last post by:
Hi,
I'm developing an application that will support several thousand
simultaneous connections on the server-side. I'm trying to maximize
throughput. The client (WinForms) and server communicate...
|
by: dreamlinetheater |
last post by:
I have several sites running on Windows 2003 Server in true IIS 6 mode
with Application pools. One site has about 9 Virtual Directories in
it that are all configured to run as applications. Each...
|
by: Gordon Smith |
last post by:
I plan to install multiple Web applications installed on a single Web
server. Should I create each Web site in its own Application pool?
I'd appreciate any recommendations, guidelines or links to...
|
by: dm1608 |
last post by:
Hi, all.
I have a question regarding ASP.NET and Application Pools as defined within
IIS Manager.
I have a bunch of in-house ASP.NET applications that I frequently have to
install on my IIS 6...
|
by: Raj |
last post by:
What is the purpose of file system caching while creating a tablespace?
Memory on the test server gets used up pretty quickly after a user
executes a complex query(database is already activated),...
|
by: Raj |
last post by:
What is the purpose of file system caching while creating a tablespace?
Memory on the test server gets used up pretty quickly after a user
executes a complex query(database is already activated),...
|
by: Diffident |
last post by:
Hello All,
IIS 6.0 - I have an application which resides in its own application pool.
Does anyone know if we can create multiple application pools for the same
application?
If we can create...
|
by: Cameron.39 |
last post by:
Hello,
I am currently running into a bug where I have two applications on the
same machine, using the same Identity, for the same web site. One
application (App1) accesses the other application...
|
by: richard.hallgren |
last post by:
Hi,
I have some questions concerning thread pools. I've marked the
questions by number in the text.
First I'd like to know when which thread pools an application uses. I
know ASP.NET uses the...
|
by: ryjfgjl |
last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
|
by: ryjfgjl |
last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
|
by: emmanuelkatto |
last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud.
Please let me know.
Thanks!
Emmanuel
|
by: BarryA |
last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
|
by: Sonnysonu |
last post by:
This is the data of csv file
1 2 3
1 2 3
1 2 3
1 2 3
2 3
2 3
3
the lengths should be different i have to store the data by column-wise with in the specific length.
suppose the i have to...
|
by: Hystou |
last post by:
There are some requirements for setting up RAID:
1. The motherboard and BIOS support RAID configuration.
2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
|
by: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
|
by: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
| |