title: How to proxy every HTTP request to other service in ASP.NET MVC?
body: <p>I'm creating ASP.NET MVC controller, which would proxy requests to remote service and after response is got - resend response to the client. It works fine, but I get System.Net.WebException when remote server returns (400) Bad Request. </p>
  
  <p>Is there any way how to proxy any kind of response to the client, without raising such exeptions?    </p>
  
  <pre><code>var request = (HttpWebRequest)WebRequest.Create(uri);
  Request.CopyTo(request);
  var response = (HttpWebResponse)request.GetResponse();
  return new HttpWebResponseResult(response);
  </code></pre>