/usr/share/asp.net-demos/1.1/handlers/webhandler.ashx is in asp.net-examples 4.2-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 | <%@ WebHandler Language="c#" Class="WebHandlerTest.SimplePage" %>
using System.Web;
namespace WebHandlerTest
{
class SimplePage : IHttpHandler
{
public void ProcessRequest (HttpContext context)
{
HttpResponse resp = context.Response;
resp.Write ("<html><body><h1>Hi there!</h1></body></html>\n");
}
public bool IsReusable {
get { return true; }
}
}
}
|