Imported Upstream version 3.6.0

Former-commit-id: da6be194a6b1221998fc28233f2503bd61dd9d14
This commit is contained in:
Jo Shields
2014-08-13 10:39:27 +01:00
commit a575963da9
50588 changed files with 8155799 additions and 0 deletions

View File

@@ -0,0 +1,17 @@
<%@ Page Language="C#" %>
<script runat="server">
void Page_Load (object sender, EventArgs e)
{
throw new InvalidOperationException ("test");
}
</script>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html>
<head runat="server">
<title>Default</title>
</head>
<body>
<form id="form1" runat="server">
</form>
</body>
</html>

View File

@@ -0,0 +1 @@
<%@ Application CodeFile="global.asax.cs" Inherits="TestWebApp.Global" %>

View File

@@ -0,0 +1,22 @@
using System;
using System.Collections;
using System.ComponentModel;
using System.Web;
using System.Web.SessionState;
namespace TestWebApp
{
public partial class Global : System.Web.HttpApplication
{
protected virtual void Application_Error (Object sender, EventArgs e)
{
HttpResponse response = Response;
if (response != null) {
string begin = (string)AppDomain.CurrentDomain.GetData ("BEGIN_CODE_MARKER");
string end = (string)AppDomain.CurrentDomain.GetData ("END_CODE_MARKER");
response.Write (begin + "<strong>Application error handled</strong>" + end);
}
}
}
}

View File

@@ -0,0 +1,30 @@
<?xml version="1.0"?>
<!--
Web.config file for TestWebApp.
The settings that can be used in this file are documented at
http://www.mono-project.com/Config_system.web and
http://msdn2.microsoft.com/en-us/library/b5ysx397.aspx
-->
<configuration>
<system.web>
<compilation defaultLanguage="C#" debug="true">
<assemblies>
</assemblies>
</compilation>
<customErrors mode="RemoteOnly">
</customErrors>
<authentication mode="None">
</authentication>
<authorization>
<allow users="*" />
</authorization>
<httpHandlers>
</httpHandlers>
<trace enabled="false" localOnly="true" pageOutput="false" requestLimit="10" traceMode="SortByTime" />
<sessionState mode="InProc" cookieless="false" timeout="20" />
<globalization requestEncoding="utf-8" responseEncoding="utf-8" />
<pages>
</pages>
</system.web>
</configuration>

View File

@@ -0,0 +1,17 @@
<%@ Page Language="C#" Inherits="DoesNotExist" %>
<script runat="server">
void Page_Load (object sender, EventArgs e)
{
throw new InvalidOperationException ("test");
}
</script>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html>
<head runat="server">
<title>Default</title>
</head>
<body>
<form id="form1" runat="server">
</form>
</body>
</html>

View File

@@ -0,0 +1 @@
<%@ Application CodeFile="global.asax.cs" Inherits="TestWebApp.Global" %>

View File

@@ -0,0 +1,19 @@
using System;
using System.Collections;
using System.ComponentModel;
using System.Web;
using System.Web.SessionState;
namespace TestWebApp
{
public partial class Global : System.Web.HttpApplication
{
protected virtual void Application_Error (Object sender, EventArgs e)
{
Console.WriteLine (Environment.StackTrace);
Console.WriteLine ("Handling apperror:");
Console.WriteLine (HttpContext.Current.Error);
}
}
}

View File

@@ -0,0 +1,30 @@
<?xml version="1.0"?>
<!--
Web.config file for TestWebApp.
The settings that can be used in this file are documented at
http://www.mono-project.com/Config_system.web and
http://msdn2.microsoft.com/en-us/library/b5ysx397.aspx
-->
<configuration>
<system.web>
<compilation defaultLanguage="C#" debug="true">
<assemblies>
</assemblies>
</compilation>
<customErrors mode="RemoteOnly">
</customErrors>
<authentication mode="None">
</authentication>
<authorization>
<allow users="*" />
</authorization>
<httpHandlers>
</httpHandlers>
<trace enabled="false" localOnly="true" pageOutput="false" requestLimit="10" traceMode="SortByTime" />
<sessionState mode="InProc" cookieless="false" timeout="20" />
<globalization requestEncoding="utf-8" responseEncoding="utf-8" />
<pages>
</pages>
</system.web>
</configuration>

View File

@@ -0,0 +1,17 @@
<%@ Page Language="C#" %>
<script runat="server">
void Page_Load (object sender, EventArgs e)
{
throw new InvalidOperationException ("test");
}
</script>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html>
<head runat="server">
<title>Default</title>
</head>
<body>
<form id="form1" runat="server">
</form>
</body>
</html>

View File

@@ -0,0 +1 @@
<%@ Application CodeFile="global.asax.cs" Inherits="TestWebApp.Global" %>

View File

@@ -0,0 +1,23 @@
using System;
using System.Collections;
using System.ComponentModel;
using System.Web;
using System.Web.SessionState;
namespace TestWebApp
{
public partial class Global : System.Web.HttpApplication
{
protected virtual void Application_Error (Object sender, EventArgs e)
{
HttpResponse response = Response;
if (response != null) {
string begin = (string)AppDomain.CurrentDomain.GetData ("BEGIN_CODE_MARKER");
string end = (string)AppDomain.CurrentDomain.GetData ("END_CODE_MARKER");
response.Write (begin + "<strong>Application error handled</strong>" + end);
}
Server.ClearError ();
}
}
}

View File

@@ -0,0 +1,30 @@
<?xml version="1.0"?>
<!--
Web.config file for TestWebApp.
The settings that can be used in this file are documented at
http://www.mono-project.com/Config_system.web and
http://msdn2.microsoft.com/en-us/library/b5ysx397.aspx
-->
<configuration>
<system.web>
<compilation defaultLanguage="C#" debug="true">
<assemblies>
</assemblies>
</compilation>
<customErrors mode="RemoteOnly">
</customErrors>
<authentication mode="None">
</authentication>
<authorization>
<allow users="*" />
</authorization>
<httpHandlers>
</httpHandlers>
<trace enabled="false" localOnly="true" pageOutput="false" requestLimit="10" traceMode="SortByTime" />
<sessionState mode="InProc" cookieless="false" timeout="20" />
<globalization requestEncoding="utf-8" responseEncoding="utf-8" />
<pages>
</pages>
</system.web>
</configuration>

View File

@@ -0,0 +1,17 @@
<%@ Page Language="C#" %>
<script runat="server">
void Page_Load (object sender, EventArgs e)
{
throw new InvalidOperationException ("test");
}
</script>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html>
<head runat="server">
<title>Default</title>
</head>
<body>
<form id="form1" runat="server">
</form>
</body>
</html>

View File

@@ -0,0 +1 @@
<%@ Application CodeFile="global.asax.cs" Inherits="TestWebApp.Global" %>

View File

@@ -0,0 +1,16 @@
using System;
using System.Collections;
using System.ComponentModel;
using System.Web;
using System.Web.SessionState;
namespace TestWebApp
{
public partial class Global : System.Web.HttpApplication
{
protected virtual void Application_Error (Object sender, EventArgs e)
{
Response.Redirect ("http://google.com/");
}
}
}

View File

@@ -0,0 +1,30 @@
<?xml version="1.0"?>
<!--
Web.config file for TestWebApp.
The settings that can be used in this file are documented at
http://www.mono-project.com/Config_system.web and
http://msdn2.microsoft.com/en-us/library/b5ysx397.aspx
-->
<configuration>
<system.web>
<compilation defaultLanguage="C#" debug="true">
<assemblies>
</assemblies>
</compilation>
<customErrors mode="RemoteOnly">
</customErrors>
<authentication mode="None">
</authentication>
<authorization>
<allow users="*" />
</authorization>
<httpHandlers>
</httpHandlers>
<trace enabled="false" localOnly="true" pageOutput="false" requestLimit="10" traceMode="SortByTime" />
<sessionState mode="InProc" cookieless="false" timeout="20" />
<globalization requestEncoding="utf-8" responseEncoding="utf-8" />
<pages>
</pages>
</system.web>
</configuration>