Click here to Skip to main content
15,879,474 members
Articles / Web Development / ASP.NET

ASP.NET Caching Dependencies

Rate me:
Please Sign up or sign in to vote.
4.26/5 (22 votes)
28 Jul 20066 min read 164.6K   1.8K   64  
A discussion on caching in ASP.NET 2.0
<%@ Page Language="C#" AutoEventWireup="true"  CodeFile="Default.aspx.cs" Inherits="_Default" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
    <title>Untitled Page</title>
</head>
<body>
    <form id="form1" runat="server">
    <div>
    
    <asp:Label ID="lblMessage" runat="server" />
    
    
    <asp:Button ID="BtnRemoveCacheItem" runat="server" OnClick="Btn_RemoveCacheItem" Text="Remove Cache Item" />
        <br />
        <br />
        <br />
        <br />
        <asp:Button ID="Button1" runat="server" OnClick="Button1_Click" Text="Write to File" /><br />
        <br />
        <br />
        <asp:Button ID="Button2" runat="server" OnClick="Button2_Click" Text="Create File" /><br />
        <br />
        <asp:Button ID="Button3" runat="server" OnClick="Button3_Click" Text="Create Item A and Item B" /></div>
    </form>
</body>
</html>

By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.


Written By
Web Developer
United States United States
My name is Mohammad Azam and I have been developing iOS applications since 2010. I have worked as a lead mobile developer for VALIC, AIG, Schlumberger, Baker Hughes, Blinds.com and The Home Depot. I have also published tons of my own apps to the App Store and even got featured by Apple for my app, Vegetable Tree. I highly recommend that you check out my portfolio. At present I am working as a lead instructor at DigitalCrafts.




I also have a lot of Udemy courses which you can check out at the following link:
Mohammad Azam Udemy Courses

Comments and Discussions