Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / ASP.NET / Web Services / February 2005

Tip: Looking for answers? Try searching our database.

WindowsService WebService Communication

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
sharon669@hotmail.com - 05 Feb 2005 20:40 GMT
Hi folks
Can anyone recommend simple way of communication between C#
WindowsService  And C# WebService Running on the same machine ?

Thank you
Sharon
Sondre Bjellås - 07 Feb 2005 06:45 GMT
> Hi folks
> Can anyone recommend simple way of communication between C#
> WindowsService  And C# WebService Running on the same machine ?
>
> Thank you
> Sharon

I think the simplest way would be to use .NET remoting which I've used
myself in a similar scenario. Otherwise you could use filesystem (poor
solution), MSMQ, custom sockets. If you search after it in the web or
MSDN library you will find a lot of good help and documentation.

Regards,
Sondre
sharon669@hotmail.com - 07 Feb 2005 09:03 GMT
Hi Sondre , well , I am trying to avoid the overhead of writing the
code for using such technologies

Sockets seems odd to me specially when transferring the same machine,
and the need to pass massive data size.

>From a brief inspection of MSMQ I got the impression that implementing
this communication will be heavy task.
MSMQ from Microsoft:
Microsoft Message Queuing (MSMQ) technology enables applications
running at different times to communicate across heterogeneous networks
and systems that may be temporarily offline. Applications send messages
to queues and read messages from queues. MSMQ provides guaranteed
message delivery, efficient routing, security, and priority-based
messaging. It can be used to implement solutions for both asynchronous
and synchronous messaging scenarios.

Thank you
Sharon

> > Hi folks
> > Can anyone recommend simple way of communication between C#
[quoted text clipped - 6 lines]
> myself in a similar scenario. Otherwise you could use filesystem (poor
> solution), MSMQ, custom sockets. If you search after it in the web or

> MSDN library you will find a lot of good help and documentation.
>
> Regards,
> Sondre
Dilip Krishnan - 07 Feb 2005 13:37 GMT
Hello sharon669@hotmail.com,
  Well you answered your own question :) ... using soap over http! The windows
service should create a web service proxy and invoke messages on that proxy
to communicate with the web service. Now you could make that connection asynchronous
using queues like you suggested, but you would need to write a client that
polls the queue and makes requests to the web service.

HTH
Regards,
Dilip Krishnan
MCAD, MCSD.net
dkrishnan at geniant dot com
http://www.geniant.com

> Hi folks
> Can anyone recommend simple way of communication between C#
> WindowsService  And C# WebService Running on the same machine ?
> Thank you Sharon

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.