Questions tagged [serviceclient]
8 questions
2
votes
1 answer
Using ServiceStack's ServiceClient
I got recommended in another thread that I should use ServiceClient when using
a ServiceStack API.
I would like to create a template function that can post any type of objects like this:
public Post2(object: T, url: string,…

Atle Kristiansen
- 707
- 7
- 28
1
vote
1 answer
Dataverse.ServiceClient fails to connect to Dynamics with "Failed to lookup current organization data"
I have a problem with my .NET Core 3.1 application that connects to Dynamics. The error occurs when connecting to dynamics using the ServiceClient class, but it does not happen all the time and is not random. I am having trouble pinpointing the…

CNAP
- 55
- 1
- 9
1
vote
1 answer
Cors configuration issues when using ServiceStacks JsonServiceClient
I have issues when trying to Post data to my API using ServiceStack's JsonServiceClient.
I get the following error message in the console
Access to fetch at 'https://192.168.10.191:5001/json/reply/CreateEquipment' from origin…

Atle Kristiansen
- 707
- 7
- 28
0
votes
0 answers
ServiceClient - D365 Organisational Service - AADSTS50196: The server terminated an operation because it encountered a client request loop
I am using a function app (new to me as well as the ServiceClient) to import data into D365 Online from a simple sharepoint excel file. The idea is that this function app will allow multiple creations.
I am using DI and trying to increase the…

TheNerdyNerd
- 237
- 2
- 9
0
votes
0 answers
How to subscribe laserscan topic using ros service?
I have a task to complete using ros service. The task is when the service is called, the robot must perform the following behavior:
Identify which laser ray is the shortest one. Assume that this is the one pointing to a wall.
Rotate the robot until…

AmirulJ
- 118
- 1
- 11
0
votes
0 answers
How to invoke IoTHub device methods or get IoTHubConnectionString using Device Provisioning Service Client (Not Device Provisioning Device Client)?
I can invoke device methods using ServiceClient (Microsoft.Azure.Devices.ServiceClient) from a function app in azure. That require IoTHubConnectionString being directly used when building the ServiceClient. However, this is the wrong approach…

hafij
- 208
- 2
- 10
0
votes
0 answers
Microsoft.PowerPlatform.Dataverse.Client ServiceClient Caching issues with MaxRetryCount and RetryPauseProperty
I have recently migrated from Microsoft.Xrm.Tooling.Connector to Microsoft.PowerPlatform.Dataverse.Client as part of .NET 6 migration, and updated all the references from CRMServiceClient to ServiceClient as mentioned in the below…

Bharath Anumula
- 49
- 9
0
votes
0 answers
How to use Guzzle 6 to retrieve paged data from an endpoint?
We need to be able to retrieve all pages of Groups data via the Discourse API (https://docs.discourse.org). We're using Guzzle 6, and it would seem to be possible to use the promises system that is part of Guzzle's ServiceClient class to retrieve…

mpemburn
- 2,776
- 1
- 35
- 41