简体   繁体   English

在IIS 7.5上安装.net远程处理对象

[英]Install .net remoting objects on IIS 7.5

I found myself in situation when I have to host .NET Remoting objects in IIS 7.5. 我不得不在IIS 7.5中托管.NET Remoting对象时遇到了麻烦。 First I tried to follow standard way for previous version of IIS: I created dll with my class, put it in bin folder, created web.config: 首先,我尝试遵循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>

But any attempts to check it through Internet Explorer address bar returned 404 Error for me. 但是任何通过Internet Explorer地址栏检查它的尝试都为我返回了404错误。 I tried to find solution in google but as .NET remoting is pretty old technology it seemed alsmost no one needs to host it new versions of IIS. 我试图在google中找到解决方案,但由于.NET远程处理是一种相当古老的技术,因此几乎几乎没有人需要托管它的IIS新版本。 Are there any sources of information I could use? 我可以使用任何信息来源吗? Thank you 谢谢

.NET Remoting is not pretty old technology - you are obviously someone who never read the documentation. .NET Remoting并不是很老的技术-您显然是从未读过文档的人。

Why do you think you can access a remoting object via HTTP in a browser? 您为什么认为可以在浏览器中通过HTTP访问远程对象? Remoting doe snot use HTML and is not a web service metadata readable technology. 远程处理Doe不会使用HTML,并且不是Web服务元数据可读技术。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM