Windows Vista Forums
Vista Forums Home Join Vista Forums Windows 7 Forum Vista Tutorials Tags
Welcome to Windows Vista Forums. Our forum is dedicated to helping you find solutions with any problems, errors or issues you are experiencing with Windows Vista. The Vista forum also covers news and updates and has an extensive Windows Vista tutorial section that covers a wide range of tips and tricks.

Go Back   Vista Forums > Misc Newsgroups > Indigo

Vista - Clients, WCF service and windows forms application

 
 
Old 09-26-2007   #1 (permalink)
Mike


 
 

Clients, WCF service and windows forms application



Hi there, I’m very new to WCF and I would like to know if what I need to
do its possible thru this new technology.



My goal is to have a client/server (distributed) application that will
do the following:



I want to have clients, the service, and a windows forms application.

When a client calls the service and executes a method (like
Proxy.DOSomething) I want the service to actually execute that, and I
want the windows application to react based on values returned by the
execution of the DOSomething method in the server.



Can it be done?

Any direction?





Thanks.





My System SpecsSystem Spec
Old 09-27-2007   #2 (permalink)
Vadym Stetsiak


 
 

Re: Clients, WCF service and windows forms application

Hello, Mike!

Generally, it is possible.
There are several ways to accomplish that:
- merge service and winforms app into one, e.g. open wcf service host within
winforms app
- if wcf service has to reside within windows service then you'll have to
use inter-process communication.

--
With best regards, Vadym Stetsiak.
Blog: http://vadmyst.blogspot.com

You wrote on Wed, 26 Sep 2007 00:40:30 -0400:

M> Hi there, I'm very new to WCF and I would like to know if what I need
M> to do its possible thru this new technology.

M> My goal is to have a client/server (distributed) application that
M> will do the following:

M> I want to have clients, the service, and a windows forms application.

M> When a client calls the service and executes a method (like
M> Proxy.DOSomething) I want the service to actually execute that, and I
M> want the windows application to react based on values returned by the
M> execution of the DOSomething method in the server.

M> Can it be done?

M> Any direction?

M> Thanks.


My System SpecsSystem Spec
Old 09-28-2007   #3 (permalink)
Chris Mullins [MVP - C#]


 
 

Re: Clients, WCF service and windows forms application

Hi Mike,

This is pretty much the turnkey scenario for Web Services in general, and
WCF in specific.

If you look through the various samples you can download for WCF, probably
80%+ of them do exactly what you just described.

The WCF samples can be found here:
http://msdn2.microsoft.com/en-us/library/ms751514.aspx

--
Chris Mullins

"Mike" <mike@xxxxxx> wrote in message
news:F04C36773D704391BC3155127516DDBA@xxxxxx

Hi there, I'm very new to WCF and I would like to know if what I need to do
its possible thru this new technology.

My goal is to have a client/server (distributed) application that will do
the following:

I want to have clients, the service, and a windows forms application.
When a client calls the service and executes a method (like
Proxy.DOSomething) I want the service to actually execute that, and I want
the windows application to react based on values returned by the execution
of the DOSomething method in the server.

Can it be done?
Any direction?


Thanks.



My System SpecsSystem Spec
 

Thread Tools


Similar Threads
Thread Forum
Windows forms application and database back-up .NET General
simulate continuous forms & subforms in a windows forms application .NET General
Read properties of Windows Service from Windows Forms App .NET General


Vista Forums is an independent web site and has not been authorized,
sponsored, or otherwise approved by Microsoft Corporation.
"Windows Vista", the Start Orb, and related materials are trademarks of Microsoft Corp.
© Designer Media Ltd

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46