/usr/share/asp.net-demos/global.asax 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 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 | <%@ Import Namespace="System.IO" %>
<script runat="server" language="c#" >
static object appV2 = null;
void Application_Start (object o, EventArgs args)
{
Console.WriteLine ("Application_Start");
Type type;
type = Type.GetType ("Samples.Application, App_Code", false);
if (type != null)
appV2 = Activator.CreateInstance (type, new object[] {HttpContext.Current});
}
void SetMissingComponents ()
{
Application.Lock ();
Application.Add ("MissingComponentsFlag", true);
Application.UnLock ();
}
void SetShowingMissingComponents ()
{
Application.Lock ();
Application.Add ("ShowingMissingComponentsFlag", true);
Application.UnLock ();
}
void MissingComponents ()
{
Response.Redirect ("/missing_components.aspx");
}
void Application_End (object o, EventArgs args)
{
Console.WriteLine ("Application_End");
}
void Application_BeginRequest (object o, EventArgs args)
{
}
</script>
|