473,406 Members | 2,369 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,406 software developers and data experts.

Remoting a Windows Service Application

Is it possible to apply remoting techniques to a Windows Service
Application?

I have an application that I'm building that is primarily ASP.NET based.
However, there are some functions that I want to have run all the time in
the background. So I am implementing a Windows service to accomplish this.
However, I'd like to expose some funtionality out of this Windows Service as
well. I'd like to be able to remote control it to a certain extent, and
have it act as a service both for the web app and for other clients I'm
building.

I understand a web service would be ideal, but the problem here is that the
requirement is for a service that is always available and doesn't have to be
instantiated.

If there is a better way to do this, by all means, PLEASE let me know. :)

Stephajn
Nov 20 '05 #1
2 1357
Actually, the best configuration for remoting is using a Windows Service
The web service just as remoting are available all the time (if you have IIS
running, of course).
So the main reason for using Remoting would be performance, but this will
reduce interoperability, so you must use .NET as client too.
The main differences are their capabilities, Remoting can use any of the
predefined channels (TCP/HTTP) with any of the formatters (Binary/SOAP)
while WebServices use only HTTP/SOAP, along with the capacity for using
singleton in remoting.

Regards
Omar

"Stephajn Craig" <s.*****@NOSPAM.funsunvacations.com> wrote in message
news:ef**************@TK2MSFTNGP10.phx.gbl...
Is it possible to apply remoting techniques to a Windows Service
Application?

I have an application that I'm building that is primarily ASP.NET based.
However, there are some functions that I want to have run all the time in
the background. So I am implementing a Windows service to accomplish this. However, I'd like to expose some funtionality out of this Windows Service as well. I'd like to be able to remote control it to a certain extent, and
have it act as a service both for the web app and for other clients I'm
building.

I understand a web service would be ideal, but the problem here is that the requirement is for a service that is always available and doesn't have to be instantiated.

If there is a better way to do this, by all means, PLEASE let me know. :)

Stephajn

Nov 20 '05 #2
On 2004-03-03, Stephajn Craig <s.*****@NOSPAM.funsunvacations.com> wrote:
Is it possible to apply remoting techniques to a Windows Service
Application?


Yes. It is quite possible. "Advanced .NET Remoting" by Ingo Rammer is
a very good book on the subject. The book has two versions, one for C#
and the other for VB.NET ;)

--
Tom Shelton [MVP]
Powered By Gentoo Linux 1.4
Facts are the enemy of truth.
-- Don Quixote
Nov 20 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: Linesh Gajera | last post by:
Hi, I have unique problem. I have configured RemotingServer running as Console Application and my Remoting object access Oracle database. My remoting object make call to Oracle database and...
15
by: anders | last post by:
Hi! I have a config file that looks like this: <?xml version="1.0" encoding="utf-8" ?> <configuration> <system.runtime.remoting> <application> <service> <wellknown mode="SingleCall"...
2
by: Fadi | last post by:
Backround: I am trying to figure out how to do the equivalant of a classic COM Local Server Singleton in .NET/C#. I created a coupld of simple Class Libs that exposes public interfaces and hosted...
5
by: LGHummel | last post by:
I'm trying to host a remoting app in IIS and am getting the following error: Failed to execute the request because the ASP.NET process identity does not have read permissions to the global...
3
by: John Fred | last post by:
Salve, I have write a service Windows for the remoting. I have a dll Server (OLD COM+) For Configure DLL Server I user Config File Es. <configuration> <system.runtime.remoting>...
0
by: Kirk | last post by:
I'm trying to use a Web Service to be a Remoting client of an existing ..NET 2.0 server. But I get the following error when I try to use System.Runtime.Remoting.Channels.Http in my WebService. ...
0
by: Jason | last post by:
Ok, for the life of me, I just don't understand what's going on. I want to use remoting to send messages from a windows service to a windows form app, but I just can't get it to work. So, here's...
6
by: Palvinder Singh | last post by:
Hello google group peeps, I am new to remoting, but have a grasp of it. I am trying to create a server/client application, which will be deployed over an intranet. I have upwards of five...
7
by: Diego F. | last post by:
Hello. I have a windows service running that listens to a port and makes insert queries in a database. I need to make an interface, so my idea is creating a simple windows application that just...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
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...
0
Oralloy
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,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
isladogs
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...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.