有没有办法来进行远程调用到ASP.NET开发Web服务器? [英] Is There a Way to Make Remote Calls to ASP.NET Development Web Server?

查看:158
本文介绍了有没有办法来进行远程调用到ASP.NET开发Web服务器?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我知道那一般来说,这不能做,那就是让另一台PC来调用ASP.NET开发Web服务器托管下的一个远程站点(通常你只能使用localhost:端口得到它)。

I know that generally speaking, this cant be done, that is get another PC to call a site hosted under the ASP.NET DEvelopment Web Server remotely (generally you can only use localhost:port to get to it).

不过,我想知道是否有人已经看到,或一种方法来绕过它知道?我在我的办公室一个RESTful API开发人员,我想PHP的人来测试我的机器上的API,以便我能有Visual Studio 2005调试连接,我可以更容易地找到问题。

But I was wondering if anyone has seen, or knows of a way to get around it? I am a RESTful API developer in my office, and I would like the PHP guys to test the APIs on my machine so that I can have the Visual Studio 2005 debugger attached, and I can more easily find problems.

的主要问题是,我的机器是一台Vista电脑,不幸的是,我已经开发了API不IIS7,甚至经典的应用程序池模式(它消除收留他们在本地IIS是不可能的)下工作。

THe main issue is, that my machine is a Vista machine, and unfortunately, the APIs I have developed do not work under IIS7, even Classic Application Pool mode (which eliminates hosting them on a local IIS impossible).

另外,有使用IIS6另一台机器上适合我的需求的方式?

Alternatively, is there a way to use IIS6 on another machine to suite my needs?

更新

根据我已经得到了建议和反复试验和错误与提出的建议后,我能得到鱿鱼充当反向代理,做正是我想做的事。我也博客上讲述它<一个href=\"http://www.ashleyangell.com/index.php/2009/03/configuring-a-basic-reverse-proxy-in-squid-on-windows-website-accelerator/\">http://www.ashleyangell.com/index.php/2009/03/configuring-a-basic-reverse-proxy-in-squid-on-windows-website-accelerator/如果任何人想要做同样的事情。

Based on the advise that I have gotten and after much trial and error with the suggestions made, I was able to get Squid to act as a reverse-proxy and do exactly what I wanted to do. I have blogged about it http://www.ashleyangell.com/index.php/2009/03/configuring-a-basic-reverse-proxy-in-squid-on-windows-website-accelerator/ in case anyone else wants to do the same thing.

推荐答案

你就不能运行在IIS7 <一个href=\"http://www.newguid.net/blog/post/2008/12/03/Run-webapplication-on-IIS7-%28Vista%29-in-classic-mode.aspx\"相对=nofollow>经典应用程序池模式?

Can't you just run IIS7 in Classic Application Pool mode?

在开发Web服务器是严格限制为localhost,你要么需要反编译和重新编译,或者设置一些类型的代理你的机器上。

The Development Web Server is strictly limited to Localhost, you would either need to decompile and recompile it, or set up some kind of Proxy on your machine.

和上一个无关的话题:即使Win2003的服务器R2 SP2应支持高达2012年3月,也许IIS7支持应添加到您的应用程序,以确保您能2008服务器上运行,以及

And on an unrelated Topic: Even though Win2003 Server SP2 R2 should be supported up to March 2012, maybe IIS7 Support should be added to your application to make sure you can run on 2008 Server as well.

这篇关于有没有办法来进行远程调用到ASP.NET开发Web服务器?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆