Select to view content in your preferred language

Here are some solution to unanswered questions

458
0
10-21-2010 02:02 AM
MarioVernari
Emerging Contributor
Hi everybody.
I'd thank the ESRI team for the effort making the library, but I'd also appreciate if someone tries to give an answer to the customer, otherwise the product may fail.
I'm using WPF, not SL, and this is important, since most of the people is focusing on the web, maybe losing some desktop problem alone.
Consider the simplest ArcGis street map application based on WPF.

The first problem I had is a tedious delay (2-3 seconds) every time the app starts: regular on two different machines, two different workplaces. Apparently no cpu load, no network trasfer: what else?
After asking the staff twice some help (no answer), I must choose whether considering this APIs or something else.
Finally, the suspect was about the proxy for the web requests, being different among desktop and browser. Gotcha!
In case you haven't any proxy, then you should disable the automatic proxy detection offered by Windows. Read on MSDN how to configure it.
In my case, I've simply disabled the proxy auto-config, setting to null when the application starts.

            WebRequest.DefaultWebProxy = null;


The second problem regards Visual Studio 2010 (both express and pro).
The app runs okay, then after you shut the application down, the VS IDE remains in a deadlock state (I suppose) forever. No interaction, but the app is dead (task manager).
This is a "bug" of VS 2010, because I've noticed that it happens only when the foreground code page is the xaml view, instead a normal C# code.

I hope to help somebody had similar problems.
Cheers
Mario
0 Kudos
0 Replies