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 - equiv to MBR

 
 
Old 02-21-2007   #1 (permalink)
William Stacey [C# MVP]


 
 

equiv to MBR

Is there an equiv to remoting's MBR type? I think MBV is pretty much same
as [DataContract]. I have Job object on server. Service will contain Jobs.
With remoting I create Job object at the server and use MBR so the client
and see the Job objects and call their methods. How would I do same with
WCF? Should I keep my Job objects private and convert to some new
DataContract type for wire transfer to and from client? tia

--
William Stacey [C# MVP]
PCR concurrency library: www.codeplex.com/pcr
PSH Scripts Project www.codeplex.com/psobject




My System SpecsSystem Spec
Old 03-01-2007   #2 (permalink)
Vadym Stetsyak


 
 

Re: equiv to MBR

Hello, William!

AFAIK there is no such equivalent in WCF.

You can design WCF service so, that client can manage server Job objects.

It can look like this

interface IJobManager
{
JobState GetJobState(...);
JobId CreateNewJob(...);
JobResult GetJobResut(jobId, ....);
//other manage methods
}

The idea is that you only transfer commands and results but not the Job
objects itself.

You wrote on Wed, 21 Feb 2007 15:01:44 -0500:

WSC> Is there an equiv to remoting's MBR type? I think MBV is pretty much
WSC> same as [DataContract]. I have Job object on server. Service will
WSC> contain Jobs. With remoting I create Job object at the server and use
WSC> MBR so the client and see the Job objects and call their methods. How
WSC> would I do same with WCF? Should I keep my Job objects private and
WSC> convert to some new DataContract type for wire transfer to and from
WSC> client? tia


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


My System SpecsSystem Spec
Old 03-08-2007   #3 (permalink)
William Stacey [C# MVP]


 
 

Re: equiv to MBR

Got ya. Thanks Vadym.

--
William Stacey [C# MVP]
PCR concurrency library: www.codeplex.com/pcr
PSH Scripts Project www.codeplex.com/psobject


"Vadym Stetsyak" <vadym_s@ukr.net> wrote in message
news:eHkQf79WHHA.4028@TK2MSFTNGP04.phx.gbl...
| Hello, William!
|
| AFAIK there is no such equivalent in WCF.
|
| You can design WCF service so, that client can manage server Job objects.


My System SpecsSystem Spec
 

Thread Tools


Similar Threads
Thread Forum
Moving the Vista equiv. of "My Docs" to "F" drive Vista file management
grep -r equiv PowerShell
unix equiv wc -l and /dev/null PowerShell
sfc /scannow or equiv in Vista? Vista performance & maintenance


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