I've accessed a few services with a ServiceFeatureTable, but I've come across one that just doesn't behave. When executing the following VB fragment, the Await just hangs. No CPU activity and app is unresponsive. Am I accessing it correctly?
Dim sft_SA4 As New ServiceFeatureTable(New Uri("https://geo.abs.gov.au/arcgis/rest/services/ASGS2021/SA4/MapServer/0"))
Await sft_SA4.LoadAsync
Solved! Go to Solution.
It's fixed, and it was a bit of a bizarre cause.
I noticed that every time I launched Visual Studio, it decided to restore NuGet packages. This caused an unnecessary 30 sec delay each time.
So I cleared the NuGet cache. When I started VS, it then complained that two packages were missing - system.runtime.compilerservices.unsafe and system.text.encodings.web. No idea where they went, but I reinstalled them, and all is now good.
Can you share more details about:
It's fixed, and it was a bit of a bizarre cause.
I noticed that every time I launched Visual Studio, it decided to restore NuGet packages. This caused an unnecessary 30 sec delay each time.
So I cleared the NuGet cache. When I started VS, it then complained that two packages were missing - system.runtime.compilerservices.unsafe and system.text.encodings.web. No idea where they went, but I reinstalled them, and all is now good.