(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>sysRNMGC40e m7DQ50mPSEw==</Id> 12 1553
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*******@dotn et247.com> wrote in message
news:eh******** ******@TK2MSFTN GP15.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>sysRNMGC40e m7DQ50mPSEw==</Id>
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.co m
"Mural Kumar via .NET 247" <an*******@dotn et247.com> wrote in message
news:eh******** ******@TK2MSFTN GP15.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>sysRNMGC40e m7DQ50mPSEw==</Id>
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.publi c.dotnet.langua ges.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>sysRNMGC40e m7DQ50mPSEw==</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.publi c.dotnet.langua ges.csharp]
Seeing as you are deploying a remoting component into the service, having to communicate via an IPC is not really a problem
Regards
Richard Blewett - DevelopMentor http://staff.develop.com/richardb/weblog
nntp://news.microsoft. com/microsoft.publi c.dotnet.langua ges.csharp/<O4************ **@TK2MSFTNGP11 .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*******@dotn et247.com> wrote in message
news:eh******** ******@TK2MSFTN GP15.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>sysRNMGC40e m7DQ50mPSEw==</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.publi c.dotnet.langua ges.csharp]
"Richard Blewett [DevelopMentor]" <ri******@devel op.com> wrote in message
news:eg******** ******@TK2MSFTN GP10.phx.gbl... A service can run without someone logged on, a .....
Richard,
The same goes for a console applications started as a scheduled task.
Willy.
Ah yes, thats true.
Although are you suggesting that a timed console app is a good alternative to a windows service as a remoting host?
Regards
Richard Blewett - DevelopMentor http://staff.develop.com/richardb/weblog
nntp://news.microsoft. com/microsoft.publi c.dotnet.langua ges.csharp/<#V************ **@TK2MSFTNGP11 .phx.gbl>
"Richard Blewett [DevelopMentor]" <ri******@devel op.com> wrote in message
news:eg******** ******@TK2MSFTN GP10.phx.gbl... A service can run without someone logged on, a .....
Richard,
The same goes for a console applications started as a scheduled task.
Willy.
---
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.publi c.dotnet.langua ges.csharp]
Yes, you are right. The remoting service can always be controlled with the
remoting interface it provides. But normally you would like the control
interface to be more secure than the service interface. For example, only
start/stop the service from localhost, not remotely.
Best Regards
Ming Chen
"Richard Blewett [DevelopMentor]" <ri******@devel op.com> wrote in message
news:uJ******** ********@TK2MSF TNGP09.phx.gbl. .. Seeing as you are deploying a remoting component into the service, having
to communicate via an IPC is not really a problem Regards
Richard Blewett - DevelopMentor
http://staff.develop.com/richardb/weblog
nntp://news.microsoft. com/microsoft.publi c.dotnet.langua ges.csharp/<O4************ **@TK2MSFTNGP11 .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*******@dotn et247.com> wrote in message news:eh******** ******@TK2MSFTN GP15.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>sysRNMGC40e m7DQ50mPSEw==</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.publi c.dotnet.langua ges.csharp]
For a server, the ability to remotely administer my server is a pretty crucial aspect. But agreed, due to the lack of an inbuilt security infrastructure in remoting, securing the control interface more than the line-of-business one would not be straightforward .
Regards
Richard Blewett - DevelopMentor http://staff.develop.com/richardb/weblog
nntp://news.microsoft. com/microsoft.publi c.dotnet.langua ges.csharp/<uvbmYK Ao********@TK2M SFTNGP11.phx.gb l>
Yes, you are right. The remoting service can always be controlled with the
remoting interface it provides. But normally you would like the control
interface to be more secure than the service interface. For example, only
start/stop the service from localhost, not remotely.
Best Regards
Ming Chen
"Richard Blewett [DevelopMentor]" <ri******@devel op.com> wrote in message
news:uJ******** ********@TK2MSF TNGP09.phx.gbl. .. Seeing as you are deploying a remoting component into the service, having
to communicate via an IPC is not really a problem Regards
Richard Blewett - DevelopMentor
http://staff.develop.com/richardb/weblog
nntp://news.microsoft. com/microsoft.publi c.dotnet.langua ges.csharp/<O4************ **@TK2MSFTNGP11 .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*******@dotn et247.com> wrote in message news:eh******** ******@TK2MSFTN GP15.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>sysRNMGC40e m7DQ50mPSEw==</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.publi c.dotnet.langua ges.csharp]
---
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.publi c.dotnet.langua ges.csharp]
In my opinion Yes, I find in general that Windows Services are way overused.
Scheduled tasks can offer a good alternative for services, especially for
simple tasks like remoting hosts.
After all they share most of the "features" like:
- Run in a configurable security context (user)
- No UI (sandboxed desktop/winstation) when run in the LocalSystem context.
- Can easily be controlled just like services (started , stopped, queried,
changed...)
But also offers some advantages not found when implemented as a Service:
- Less complex to implement, you don't have to consider specific SCM
requirements like OnStart/OnStart time-out's . The FCL hides most of the
complexities of the SCM interaction protocol, but many inexperienced
developers do have issues with it, just because so many things are hidden
,but he! they still are there under the covers (very often the cause of
services failing to start or stop).
- And they can be scheduled to run at boot time, logon time, system idle
time or at specific date/time, which is less flexible when running as a
service.
Willy.
"Richard Blewett [DevelopMentor]" <ri******@devel op.com> wrote in message
news:uL******** ******@TK2MSFTN GP12.phx.gbl... Ah yes, thats true.
Although are you suggesting that a timed console app is a good alternative to a windows service as a remoting host?
Regards
Richard Blewett - DevelopMentor
http://staff.develop.com/richardb/weblog
nntp://news.microsoft. com/microsoft.publi c.dotnet.langua ges.csharp/<#V************ **@TK2MSFTNGP11 .phx.gbl>
"Richard Blewett [DevelopMentor]" <ri******@devel op.com> wrote in message news:eg******** ******@TK2MSFTN GP10.phx.gbl... A service can run without someone logged on, a .....
Richard,
The same goes for a console applications started as a scheduled task.
Willy. --- 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.publi c.dotnet.langua ges.csharp] This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: Dennis Owens |
last post by:
I want to develop a Client/Server messaging system that
does not require Microsoft messaging. I want to use
the .Net remoting, but I am having some real problems with
the remoting. The remoting really seems to be a one way
street in terms of messaging. Ex.( The Client can
communicate with the server and get information back from
the server, but the server cannot make a call to the
client unless you set up another remoting session were the...
|
by: Dennis Owens |
last post by:
Read below for previous conversation.
We are developing an application that will some day run on
anything from a computer down to a PDA (this is were the
Lightweight comes in). The messaging that we want to send
will be very straightforward. If one of the clients has
changed some data, the other clients need to know about
it. If the clients are not on line then the message may
have to wait until they are on line. The messages
|
by: MLH |
last post by:
Why does A97 sometimes let me copy Help text (Options, Copy)
or (hilite, rite click, Copy) and sometimes not? I find it quite
disconcerting. Could this be a hardware problem for me rather
than an MS Access problem? IE, can any of you copy the help
text for the TimerInterval property? I cannot. I can copy some
help sections, but not all of them. Why is this?
|
by: bettervssremoting |
last post by:
To view the full article, please visit
http://www.BetterVssRemoting.com
Better VSS Remote Access Tool including SourceOffSite, SourceAnyWhere
and VSS Remoting
This article makes a detailed comparison among SourceAnyWhere,
SourceOffSite, VSS Remoting and possible others.
|
by: Julia |
last post by:
I need help with architecture design,please:
I have a server which constantly downloading messages from the internet
and store them inside a data base.
the server have two administrators options:
one is a local windows application,and the second is a web application
The administrator can either delete messages,add new messages,and send
messages
| |
by: Mat |
last post by:
i create a remote server which i want to use like windows servers.
-On start i put the following code:
Protected Overrides Sub OnStart(ByVal args() As String)
Dim filename As String = "BroadCastservices.exe.config"
RemotingConfiguration.Configure(filename)
|
by: Alexandre (www.pointnetsolutions.com) |
last post by:
I am looking at building a distributed system,
and i have been looking at many different options,
in some cases i was thinking of a client server relation
where a client would send a string to the system as a command.
i also looked at the GOF Command pattern which i could somewhat use
with
|
by: Matt Kruse |
last post by:
Using the latest version of Opera 8.5, this test case:
--------------------------------------------------------
<select name="sel" multiple="true" size="3">
<option value="option1" selected>option1</option>
<option value="option2" selected>option2</option>
<option value="option3" selected>option3</option>
</select>
<input type="button"
|
by: nelsonbrodyk |
last post by:
Hey All,
I currently have C# clients, and I want them to talk to a Java server side running on Glassfish application server.
I am wondering if anyone has some options outside of webservices, as we are trying to cut down the amount of data we are sending across the wire.
I know their is .NET IIOP (which I can't get to compile in VS 2008), and also Hessian. Is there any other good binary remoting options to talk from a C# client to a Java...
|
by: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it.
First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
|
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed.
This is as boiled down as I can make it.
Here is my compilation command:
g++-12 -std=c++20 -Wnarrowing bit_field.cpp
Here is the code in...
| |
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM).
In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules.
He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms.
Adolph will...
|
by: conductexam |
last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one.
At the time of converting from word file to html my equations which are in the word document file was convert into image.
Globals.ThisAddIn.Application.ActiveDocument.Select();...
|
by: TSSRALBI |
last post by:
Hello
I'm a network technician in training and I need your help.
I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs.
The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols.
I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
|
by: 6302768590 |
last post by:
Hai team
i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
|
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
| |
by: bsmnconsultancy |
last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...
| |