title: C# web application -> proxy all requests -> return content from another web application (Reverse proxy)
body: <p>I would like to proxy every requests to a web application, pass it to another web application and then return my other web applications response to the original sender.</p>
  
  <p>It should be able to handle all <code>http methods</code> and <code>content-types</code> etc. I should also be able to edit the incoming request and add additional headers and content.</p>
  
  <p>The background for doing this is the security architecture for a project that has one web server in a public DMZ and then another web server in the internal network that is allowed to talk to the database server.</p>
  
  <p><a href="https://i.stack.imgur.com/jwGZi.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/jwGZi.jpg" alt="enter image description here"></a></p>
  
  <p>Found a thread for ASP.NET core but preferably it should be done with .Net Framework and not be dependent on an external library.</p>
  
  <p><a href="https://stackoverflow.com/questions/42000362/creating-a-proxy-to-another-web-api-with-asp-net-core">Creating a proxy to another web api with Asp.net core</a></p>