【发布时间】:2014-03-13 09:11:58
【问题描述】:
我发现自己不得不在 IIS 7.5 中托管 .NET Remoting 对象。 首先,我尝试遵循以前版本的 IIS 的标准方式:我用我的类创建了 dll,将其放入 bin 文件夹,创建 web.config:
<configuration>
<system.runtime.remoting>
<application>
<service>
<wellknown
mode="SingleCall" objectUri="FunctionOne.rem"
type="remoting, remoting"/>
</service>
<channels>
<channel ref="http"/>
</channels>
</application>
</system.runtime.remoting>
</configuration>
但是任何通过 Internet Explorer 地址栏检查它的尝试都为我返回了 404 错误。我试过了 在 google 中找到解决方案,但由于 .NET 远程处理是一项相当古老的技术,似乎几乎没有人需要为其托管新版本的 IIS。有什么我可以使用的信息来源吗?谢谢
【问题讨论】:
标签: c# asp.net .net iis remoting