Slowdown without internet

6 posts, 1 answers
  1. Jason D
    Jason D avatar
    82 posts
    Member since:
    Jan 2011

    Posted 14 Jun Link to this post

    Greetings. I'm using 2014.3.1202.45, so it's possible this is already fixed. If the computer has a network connection, but the internet is not working, there is a delay of a few seconds when initializing the map. This happens when calling Map.Providers.Insert. If there is no network connection at all, this problem does not happen. Is there a way to shorten or eliminate this delay from my side or in the code?
  2. Answer
    Dinko
    Admin
    Dinko avatar
    416 posts

    Posted 19 Jun Link to this post

    Hello Jason,

    Thank you for contacting us.

    We weren't able to reproduce this behavior. It will be great if you can send us isolated project from your application which demonstrates this behavior. This way we can directly test it on our side. 

    You can try downloading the latest version of our controls and check again if this behavior still appears.

    Regards,
    Dinko
    Progress Telerik
    Want to extend the target reach of your WPF applications, leveraging iOS, Android, and UWP? Try UI for Xamarin, a suite of polished and feature-rich components for the Xamarin framework, which allow you to write beautiful native mobile apps using a single shared C# codebase.
  3. Jason D
    Jason D avatar
    82 posts
    Member since:
    Jan 2011

    Posted 19 Jun Link to this post

    I tried with the latest version and the problem appears to be much worse. It's not a specific sample project, it's how you test it. It took me awhile to find the right settings. For the sample project, just create a new project with a BingRestMapProvider using a Road map and your key. Nothing else needs to be done.

    I used a virtual machine, but any machine will do. Change the TCP v4 properties for the network adapter to have fake settings for the address, gateway, and DNS. Starting the sample project will take 20-30 seconds.

    If I use an OpenStreetMap provider, the software will open instantly.

  4. Petar Mladenov
    Admin
    Petar Mladenov avatar
    2986 posts

    Posted 22 Jun Link to this post

    Hi Jason,

    There is no obvious reason your application to load so much time. You can try using JustTrace / other performance profiler, or try to pause the VS main thread in order to check / inspect problematic methods.
    We made another test, following your instructions - edit the TCP / IP setting to stop the internet connection - RadMap loads for less than a second. We can prepare a vide of this test if you think it might be useful.
    Can you test disabling all kind of firewalls / proxy servers at your side ?

    Regards,
    Petar Mladenov
    Progress Telerik
    Want to extend the target reach of your WPF applications, leveraging iOS, Android, and UWP? Try UI for Xamarin, a suite of polished and feature-rich components for the Xamarin framework, which allow you to write beautiful native mobile apps using a single shared C# codebase.
  5. Jason D
    Jason D avatar
    82 posts
    Member since:
    Jan 2011

    Posted 22 Jun Link to this post

    Weird. No proxies here and can't turn off the firewall. I will test at home where I can unplug the internet. The reason I'm looking into this is because our internet went out one day and the maps were very slow to load. In that case, everything was obviously configured correctly, there was just no internet.
  6. Jason D
    Jason D avatar
    82 posts
    Member since:
    Jan 2011

    Posted 23 Jun in reply to Jason D Link to this post

    Retested at home with the new version and no internet and it is working properly while the old one does not. Previously I may have still been using the old DLL's; not sure. I'll see about getting approval to upgrade. Thanks!
Back to Top