有关TCP Remoting选项的帮助: [英] Help on TCP Remoting options:

查看:62
本文介绍了有关TCP Remoting选项的帮助:的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

(在此输入您的留言)


----------------------------- ---

来自:Mural Kumar


哪个是最好的远程服务方式

服务器?


1)作为Windows服务

2)作为一个简单的exe,它将在系统托盘中运行。


如果有任何链接或文章,请告诉我。


谢谢


壁画


-----------------------

由.NET 247用户发布( http://www.dotnet247.com/


< Id> sysRNMGC40em7DQ50mPSEw ==< / Id>

(Type your message here)

--------------------------------
From: Mural Kumar

Which is the best way to make a remoting
server?

1)As a Windows service
2)As a simple exe, which will run in a system tray.

If there is any link or article, please let me know.

Thank you

Mural

-----------------------
Posted by a user from .NET 247 (http://www.dotnet247.com/)

<Id>sysRNMGC40em7DQ50mPSEw==</Id>

推荐答案

壁画。

虽然Windows服务是更好的选择时间,它实际上是

取决于服务的性质。

使用Windows服务作为主机的好处是该服务可以

使用不同的用户帐户,少或grea特权(更多

安全性);它可以有一个单独的登录会话;服务将会启动并且没有任何人登录到机器运行。

另一方面,Windows服务通常没有任何用户

互动(无法访问桌面等)。如果系统托盘控制器需要
,则必须通过任何IPC与服务进行通信。

BTW:您还可以选择通过ASP托管远程处理对象。 NET。


希望这会有所帮助。

Ming Chen


Mural Kumar via .NET 247 <一个******* @ dotnet247.com>在消息中写道

news:eh ************** @ TK2MSFTNGP15.phx.gbl ...
Hi, Mural.
Though windows service is a better choice most of the time, it actually
depends on the nature of the service.
The benefit of using a windows service as host is that the service can
use a different user account, with less or greater privilege (more
security); it can have a separate logon session; the service will be up and
running without anyone logon to the machine.
On the other hand, windows service normally can''t have any user
interaction (can''t access desktop, etc). If a system tray controller is
required, it has to communicate with the service through any IPC.
BTW: You also have the option of hosting a remoting object by ASP.NET.

Hope this helps.
Ming Chen

"Mural Kumar via .NET 247" <an*******@dotnet247.com> wrote in message
news:eh**************@TK2MSFTNGP15.phx.gbl...
(在此输入您的留言)

--------------------------------
来自:Mural Kumar <什么是制作远程服务器的最佳方法?

1)作为Windows服务
2)作为一个简单的exe,它将运行在系统托盘中。

如果有任何链接或文章,请告诉我。

谢谢

壁画

-----------------------
由.NET 247用户发布( http://www.dotnet247.com/
< Id> sysRNMGC40em7DQ50mPSEw ==< / Id> ;
(Type your message here)

--------------------------------
From: Mural Kumar

Which is the best way to make a remoting
server?

1)As a Windows service
2)As a simple exe, which will run in a system tray.

If there is any link or article, please let me know.

Thank you

Mural

-----------------------
Posted by a user from .NET 247 (http://www.dotnet247.com/)

<Id>sysRNMGC40em7DQ50mPSEw==</Id>



壁画,

这取决于你想要做什么。如果远程对象

只会被同一台机器上的某个人进行交互,那么在用户会话期间,第二个选项会更好。但是,如果这是一个

服务,无论用户会话是什么,无论用户会话登录到服务机器,人们都会连接到它,那么第一个选项就更好了。 />

希望这会有所帮助。

-

- Nicholas Paldino [.NET / C#MVP]

- mv*@spam.guard.caspershouse.com


" Mural Kumar通过.NET 247 <一个******* @ dotnet247.com>在消息中写道

news:eh ************** @ TK2MSFTNGP15.phx.gbl ...
Mural,

It really depends on what you are trying to do. If the remoted objects
are only going to be interacted with by someone on the same machine, during
a user session, then the second option is better. However, if this is a
service, where people will connect to it regardless of the user session
logged into the service machine, then the first option is better.

Hope this helps.
--
- Nicholas Paldino [.NET/C# MVP]
- mv*@spam.guard.caspershouse.com

"Mural Kumar via .NET 247" <an*******@dotnet247.com> wrote in message
news:eh**************@TK2MSFTNGP15.phx.gbl...
(在此输入您的留言)

--------------------------------
来自:Mural Kumar <什么是制作远程服务器的最佳方法?

1)作为Windows服务
2)作为一个简单的exe,它将运行在系统托盘中。

如果有任何链接或文章,请告诉我。

谢谢

壁画

-----------------------
由.NET 247用户发布( http://www.dotnet247.com/
< Id> sysRNMGC40em7DQ50mPSEw ==< / Id> ;
(Type your message here)

--------------------------------
From: Mural Kumar

Which is the best way to make a remoting
server?

1)As a Windows service
2)As a simple exe, which will run in a system tray.

If there is any link or article, please let me know.

Thank you

Mural

-----------------------
Posted by a user from .NET 247 (http://www.dotnet247.com/)

<Id>sysRNMGC40em7DQ50mPSEw==</Id>



这真的是你是否只想在有人登录到机器时运行applkication。对于peer-2-peer,这是完全可以接受的。但是,对于服务器应用程序,您真的不希望有人必须登录到计算机才能响应请求。服务可以在没有人登录的情况下运行,系统托盘应用程序也不能。


问候


Richard Blewett - DevelopMentor

http://staff.develop.com/richardb/weblog


nntp://news.microsoft.com/microsoft.public.dotnet.languages.csharp/< eh ************** @ TK2MSFTNGP15 .phx.gbl>


(在此输入你的信息)


--------------- -----------------

来自:Mural Kumar


这是进行远程处理的最佳方式

服务器?


1)作为Windows服务

2)作为一个简单的exe,它将在系统托盘中运行。


如果有任何链接或文章,请告诉我。


谢谢


Mural


-----------------------

由用户发布来自.NET 247( http://www.dotnet247.com/

< Id> sysRNMGC40em7DQ50mPSEw ==< / Id>


---

收到的邮件经过无病毒认证。

由AVG反病毒系统检查( http://www.grisoft.com)

版本:6.0.766 /病毒库:513 - 发布日期:17/09/2004


[microsoft.public.dotnet.languages.csharp]
This is really a qustion of whether you only want the applkication to run when someone is logged on to the machine. For peer-2-peer this is perfectly acceptable. However, for a server app you really don''t want someone to go have to log on to the machine for the server to be able respond to requests. A service can run without someone logged on, a system tray application cannot.

Regards

Richard Blewett - DevelopMentor

http://staff.develop.com/richardb/weblog

nntp://news.microsoft.com/microsoft.public.dotnet.languages.csharp/<eh**************@TK2MSFTNGP15.phx.gbl>

(Type your message here)

--------------------------------
From: Mural Kumar

Which is the best way to make a remoting
server?

1)As a Windows service
2)As a simple exe, which will run in a system tray.

If there is any link or article, please let me know.

Thank you

Mural

-----------------------
Posted by a user from .NET 247 (http://www.dotnet247.com/)

<Id>sysRNMGC40em7DQ50mPSEw==</Id>

---
Incoming mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.766 / Virus Database: 513 - Release Date: 17/09/2004

[microsoft.public.dotnet.languages.csharp]


这篇关于有关TCP Remoting选项的帮助:的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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