title: Redirect to external URI from ASP.NET MVC controller
body: <p>I'm trying to redirect to external url from an action method but can't get it to work. Can anybody shed some light on my error?</p>
  
  <pre><code>public void ID(string id)
      {
          string url = string.Empty;
          switch (id)
          {
              case "DB2FCB11-579F-4DA2-A68C-A6495B9BAAB5":
  
                  url = "http://www.somesite.com";
                  break;
          }
          Response.Redirect(url, true);
      }
  </code></pre>
  
  <p>Thanks,
  Chris</p>