我怎样才能用ASP.NET做一个非常简单的Web代理? [英] How can I make a VERY simple web proxy using ASP.NET?
问题描述
我即将推出,直到我发现下面的打嗝这是行之有效网站:
I'm about to launch a site that was working well until I found the following hiccup:
我无法通过SSL请求雅虎管道。
I can't request a Yahoo! Pipe over SSL.
所以需要SSL现在缺了一块它们的功能,除非我想出解决的办法的网页;很明显,如果我用我的应用程序的SSL托管的网页,要求雅虎管我可以这样做。
So the pages that require SSL are now missing a piece of their functionality unless I figure out a way around this; obviously, this could be done if I use an SSL-hosted page on my app to request the Yahoo! pipe for me.
我见过像 http://www.iisproxy.net/license.html,但它似乎是我想要做的有点重。
I've seen solutions like http://www.iisproxy.net/license.html, but it seems to be a bit heavy for what I'm trying to do.
我不能做一个简单的ASHX处理程序?或者是比这更复杂?
Can't I do this with a simple ASHX handler? Or is it more complex than that?
感谢您,
迈克尔
推荐答案
我想,如果你想要做的是阅读的要求,你可以使用的WebRequest和放大器的内容; WebResponse类
I guess if all you want to do is read the contents of a request you could use a WebRequest & WebResponse
下面是有关使用某些细节
here are some details on using that
http://www.west-wind.com/presentations / dotnetWebRequest / dotnetWebRequest.htm
这篇关于我怎样才能用ASP.NET做一个非常简单的Web代理?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!