Warning: file_get_contents(/data/phpspider/zhask/data//catemap/1/asp.net/30.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
C# HttpHandler在ASP.NET中重定向url_C#_Asp.net_Iis_Httphandler - Fatal编程技术网

C# HttpHandler在ASP.NET中重定向url

C# HttpHandler在ASP.NET中重定向url,c#,asp.net,iis,httphandler,C#,Asp.net,Iis,Httphandler,我正在尝试编写一个HttpHandler来进行url重定向 例如,每次我写url:www.google.com 它重定向到www.yahoo.com 我该怎么做 我需要更改的定义是IIS(7.0) 谢谢, Joe为什么不使用IIS?我使用IIS 5和6-

我正在尝试编写一个HttpHandler来进行url重定向

例如,每次我写url:www.google.com

它重定向到www.yahoo.com

我该怎么做

我需要更改的定义是IIS(7.0)

谢谢, Joe

为什么不使用IIS?

我使用IIS 5和6-