コード例 #1
0
 public void ProcessRequest(HttpContext context)
 {
     string queryString = context.Server.UrlDecode(context.Request.QueryString.ToString());
     context.Response.StatusCode = (int)HttpStatusCode.OK;
     context.Response.ContentType = "text/plain";
     HelperData dataHelper = new HelperData();
     NameValueCollection queryData = dataHelper.ParseQueryStringData(queryString);
     dataHelper.WriteValues(queryData);
 }
コード例 #2
0
        public void ProcessRequest(HttpContext context)
        {
            string queryString = context.Server.UrlDecode(context.Request.QueryString.ToString());

            context.Response.StatusCode  = (int)HttpStatusCode.OK;
            context.Response.ContentType = "text/plain";
            HelperData          dataHelper = new HelperData();
            NameValueCollection queryData  = dataHelper.ParseQueryStringData(queryString);

            dataHelper.WriteValues(queryData);
        }