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.

xServer .NET Mapcontrol with proxy

Postby KasperD » Mon Nov 12, 2018 10:08 am

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,
KasperD
 
Posts: 11
Joined: Tue Jun 17, 2014 8:15 am

Re: xServer .NET Mapcontrol with proxy

Postby Oliver Heilig » Tue Nov 13, 2018 7:53 am

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/
User avatar
Oliver Heilig
 
Posts: 127
Joined: Tue May 13, 2014 12:10 pm
Location: Karlsruhe, Germany

Re: xServer .NET Mapcontrol with proxy

Postby KasperD » Tue Nov 13, 2018 7:55 am

Oliver,

Thanks, i'll forward the info to the customer :)
KasperD
 
Posts: 11
Joined: Tue Jun 17, 2014 8:15 am


Return to PTV xServer.NET (Admin=OH)

cron