xServer .NET Mapcontrol with proxy

Within this forum we want to offer discussions all around our .NET based Map control including all .Net-language specific questions concerning calls of the xServer-API. Attention: xServer-relevant concepts can be found in further forums such as xRoute or xTour.
Post Reply
KasperD
Posts: 14
Joined: Tue Jun 17, 2014 8:15 am

xServer .NET Mapcontrol with proxy

Post by KasperD »

Dear all,

One of our customers is using a proxy for all outbound connections within its organization. They've already managed to configure xRoute server to use the proxy for calculation, and they also wish to configure the xServer .NET Mapcontrol to use this proxy. However, they're struggling with the configuration for this and so am I.

Is there any way to do this?

Thanks in advance,
User avatar
Oliver Heilig
Posts: 160
Joined: Tue May 13, 2014 12:10 pm
Location: Karlsruhe, Germany
Contact:

Re: xServer .NET Mapcontrol with proxy

Post by Oliver Heilig »

Hello,

we don't have a way to set a proxy for the requests the control makes explicitly. The control uses the default proxy settings of the system, which is the configuration used for IE.

However you could configure a global proxy inside the app.config of the program

https://docs.microsoft.com/en-us/dotnet ... k-settings

I haven't tested this, but it should work with the control also. If not, please add an issue here https://github.com/ptv-logistics/xserver.net/issues

Oli
Oliver Heilig
Chief Developer Logistic Services
PTV GROUP - Germany

https://github.com/oliverheilig/
KasperD
Posts: 14
Joined: Tue Jun 17, 2014 8:15 am

Re: xServer .NET Mapcontrol with proxy

Post by KasperD »

Oliver,

Thanks, i'll forward the info to the customer :)
User avatar
Bernd Welter
Site Admin
Posts: 2695
Joined: Mon Apr 14, 2014 10:28 am
Contact:

Re: xServer .NET Mapcontrol with proxy

Post by Bernd Welter »

did it work ;-) ?

I Was asked something similar by another partner today - thank god we have the forum!
Bernd Welter
Technical Partner Manager Developer Components
PTV Logistics - Germany

Bernd at... The Forum,LinkedIn, Youtube, StackOverflow
I like the smell of PTV Developer in the morning... :twisted:
Post Reply