Archived

This forum has been archived. Please start a new discussion on GitHub.

Using Ice.Config in Silverlight case

In my WinForms client application I use the --Ice.Config at the commandline to specify the Ice parameters to use.
My Silverlight version of the client application can not use the commandline options (the file is outside the Silverlight sandbox).

How can I use a file with Ice parameters in the Silverlight case?


Joost van Doorn

Comments

  • You can't use a file outside the sandbox. I believe the only option is to set the properties on the command line or to set them programmatically from inside your program.

    Cheers,

    Michi.
  • xdm
    xdm La Coruña, Spain
    Other option is use ScriptableMethods as we do with ChatDemo, the properties are defined in JavaScript code and passed to the application throw a ScripTable method.

    The advantage is that you don't need to recompile Silverlight applications for change properties as they are externalized to JavaScript code that you can change on the fly.