diff --git a/gts/Global.asax.cs b/gts/Global.asax.cs index ed9966f4..6c732abf 100644 --- a/gts/Global.asax.cs +++ b/gts/Global.asax.cs @@ -102,6 +102,11 @@ namespace PkmnFoundations.GTS pathInfo = "/pokemon/validate"; return VirtualPathUtility.ToAbsolute("~/pkvldtprod.ashx"); } + else if (split.Length > 1 && split[1] == "dsio" && split[2] == "gw") + { + pathInfo = "/dsio/gw"; + return VirtualPathUtility.ToAbsolute("~/pgl.ashx"); + } else return null; } } diff --git a/gts/gts.csproj b/gts/gts.csproj index 433a031b..a35ddd0d 100644 --- a/gts/gts.csproj +++ b/gts/gts.csproj @@ -87,6 +87,7 @@ + Designer @@ -107,6 +108,9 @@ MasterPage.master + + pgl.ashx + pkvldtprod.ashx diff --git a/gts/pgl.ashx b/gts/pgl.ashx new file mode 100644 index 00000000..6c9c0f49 --- /dev/null +++ b/gts/pgl.ashx @@ -0,0 +1 @@ +<%@ WebHandler Language="C#" CodeBehind="pgl.ashx.cs" Class="PkmnFoundations.GTS.pgl" %> diff --git a/gts/pgl.ashx.cs b/gts/pgl.ashx.cs new file mode 100644 index 00000000..46e56274 --- /dev/null +++ b/gts/pgl.ashx.cs @@ -0,0 +1,28 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Web; + +namespace PkmnFoundations.GTS +{ + /// + /// Summary description for pgl + /// + public class pgl : IHttpHandler + { + + public void ProcessRequest(HttpContext context) + { + context.Response.ContentType = "text/plain"; + context.Response.Write("Hello (dream) World"); + } + + public bool IsReusable + { + get + { + return true; + } + } + } +}