Results 1 to 10 of 13

Hybrid View

  1. #1
    Power Member
    Join Date
    Jul 2006
    Location
    Cesano Maderno, Italy
    Posts
    784
    Hi,

    that's an issue with Silverlight. The problem is that if the silverlight engine does not receive the clientaccesspolicy.xml file the fist time it tries to download it, then it will never try again to download it assuming that it has no permission to connect (you can see that if the server is down the exception thrown is security related).
    A workaround could be to have some aliases for the server machine and then, if a connection fails due to security problems, try with a different alias.

    HTH

  2. #2
    Member
    Join Date
    May 2010
    Location
    Pisa
    Posts
    10
    Hi Mone,

    Thanks for your answer... I suspected as much, since I observed that in the faulty case, no requests were sent from the Silverlight API on the net.

    However, googling around I found this post
    http://forums.silverlight.net/forums...93/263003.aspx

    At the very bottom, it is stated that the bug has been fixed in Silverlight 4 RC, so I'd expect the fix to be in the RTM version.

    Will a Lightstreamer API that targets Silverlight 4 be released?

    Regards,
    Emilio Bova

  3. #3
    Administrator
    Join Date
    Jul 2006
    Location
    Milan, Italy
    Posts
    521
    Emilio,

    Thanks for pointing out that link.

    Regarding Silverlight 4, we will be running some tests with Lightstreamer in the next few weeks. By the way, have you already had a chance to test our current API against Silverlight 4?

    Ciao e grazie,
    Alessandro

  4. #4
    Member
    Join Date
    May 2010
    Location
    Pisa
    Posts
    10
    Quote Originally Posted by Alessandro
    Emilio,

    Thanks for pointing out that link.

    Regarding Silverlight 4, we will be running some tests with Lightstreamer in the next few weeks. By the way, have you already had a chance to test our current API against Silverlight 4?

    Ciao e grazie,
    Alessandro
    Not yet, but I'll be doing it (hopefully) soon.
    I'll post an update as soon as I have news.

    Grazie,
    Emilio Bova

  5. #5
    Member
    Join Date
    May 2010
    Location
    Pisa
    Posts
    10
    Hi,

    I did some tests with a Silverlight 4 application, Lightstreamer server 3.6 build 1463, SL API 1.2.0.0.

    It appears that the client is able to reconnect to the server even if the very first attempt fails, but not always. I did not thoroughly debug the failing cases, but, given the results, I suspect the cause might lie in the Lightstreamer SL API and not in the SL framework.

    Going back to my other original question, do you plan to port LSProxy class' functionalities to Silverlight API?

    Ciao,
    Emilio Bova

  6. #6
    Member
    Join Date
    May 2010
    Location
    Pisa
    Posts
    10
    Just to add some new info.
    I fixed a couple of problems in my code and reconnection after first failure has never failed again since then.

    Ciao,
    Emilio Bova

  7. #7
    Administrator
    Join Date
    Jul 2006
    Location
    Milan, Italy
    Posts
    521
    Emilio,

    The current plan is to enhance the Silverlight Demo to show how to manage automatic reconnections and resubscriptions, rather than porting the LSProxy class.

  8. #8
    Member
    Join Date
    Mar 2010
    Location
    LA
    Posts
    2
    Quote Originally Posted by emiliob
    Just to add some new info.
    I fixed a couple of problems in my code and reconnection after first failure has never failed again since then.

    Ciao,
    Emilio Bova
    Hi Emilio
    Can you share any code sample with us that describes how to perform auto reconnect using SL SDK?

  9. #9
    Power Member
    Join Date
    Jul 2006
    Location
    Cesano Maderno, Italy
    Posts
    784
    Quote Originally Posted by Alessandro
    Regarding Silverlight 4, we will be running some tests with Lightstreamer in the next few weeks. By the way, have you already had a chance to test our current API against Silverlight 4?
    I ran some tests with Silverlight 4 and I confirm that the current library is already compatible with the Silverlight 4 SDK

 

 

Similar Threads

  1. Replies: 7
    Last Post: June 14th, 2012, 08:35 AM
  2. Which is the better fail over mechanisam
    By dimitarn in forum General
    Replies: 3
    Last Post: March 30th, 2010, 11:13 AM
  3. Fail-Over
    By wwatts in forum Client SDKs
    Replies: 1
    Last Post: January 7th, 2010, 09:45 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
All times are GMT +1. The time now is 10:42 AM.