Results 1 to 3 of 3

Thread: Using Ice.Config in Silverlight case

  1. #1
    JvD
    JvD is offline Registered User
    Name: Joost van Doorn
    Organization: Moba
    Project: Main Control Software
    Join Date
    Dec 2008
    Posts
    22

    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

  2. #2
    michi's Avatar
    michi is offline Registered User
    Name: Michi Henning
    Organization: Triodia Technologies
    Project: I have a passing interest in Ice :-)
    Join Date
    Feb 2003
    Location
    Brisbane, Australia
    Posts
    1,055
    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.

  3. #3
    xdm's Avatar
    xdm
    xdm is online now ZeroC Staff
    Name: Jose Gutierrez de la Concha
    Organization: ZeroC, Inc.
    Project: Ice Developer
    Join Date
    Sep 2003
    Location
    La Coruņa, Spain
    Posts
    588
    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.
    Last edited by xdm; 01-09-2009 at 09:42 AM. Reason: spelling

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. A case study of ICE
    By OrNot in forum Comments
    Replies: 3
    Last Post: 03-13-2010, 08:03 AM
  2. Consuming threads in case difficulties
    By Oleh Babyak in forum Help Center
    Replies: 1
    Last Post: 09-02-2009, 08:41 AM
  3. Replies: 2
    Last Post: 09-22-2006, 09:39 AM
  4. set config properties w/o config file
    By dkey in forum Help Center
    Replies: 3
    Last Post: 05-08-2005, 05:27 AM
  5. icepackregistry --Ice.Config=config
    By catalin in forum Help Center
    Replies: 1
    Last Post: 10-28-2003, 04:38 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •