Skip to content

Silverlight considerations

yfakariya edited this page May 27, 2012 · 1 revision

MessagePack-RPC for CLI supports browser-hosted, partially trusted environment. However, you have following three restrictions.

  1. DynamicRpcProxy cannot be used because Silverlight does not support DLR. Use RpcClient directly with method name and MessagePackObject[] type arguments.
  2. The port number must be between 4502 and 4534, inclusive.
  3. The server must provides policy XML file which describes that raw TCP access from the application is allowed. The policy provider server must listen TCP port 932 and returns policy XML file to fixed request string "".

For more details, see MSDN documentation.

Note that if the application is running on fully trusted mode, above two restrictions are not applied.

Clone this wiki locally