How to use PTV mapping APIs in a .NET6 Winform project?

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
User avatar
Bernd Welter
Site Admin
Posts: 2574
Joined: Mon Apr 14, 2014 10:28 am
Contact:

How to use PTV mapping APIs in a .NET6 Winform project?

Post by Bernd Welter »

Hi Oli,

a user commented on this video recently:
Is it possible to use it in a .net6 winform project?
Is there any example?
Thank you.
Could you give us some guidance on how to achieve this? Maybe from a generic perspective?

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

Re: How to use PTV mapping APIs in a .NET6 Winform project?

Post by Oliver Heilig »

.NET 5/6 means .NET Core. The xServer control is .NET Framework only.
Oliver Heilig
Chief Developer Logistic Services
PTV GROUP - Germany

https://github.com/oliverheilig/
User avatar
Bernd Welter
Site Admin
Posts: 2574
Joined: Mon Apr 14, 2014 10:28 am
Contact:

Re: How to use PTV mapping APIs in a .NET6 Winform project?

Post by Bernd Welter »

Just found these articles from 2021:
https://xserver.ptvgroup.com/forum/view ... core#p4223
https://xserver.ptvgroup.com/forum/view ... f=5&t=1082

So the conclusions would be:
  • go for a browser control based integration
  • evaluate dedicated .NET Core mapping controls from third parties
  • not recommended: evaluate the inofficial fork at your own risk
Right?
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:
User avatar
Oliver Heilig
Posts: 154
Joined: Tue May 13, 2014 12:10 pm
Location: Karlsruhe, Germany
Contact:

Re: How to use PTV mapping APIs in a .NET6 Winform project?

Post by Oliver Heilig »

Exactly!
Oliver Heilig
Chief Developer Logistic Services
PTV GROUP - Germany

https://github.com/oliverheilig/
Post Reply