473,397 Members | 2,099 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,397 software developers and data experts.

Service Communication Issues.

Hey all.
Help!!

I am trying to create a windows service that will have an
array of data that can be accessed at any given time, as
well as have a stream of data from it.

My question is: How would I go about sharing an array
accross two separate programs with out using tcp. Is tcp
ideal? Would a message queue be ideal for streaming data?
I can't just send the reference of the array to the
program, could I?

(I think I got a little too use to assembly on
microprocessors where one could do anything.)

thanks for all help.
Nov 20 '05 #1
1 878
The absolute simplest way of doing this with .NET is to use remoting.
Remoting doesn't have to be cross-machine; it can mean simply cross-process
(or app domain). If you create a type on a service that supports remoting
then a simple tweak to the .config file of your other apps will create the
object via the transport transparently.

I'd suggest getting one of the excellent .NET remoting books, like Ingo
Rammer's. They all include code to get you started.
--
Klaus H. Probst, MVP
http://www.vbbox.com/
"GrainFed" <an*******@discussions.microsoft.com> wrote in message
news:2e*****************************@phx.gbl...
Hey all.
Help!!

I am trying to create a windows service that will have an
array of data that can be accessed at any given time, as
well as have a stream of data from it.

My question is: How would I go about sharing an array
accross two separate programs with out using tcp. Is tcp
ideal? Would a message queue be ideal for streaming data?
I can't just send the reference of the array to the
program, could I?

(I think I got a little too use to assembly on
microprocessors where one could do anything.)

thanks for all help.

Nov 20 '05 #2

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

Similar topics

3
by: Glenn Venzke | last post by:
I'd like to write a windows service. Unfortunately, my company would only spring for the standard edition of VB.NET which doesn't support the creation of windows services. Is it possible to write one...
9
by: David W. Fenton | last post by:
See: Updated version of the Microsoft Jet 4.0 Service Pack 8 replication files is available in the Download Center http://support.microsoft.com/?scid=kb;en-us;321076 This includes the Jet 4...
7
by: Will | last post by:
I'm working on a C# Windows Service that needs to monitor serial port communication. Because the .Net framework does not include support for serial communications, I've decided to use the...
5
by: Brian Patrick | last post by:
I have an application model which will consist of a front-end configuration application, which needs to control the state of a back-end vb.net windows service (which is the component that does all...
9
by: Rotzooi | last post by:
Hi, I have a VB.NET Service application that's running fine under the Local System account. But for configuration purposes I don't want to be dependent on modifying the registry manually or...
2
by: deko | last post by:
When to use a privileged user thread rather than a windows service? That's the question raised in a previous post . It was suggested that if the service needs to interact with a WinForms app...
8
by: semedao | last post by:
Hi , I need to develop some feature of web service that can notify client - "Push" operation - and fast somebody know if it's possible , and how? When I say "Push" I mean - pure push :) , not...
3
dmjpro
by: dmjpro | last post by:
plz send me a good link which can clearify me how the J2EE framework works i want the details information .... plz help thanx
4
by: Dylan | last post by:
Hello, I was trying to do a WCF tutorial (http://wcf.netfx3.com/content/ BuildingHelloWorld.aspx). I need to get the meta data from my service usin svcutil.exe why is not working? Please see...
6
by: =?Utf-8?B?RGFuaWVs?= | last post by:
Hi, Recently I'm confused by this exception. ----- The message could not be processed. This is most likely because the action 'http://tempuri.org/IBCC2MatrixService/UserMatchingSearch' is...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
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
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
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
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
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...

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.