![]() |
![]() | ![]() | ![]() | ![]() | ![]() | ![]() | ![]() |
| 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. |
| |||||||
| |
| | #1 (permalink) |
| | 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 Specs![]() |
| | #2 (permalink) |
| | 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 Specs![]() |
| | #3 (permalink) |
| | 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 Specs![]() |
| 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 | |||