/usr/share/asp.net-demos/1.1/asp.net/registertest.aspx is in asp.net-examples 4.2-2build1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 | <%@ Page language="C#" %>
<%@ Register TagPrefix="mono" TagName="MonoSamplesHeader" src="~/controls/MonoSamplesHeader.ascx" %>
<%-- we can even override the asp prefix with @ register --%>
<%@ Register TagPrefix="Acme" namespace="System.Web.UI.WebControls" assembly="System.Web" %>
<%@ Register TagPrefix="Acme" TagName="One" Src="registertest1.ascx" %>
<%@ Register TagPrefix="Acme" TagName="Two" Src="registertest2.ascx" %>
<html>
<head><title>Register test</title>
<link rel="stylesheet" type="text/css" href="/mono-xsp.css">
</head>
<script language="C#" runat="server">
void Clicked (object sender, EventArgs e)
{
One.Text = "Message text changed!";
One.Color = "red";
Two.Text = "Message text changed2!";
Two.Color = "red";
Three.Text = "Text changed!";
}
</script>
<body><mono:MonoSamplesHeader runat="server"/>
<form runat="server">
<Acme:One id="One" Text="This is a default One!" Color="blue" runat="server"/>
<p>
<Acme:Two id="Two" Text="This is a default Two!" Color="blue" runat="server"/>
<p>
<Acme:Label id="Three" Text="This is a label!" Color="blue" runat="server"/>
<p>
<asp:Button text="Change" OnClick="Clicked" runat=server/>
</form>
</body>
</html>
|