| Contents | Index |
| On this page… |
|---|
Remotable .NET components allow you to access MATLAB functionality remotely, as part of a distributed system consisting of multiple applications, domains, browsers, or machines.
To create a remotable component, you must first create the component and then enable others to access it.
There are many reasons to create remotable components:
Cost savings — Changes to business logic do not require you to roll out new software to every client. Instead, you can confine new updates to a small set of business servers.
Increased security for Web applications — Implementing .NET Remoting allows your database, for example, to reside safely behind one or more firewalls.
Software Compatibility — Using remotable components, which employ standard formatting protocols like SOAP (Simple Object Access Protocol), can significantly enhance the compatibility of the component with libraries and applications.
Ability to run applications as Windows services — To run as a Windows service, you must have access to a remoteable component hosted by the service. Applications implemented as a Windows service provide many benefits to application developers who require an automated server running as a background process independent of a particular user account.
Flexibility to isolate native code binaries that were previously incompatible — Mix native and managed code (such as the MATLAB Compiler Runtime) without restrictions.
You generate native .NET objects using .NET Remoting and native .NET types using WCF.
What's the difference between these two technologies and which should you use?
WCF is an end-to-end Web Service. Many of the advantages afforded by .NET Remoting—a wide selection of protocol interoperability, for instance—can be achieved with a WCF interface, in addition to having access to a richer, more flexible set of native data types. .NET Remoting can only support native objects.
WCF offers more robust choices in most every aspect of Web-based development, even implementation of a Java client, for example.
![]() | .NET Remoting | Your Role in Building Distributed Applications | ![]() |

Includes the most popular MATLAB recorded presentations with Q&A sessions led by MATLAB experts.
| © 1984-2012- The MathWorks, Inc. - Site Help - Patents - Trademarks - Privacy Policy - Preventing Piracy - RSS |