Windows Vista Forums
Vista Forums Home Join Vista Forums Donate Vista Tutorials Tags

Welcome to Vista Forums we are your forum to discuss Windows Vista x64 and x86 systems. Whether you need help or just want to post an idea you have on Vista, this is the forum for you.
Register at Vista forums...the world biggest Windows Vista resource Join Vista Forums Now

Go Back   Vista Forums > Microsoft Technical Newsgroups > Indigo

Chaining WXF services

Update your Vista Drivers Update Your Drivers Now!!
 
 
Thread Tools Display Modes
Old 01-30-2007   #1 (permalink)
Graham Wright
Guest


 

Chaining WXF services

I would appreciate some architectural advice on chaining services.

As an example I have two discrete services hosted in a single Windows
service.
For most of the time these services are accessed by clients to provide non
related functionality but in one case service A needs to call service B in
order to fulfil a client request.

The obvious solution would be for service A to act as a standard client of
service B (Service Reference from Visual Studio etc) but this seems
inefficient as both services are hosted in the same process and establishing
a communications channel to effectively talk to yourself seems unnecessary.

Is there any way of services hosted in the same process chaining calls
without this overhead ?



My System SpecsSystem Spec
Old 01-30-2007   #2 (permalink)
Mariano Omar Rodriguez
Guest


 

Re: Chaining WXF services

Instance the class directly with new and call the service method.

"Graham Wright" <grahamwright@msn.com> wrote in message
news:uZ%23dK%23ERHHA.4276@TK2MSFTNGP02.phx.gbl...
>I would appreciate some architectural advice on chaining services.
>
> As an example I have two discrete services hosted in a single Windows
> service.
> For most of the time these services are accessed by clients to provide non
> related functionality but in one case service A needs to call service B in
> order to fulfil a client request.
>
> The obvious solution would be for service A to act as a standard client of
> service B (Service Reference from Visual Studio etc) but this seems
> inefficient as both services are hosted in the same process and
> establishing a communications channel to effectively talk to yourself
> seems unnecessary.
>
> Is there any way of services hosted in the same process chaining calls
> without this overhead ?
>


My System SpecsSystem Spec
Old 02-01-2007   #3 (permalink)
Arkady Frenkel
Guest


 

Re: Chaining WXF services

look for generic approach in "Sharing an Instance"
http://msdn.microsoft.com/msdnmag/is...WCFEssentials/.

Arkady

"Graham Wright" <grahamwright@msn.com> wrote in message
news:uZ%23dK%23ERHHA.4276@TK2MSFTNGP02.phx.gbl...
>I would appreciate some architectural advice on chaining services.
>
> As an example I have two discrete services hosted in a single Windows
> service.
> For most of the time these services are accessed by clients to provide non
> related functionality but in one case service A needs to call service B in
> order to fulfil a client request.
>
> The obvious solution would be for service A to act as a standard client of
> service B (Service Reference from Visual Studio etc) but this seems
> inefficient as both services are hosted in the same process and
> establishing a communications channel to effectively talk to yourself
> seems unnecessary.
>
> Is there any way of services hosted in the same process chaining calls
> without this overhead ?
>



My System SpecsSystem Spec
Old 02-01-2007   #4 (permalink)
Arkady Frenkel
Guest


 

Re: Chaining WXF services

In addition you can use
http://groups.google.com/group/micro...291b7474a06cac
Arkady

"Arkady Frenkel" <arkadyf@hotmailxdotx.com> wrote in message
news:eRjH%23ReRHHA.1200@TK2MSFTNGP04.phx.gbl...
> look for generic approach in "Sharing an Instance"
> http://msdn.microsoft.com/msdnmag/is...WCFEssentials/.
>
> Arkady
>
> "Graham Wright" <grahamwright@msn.com> wrote in message
> news:uZ%23dK%23ERHHA.4276@TK2MSFTNGP02.phx.gbl...
>>I would appreciate some architectural advice on chaining services.
>>
>> As an example I have two discrete services hosted in a single Windows
>> service.
>> For most of the time these services are accessed by clients to provide
>> non related functionality but in one case service A needs to call service
>> B in order to fulfil a client request.
>>
>> The obvious solution would be for service A to act as a standard client
>> of service B (Service Reference from Visual Studio etc) but this seems
>> inefficient as both services are hosted in the same process and
>> establishing a communications channel to effectively talk to yourself
>> seems unnecessary.
>>
>> Is there any way of services hosted in the same process chaining calls
>> without this overhead ?
>>

>
>



My System SpecsSystem Spec
 

Thread Tools
Display Modes



Similar Threads
Thread Thread Starter Forum Replies Last Post
Telenor Selects Microsoft Connected Services Framework to Facilitate Its Services Strategy z3r010 Vista News 0 12-06-2006 03:04 AM
Telenor Selects Microsoft Connected Services Framework to Facilitate Its Services Strategy z3r010 Vista News 0 12-05-2006 07:05 PM
Telenor Selects Microsoft Connected Services Framework to Facilitate Its Services Strategy z3r010 Vista News 0 12-05-2006 12:04 PM
Telenor Selects Microsoft Connected Services Framework to Facilitate Its Services Strategy z3r010 Vista News 0 12-04-2006 01:07 AM
Telenor Selects Microsoft Connected Services Framework to Facilitate Its Services Strategy z3r010 Vista News 0 12-03-2006 06:03 PM


Vistax64.com 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 2005-2008

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 47 48 49 50 51