Skip to content

Instantly share code, notes, and snippets.

View vwxyzh's full-sized avatar
👨‍👧‍👦

Zhenghui Yan vwxyzh

👨‍👧‍👦
  • Microsoft Corporation
View GitHub Profile
@jkresner
jkresner / Global.asax
Created October 30, 2012 20:20
Asp .net Mvc 4 Proxy Server/Controller (For help with Cross Domain Request)
public class WebApplication : System.Web.HttpApplication
{
protected void Application_Start()
{
RouteTable.Routes.MapRoute("HttpProxy", "proxy/{*path}", new { controller = "Proxy", action = "Http" })
}
}