Types of caching. How to implement caching?
Answer Posted / chandra
ASP.NET Caching Features
ASP.NET Web Applications
------------------------------------------------------------
--------------------
When clients access an ASP.NET page, there are basically
two ways to provide them with the information they need:
the ASP.NET page can either obtain information from server
resources, such as from data that has been persisted to a
database, or
the ASP.NET page can obtain information from within the
application.
Retrieving information from a resource outside the
application will require more processing steps, and will
therefore require more time and resources on the server
than if the information can be obtained from within the
application space.
If the information that will be sent to the browser has
already been prepared by a previous request, the
application will be able to retrieve that information
faster if it has been stored in memory, somewhere along the
request/response stream.
Known as caching, this technique can be used to temporarily
store page output or application data either on the client
or on the server, which can then be re-used to satisfy
subsequent requests and thus avoid the overhead of re-
creating the same information.
Caching is particularly suitable when you expect to return
the same information in the same format for many different
requests.
ASP.NET provides the following types of caching that can be
used to build highly responsive Web applications:
Output caching, which caches the dynamic response generated
by a request.
Fragment caching, which caches portions of a response
generated by a request.
Data caching, which allows developers to programmatically
retain arbitrary data across requests.
| Is This Answer Correct ? | 5 Yes | 0 No |
Post New Answer View All Answers
If I am developing an application that must accomodate multiple security levels though secure login and my asp.net web application is spanned across three web-servers (using round-robin load balancing). What would be the best approach to maintain login-in state for the users?
Explain the difference between server control and html control.
What is difference in .net 1.1 and .net 2.0?
What are the different types of sessions in asp.net?
What are the steps involved to fill a dataset?
What is a global postback url?
Write a code for sending an email from asp.net application.
Define cookie.
How many types of sessions are there in asp net?
explain code with datachaching with example
How will you do windows authentication and what is the namespace? If a user is logged under integrated windows authentication mode, but he is still not able to logon, what might be the possible cause for this? In ASP.Net application how do you find the name of the logged in person under windows authentication?
What is the differences between a primary key and a unique key in sql server?
Is post back property in asp net?
What are the server controls in asp.net?
Can you explain composite pattern?