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 - Access service functionality from the host itself

 
 
Old 10-20-2007   #1 (permalink)
Mike


 
 

Access service functionality from the host itself

I need to access functionality of a service hosted in a windows
application, from the same windows application(host).

Should I create a proxy (with Add Service Reference) as I will do in the
case of a regular client?





Thanks





My System SpecsSystem Spec
Old 10-22-2007   #2 (permalink)
sloan


 
 

Re: Access service functionality from the host itself


Simple Answer:

Yes.



Long Answer:

No,but you gotta do some stuff.


http://sholliday.spaces.live.com/Blo...842A!158.entry

This sample shows using NetNamedPipes, but also "Interface" development.

So your outside clients could use the proxy generation, and perhaps your local people can use the interfaces? I'm not sure.

check idesign.net downloads, there is a named pipe demo there that does auto proxy creation I think as well.

...

Actually, I'd check the idesign solution BEFORE checking mine. I think its closer to what you want.
THe key is that there is a way to code up the proxies "on the fly" without goign thru the generation tools.

http://www.idesign.net/idesign/Deskt...dex=5&tabid=11

In-Proc Hosting Essentials WCF lets the service execute in the client's process. This hosting mode is called In-Proc hosting. You should use named pipe binding, and you can even have a single config file for both the client and the host. This simple demo demonstrates in-proc hosting.



This google search might help as well:
http://www.google.com/search?hl=en&q...tractClient%22


"Mike" <mike@xxxxxx> wrote in message news:124DA913812F4FD9A124B87CE1B7C2E7@xxxxxx
I need to access functionality of a service hosted in a windows application, from the same windows application(host).

Should I create a proxy (with Add Service Reference) as I will do in the case of a regular client?





Thanks



My System SpecsSystem Spec
Old 12-01-2007   #3 (permalink)
Tiago Halm


 
 

Re: Access service functionality from the host itself

Mike,

Check the NullTransport sample posted here [1]
It may suit your needs.

[1]
http://weblogs.asp.net/cibrax/archiv...t-for-wcf.aspx

Tiago Halm

"Mike" <mike@xxxxxx> wrote in message
news:124DA913812F4FD9A124B87CE1B7C2E7@xxxxxx
Quote:

>I need to access functionality of a service hosted in a windows
> application, from the same windows application(host).
>
> Should I create a proxy (with Add Service Reference) as I will do in the
> case of a regular client?
>
>
>
>
>
> Thanks
>
>
>
>

My System SpecsSystem Spec
 

Thread Tools


Similar Threads
Thread Forum
VbSystemModal type functionality for Read-Host input PowerShell
Disabling Internet Access Functionality only from a Router Vista networking & sharing
How do I access the command prompt in reduced functionality mode? Vista account administration


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