Web Wiz - Green Windows Web Hosting

  New Posts New Posts RSS Feed - Can you tell me about caching in ASP.net?
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Can you tell me about caching in ASP.net?

 Post Reply Post Reply
Author
Mora wacker View Drop Down
Newbie
Newbie


Joined: 11 September 2007
Status: Offline
Points: 2
Post Options Post Options   Thanks (0) Thanks(0)   Quote Mora wacker Quote  Post ReplyReply Direct Link To This Post Topic: Can you tell me about caching in ASP.net?
    Posted: 14 September 2007 at 5:24am
Hi,
I know there are different types of caching available in ASP.net.Now i want to know What are
page output caching, fragment caching,and data caching? In what way these things  are useful for a real website.And  also i need to know how can i implement these things to my coding? i am awaiting for your valuable replies........
Back to Top
michael View Drop Down
Senior Member
Senior Member
Avatar

Joined: 08 April 2002
Location: United States
Status: Offline
Points: 4670
Post Options Post Options   Thanks (0) Thanks(0)   Quote michael Quote  Post ReplyReply Direct Link To This Post Posted: 14 September 2007 at 2:17pm
Not wanting to sound mean but do you just ask because you are lazy? Go to msdn.microsoft.com and it gives you nutshell answers on all those questions, much more accurate than anyone here could (I assume). All glad to help with specific questions, problems etc but.....gotta have the basics down :)
Back to Top
vbsqluser View Drop Down
Newbie
Newbie


Joined: 05 November 2007
Status: Offline
Points: 5
Post Options Post Options   Thanks (0) Thanks(0)   Quote vbsqluser Quote  Post ReplyReply Direct Link To This Post Posted: 05 November 2007 at 7:11am
Hi,
 
We can improve the performance of an Asp.net page by taking advantage of page  output caching, which enables you to cache the contents of an entire dynamically generated page on your server.
 
Page fragment caching, which enables you to cache particular areas of a page.  For example, you can use page fragment caching to cache a page's menu bar, but not a list of current stock prices.
 
Data caching in asp.net application: WE can use data caching to cache DataSets and other types of data. After the data is cached, you can use the same data in multiple ASP.NET pages.
 
Using page output caching
 
Instead of executing a page each time the page is requested, you can cache the output of the page and send the cached copy to satisfy browser requests.
 
For example, that your site includes a page that displays product information retrieved from a database table. By default, every time someone requests the product page, the page must be executed and the information must be retrieved from the database. If you enable pag eoutput caching, however, the page is executed only once, and the information is retrieved from the database only once. This means less work for both for your web application and for your database server.
Back to Top
Dilipv View Drop Down
Newbie
Newbie
Avatar

Joined: 11 February 2008
Status: Offline
Points: 5
Post Options Post Options   Thanks (0) Thanks(0)   Quote Dilipv Quote  Post ReplyReply Direct Link To This Post Posted: 12 February 2008 at 6:28am
hi there,
 i saw your quote and i got the solution for it.
just check out the following links.you will get clear cut idea.

http://samples.gotdotnet.com/quickstart/aspplus/doc/datacaching.aspx

Hope this will surely help you...

Thank you
Jitesh

Back to Top
 Post Reply Post Reply

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.08
Copyright ©2001-2026 Web Wiz Ltd.


Become a Fan on Facebook Follow us on X Connect with us on LinkedIn Web Wiz Blogs
About Web Wiz | Contact Web Wiz | Terms & Conditions | Cookies | Privacy Notice

Web Wiz is the trading name of Web Wiz Ltd. Company registration No. 05977755. Registered in England and Wales.
Registered office: Web Wiz Ltd, Unit 18, The Glenmore Centre, Fancy Road, Poole, Dorset, BH12 4FB, UK.

Prices exclude VAT at 20% unless otherwise stated. VAT No. GB988999105 - $, € prices shown as a guideline only.

Copyright ©2001-2026 Web Wiz Ltd. All rights reserved.