Skip to content

Instantly share code, notes, and snippets.

Created Sep 5, 2011
What would you like to do?
the most basic local proxy evah
<%@ WebService Language="C#" Class="Proxy" %>
using System;
using System.Collections;
using System.ComponentModel;
using System.Data;
using System.Diagnostics;
using System.Web;
using System.Web.Services;
[WebService(Namespace = "")]
[WebServiceBinding(ConformsTo = WsiProfiles.BasicProfile1_1)]
public class Proxy: System.Web.Services.WebService
public string getMeTheDataFrom(string here)
using (var response = new System.Net.WebClient())
return response.DownloadString(here);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment