在WEB中嵌入.net远程处理程序

发布于 2024-07-24 12:35:41 字数 242 浏览 0 评论 0原文

所以,这是一笔交易。 我有客户端-服务器应用程序(dotNet remoting)。 客户端只有很少的轨迹栏、复选框、按钮和图片框。 服务器是一个控制台应用程序,仅从客户端进行计算。 客户的picturebox在picturebox中做了一些计算的可视化。 所有计算和相关类都在 dll 文件中。

现在我必须将客户端应用程序嵌入网站中。 所有类型的技术都被接受,但我想最小化施加于嵌入的力。 那么,嵌入的最佳方法是什么?

So, here is a deal.
I have client-server application(dotNet remoting). Client side has few trackbars, checkboxes, buttons and picturebox. Server is a console application and does only calculation from client. Client's picturebox make some visualisation of calculation in picturebox. All calulations and relative classes are in dll file.

Now I have to embed client application in web site. All kind of technologies are accepted, but I want to minimize forces applied to embedding. So, what is the best way to do embedding?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(3

远山浅 2024-07-31 12:35:42

如果您想获取 C# 应用程序并通过 Web 服务器访问它,请查看 iHttpHandler。 您需要编译为 DLL,并配置您的 IIS 服务器。

网上有很多教程。 一种是: http://www.codeproject.com/KB/aspnet/CustomImageHandler.aspx< /a>

If you want to take a C# application and access it through a web server, look into iHttpHandler. You need to compile to a DLL, and configure your IIS server.

There are a number of tutorials on the web. One is: http://www.codeproject.com/KB/aspnet/CustomImageHandler.aspx

你在我安 2024-07-31 12:35:41

您需要创建一个网站来访问远程服务器并将输出呈现为 HTML。 我严重怀疑您是否能够在浏览器环境中进行远程处理,即使使用 Silverlight 之类的东西也是如此。

如果您不想使用完整的 Web 服务器,则可以在服务器应用程序中使用 .net 类 HttpListener 来创建嵌入式 Web 服务器。

You need to create a web site that accesses your remoting server and renders output as HTML. I seriously doubt that you will be able to get remoting working inside a browser environment, even using something like Silverlight.

If you don't want to use a full blown web server then use the .net class HttpListener in your server application to create an embedded web server.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文