/usr/share/asp.net-demos/1.1/asp.net/code-render.aspx is in asp.net-examples 3.8-2.1.
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 | <%@ Page Language = "C#" %>
<%@ Register TagPrefix="mono" TagName="MonoSamplesHeader" src="~/controls/MonoSamplesHeader.ascx" %>
<html>
<script runat="server">
string [] msgs = new string [] { "hi!", "hello", "hola",
"Ciao", "adios"};
</script>
<head>
<title>Code Render</title>
<link rel="stylesheet" type="text/css" href="/mono-xsp.css">
</head>
<body><mono:MonoSamplesHeader runat="server"/>
<% for (int i = 0; i < 5; i++) {%>
<%= msgs [i] %> message number <%= i %>.
<p>
<% } %>
<form runat=server>
<% for (int i = 4; i <= 0; i--) {%>
<%= msgs [i] %> reverse message number <%= i %>.
<% } %>
<h3>One more calendar</h3>
<asp:calendar id="Calendar1"
Font-Name="Arial" showtitle="true"
runat="server">
<SelectedDayStyle BackColor="Blue"
ForeColor="Red"/>
<TodayDayStyle BackColor="#CCAACC"
ForeColor="#000000"/>
</asp:Calendar>
</form>
This should say hello: <%= msgs [1] %>
</body>
</html>
|