从C#代码在浏览器中呈现响应页面

从C#代码在浏览器中呈现响应页面,c#,forms,model-view-controller,url-redirection,response.redirect,C#,Forms,Model View Controller,Url Redirection,Response.redirect,我在C#中有以下代码,用于将值发布到另一个站点的表单中 var webClient = new WebClient(); const string uri = "http://anothersite.com/index.php"; const string myParameters = "param1=value1&param2=value2"; webClient.Headers[HttpR

我在C#中有以下代码,用于将值发布到另一个站点的表单中

            var webClient = new WebClient();
            const string uri = "http://anothersite.com/index.php";
            const string myParameters = "param1=value1&param2=value2";
            webClient.Headers[HttpRequestHeader.ContentType] = "application/x-www-form-urlencoded";
            var htmlResult = webClient.UploadString(uri, myParameters);
            webClient.Dispose();
您能建议如何在浏览器中呈现响应页面吗?
我必须在浏览器中呈现整个响应页面,因为它是从该网站提交的

这是ASP.NET MVC吗?我想你可以
返回内容(htmlResult)。是的,我正在使用ASP.NET MVC4,并且我已经尝试使用
返回内容(htmlResult)
但它只重定向到包含表单的页面,而不重定向到响应页面。