"David" <Da***@discussions.microsoft.comwrote in message
news:59**********************************@microsof t.com...
Does WCF bring anything to the table in regard to using .NET types with
Web
Services?
No.
"Web Services" is a shorthand for "XML Web Services". It's about sending XML
back and forth, not about sending objects of some .NET-specific type.
In thinking about this subject, ask yourself: what if the client were
written in Java? In JavaScript? In VB6? In Unix Shell Script?
Web Services are meant to be general enough to handle clients of all of
these kinds. But the downside is that it knows nothing at all about types.
Any
such knowledge is the result of a hack - either a customer hack, or a
Microsoft hack. If you don't want your application to be dependent on hacks,
then don't use them. Instead, understand what Web Services are and what they
are not.
..NET Remoting, on the other hand, has little or no interest in being
cross-platform. It is all about remoting .NET types.
My general suggestion is that if cross-platform is off the table, then use
..NET Remoting.
If cross-platform is _on_ the table, either now or in the future, then use
Web Services but understand that you're getting a facade over XML.
--
--------------------------------------------------------------------------------
John Saunders | MVP – Windows Server System – Connected System Developer