开发者

How to build an ASP.NET Proxy Site

开发者 https://www.devze.com 2023-01-17 13:49 出处:网络
I want to build a proxy site that renders any URL. Given an url, I need to replace all html links, css links and js urls from

I want to build a proxy site that renders any URL.

Given an url, I need to replace all html links, css links and js urls from

href="/original.htm"

to

href="http://www.myproxy.com开发者_StackOverflow中文版/get?www.original.com/original.htm"

sort of.

How can I do? is there a ready-to-use framework? I use ASP.NET and C#.


http://www.codeproject.com/KB/aspnet/asproxy.aspx

0

精彩评论

暂无评论...
验证码 换一张
取 消