Silverlight (RemObjects SDK)
Silverlight is a new framework (2.0 beta2 at the time of writing) to host flash like applications inside a browser that are built with .NET, using any .NET capable language like C# or Oxygene. Silverlight applications use a subset of the full WPF/XAML framework for their visual interfaces and are generally run from within the browser.
NOTE: Due to the requirement of Silverlight, that all calls have to be non-blocking, we also introduced Asynchronous Calls in the SDK for .NET with this version. In Silverlight projects, only the asynchronous versions of service calls are supported.
The RemObjects SDK for .NET Silverlight libraries supports the JSON and BinMessage message types, as well as the WinInetHttp channel. The WinInetHttp channel uses the WebRequest/WebResponse classes underneath, which will leverage the web browser's internal classes and it's proxy settings for any connections made.
To start using RemObjects SDK in a Silverlight application, just add a reference to the ROSDK Silverlight dlls (they're located in the Install directory under Bin\Silverlight). Then the RemObjects SDK menu can be used to import a RODL file and create an interface file for the service, and the service can be used. Note that only the async interface will be usable under Silverlight, requiring that all callbacks are asynch and that the callback will most likely be run in another thread and will require synchronization to access the GUI.
Once Silverlight 2.0 is final, we will also provide project templates and improved IDE integration for Silverlight for the 'Import RODL' menu.
By default, a Silverlight application can only access the current server it's hosted on (checked by url, port, path and protocol). A security exception will block calls outside that, unless the target host has a ClientAccessPolicy.xml. See MSDN for more information on this subject. The RemObjects SDK HTTP servers have a new property called SendClientAccessPolicyXml, that can be used to enable servers to send this file automatically.