|
<%@ 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>StresStimulus test page - Default</title>
<link rel="icon" href="images/shortcut_v1.ico" />
</head>
<body>
<form id="form1" runat="server">
<div>
<h1>Default</h1>
<p><asp:Label ID="Label1" runat="server" Text="My Message"></asp:Label></p>
<hr />
<p>text box 1:</p>
<asp:TextBox ID="TextBox1" runat="server"></asp:TextBox>
<br /><small>Enter <i>hide</i> to make message invisible, and <i>show</i> to make message visible</small>
<p>text box 2:</p>
<asp:TextBox ID="TextBox2" runat="server"></asp:TextBox>
<p>Radio buttons:</p>
<asp:RadioButton ID="RadioButton1" runat="server" GroupName="Radio" />
<asp:RadioButton ID="RadioButton2" runat="server" GroupName="Radio" />
<asp:RadioButton ID="RadioButton3" runat="server" GroupName="Radio" />
<p>
<asp:CheckBox ID="CheckBox1" runat="server" />
Checkbox1
</p>
<p>
<asp:Button ID="Button3" runat="server" Text="Send Form" OnClick="Send_Click" />
</p>
<hr />
<p>
<asp:Button ID="Button1" runat="server" Text="Send Form + Show Message" OnClick="Show_Click" />
</p>
<p>
<asp:Button ID="Button2" runat="server" Text="Send Form + Hide Message" OnClick="Hide_Click" />
</p>
<p>
<asp:Button ID="Button4" runat="server" Text="Send Form + Set Cookie" OnClick="SetCookie_Click" />
<br /><small>Sets cookie to value in text box 1</small>
</p>
<hr />
<p>
<a href="Default2.aspx">Default2.aspx</a> |
<a href="Login.aspx">Login.aspx</a>
</p>
<hr />
<!-- trace.axd is not an actual page in this site. It is generated on the fly by ASP.NET to show the trace log. -->
<p><a href="trace.axd" target="_blank">Open trace log</a> (use to test trace, not while recording a session)</p>
<hr />
<img src="images/ASP_NET_Site_Performance_Secrets.jpg" alt="Book - ASP.NET Site Performance Secrets" />
</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.
Twitter: @MattPerdeck
LinkedIn: au.linkedin.com/in/mattperdeck
Current project:
JSNLog JavaScript Logging Package
Matt has over 9 years .NET and SQL Server development experience. Before getting into .Net, he worked on a number of systems, ranging from the largest ATM network in The Netherlands to embedded software in advanced Wide Area Networks and the largest ticketing web site in Australia. He has lived and worked in Australia, The Netherlands, Slovakia and Thailand.
He is the author of the book ASP.NET Performance Secrets (www.amazon.com/ASP-NET-Site-Performance-Secrets-Perdeck/dp/1849690685) in which he shows in clear and practical terms how to quickly find the biggest bottlenecks holding back the performance of your web site, and how to then remove those bottlenecks. The book deals with all environments affecting a web site - the web server, the database server and the browser.
Matt currently lives in Sydney, Australia. He recently worked at Readify and the global professional services company PwC. He now works at SP Health, a global provider of weight loss web sites such at CSIRO's TotalWellBeingDiet.com and BiggestLoserClub.com.