473,395 Members | 1,726 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,395 software developers and data experts.

Enterprise Library - Caching

Simple question, hopefully simple answer :)

In a multi-tier application, when should I cache my data? Business Logic
Layer or Data Access Layer?

Thanks,
Mythran

Nov 17 '05 #1
1 1412
Hello
I think you should cache in the business logic layer. Database calls are
always expensive calls. It also depends on the application. If the
application uses any legacy systems like mainframe, I suggest using business
logic layer.
If you give me more application details, I think we can still debate the
pros and cons of database and business layers.
thanks
Deepak

"Mythran" wrote:
Simple question, hopefully simple answer :)

In a multi-tier application, when should I cache my data? Business Logic
Layer or Data Access Layer?

Thanks,
Mythran

Nov 17 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: Nick Zdunic | last post by:
Hi, I using the Security Application Block from the Enterprise Library in my application. I'm getting the following error message: There is an error in the XML document. The specified type...
3
by: veera sekhar kota | last post by:
hi, im seriously looking for right answer .... We are developing windows application in c#. I implemented DAAB(Data Access Application Block) 2.0 in our application. One of the senior asked...
0
by: veera sekhar kota | last post by:
im seriously looking for right answer .... We are developing windows application in c#. I implemented DAAB(Data Access Application Block) 2.0 in our application. One of the senior asked me to...
3
by: Eric | last post by:
Hi, I'm just looking into the samples that are delivered withthe Enterprise Localization Framework/Toolkit. I have set it up and it all works fine. But.. now i have a question. I read a...
0
by: Benny Ng | last post by:
Hi,All, When i deploy Enterprise library with my application ,i used XCOPY to deploy it into my test server. But when application runs, shown some error related registry. (But actually I haven't...
2
by: Albert | last post by:
VS05, C#, console application, + MS Enterprise Library =================== Hi, I am trying to cache an XmlSchemaSet. The trouble is I want to do this in a Non HttpContext - in a console...
0
by: rox59 | last post by:
Does anyone know how to use an XML file as a backing store for the caching block of the enterprise library?
1
by: GaryDean | last post by:
I now have installed (from the same install) Enterprise Library - January 2006 and Enterprise Library - June 2005. The install for these two was called Enterprise Library for .Net 2.0. (not...
0
by: Erick | last post by:
I'm trying to create a single DLL which all developers in our organisation will reference. I want to place inside it the Microsoft Enterprise Libraries. And expose them out through the DLL. On...
0
by: escher4096 | last post by:
Hi There, I am attempting to figure out how to do inter-cache dependencies (cache item 1 depends on cache item 2, etc) with the Enterprise Library Caching block and am stumped. Does any one have...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
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...
0
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...
0
BarryA
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...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
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...
0
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...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.